Skip to content

Stuff for packages.groonga.org that provides packages for Groonga family

License

CC0-1.0, GPL-3.0 licenses found

Licenses found

CC0-1.0
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

groonga/packages.groonga.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This repository is for packages.groonga.org.

How to deploy

% sudo apt install -V ansible
% rake deploy

How to test

% sudo apt install -V vagrant ansible
% bundle install
% rake

How to add a new auto signing target

  1. Create a new team for release in the target organization
  2. Add groonga-release to the added team
  3. Add the added team to target project's collaborators with "Write" role
  4. Setup personal access tokens for the target organization
  5. Login to GitHub as groonga-release
  6. Create a new fine-grained personal access token at https://github.com/settings/personal-access-tokens
    • Token name: Project name: e.g. PGroonga
    • Resource owner: Target organization: e.g. pgroonga
    • Repository access: Only select repositories: e.g. pgroonga/pgroonga
    • Repository permissions:
      • Metadata: Read-only
      • Contents: Read and write: We need to upload signed artifacts to GitHub Releases
    • You must copy the generated token
  7. Add the generated token to ansible/vars/private.yml
    • e.g. Run rake private.yml and add packages.github_token.pgroonga with the copied generated token
  8. Approve the created fine-grained personal access token in the target organization
  9. Add ansible/templates/home/packages/.env.#{PROJECT}.jinja with GH_TOKEN={{ packages.github_token.#{PROJECT} }}
    • e.g. GH_TOKEN={{ packages.github_token.pgroonga }}
  10. Add the added .env.#{PROJECT}.jinja to ansible/playbook.yml
  11. Deploy by rake deploy
  12. Add a webhook to the target project

License

  • Codes in ansible/files/home/: GPLv3+
  • Others: CC0-1.0

See COPYING for GPLv3+ and LICENSE for CC0-1.0.

About

Stuff for packages.groonga.org that provides packages for Groonga family

Resources

License

CC0-1.0, GPL-3.0 licenses found

Licenses found

CC0-1.0
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published