CI/CD framework for the Glider aggreagator is based on the GitHub actions features.
- push
- pull_request (and also PR synchronize)*
- pull_request_review
- scheduler events
(*) note: Workflow configuration should include PULL_REVIEWERS configuration (semicolon-separated list of usernames) that can be the only chosen from the collaborators
These secrets have to be defined in the repository environment:
NOW_TOKEN: Zeit Now API tokenNOW_PROJECT_ID: can be obtained from the./now/project.jsonNOW_ORG_ID: can be obtained from the./now/project.jsonGH_TOKEN_EXT: GitHub API token with following access rights: notifications, read:packages, repo, user, workflow, write:discussion, write:packages
push events handling is managed by the unit.yml workflow
pull_request events handling is managed by the integration.yml workflow
pull_request_review events handling is managed by the reviews.yml workflow
developbranch is linked to thestagingenvironmentmasterbranch is linked to theproductionenvironment
- A PR from developer's fork to
developcreate a temporarypreviewenvironment (one per PR) - Once the PR is merged, this environment is promoted to
staging - A PR from
stagingtomastercreates arelease candidateenvironment - A merge or push in
masterpromotes the release candidate to production