-
Notifications
You must be signed in to change notification settings - Fork 54
Deployment
We use branches that point to a commit which should be deployed. Currently we have the following branches, which point to environments:
- devel (main branch of the repo), deployed with deployment-devel.yml to https://dev.ecamp3.ch
- staging, deployed with deployment-stage-prod.yml to https://staging.ecamp3.ch
- prod deployed with deployment-stage-prod.yml to https://app.ecamp3.ch
Devel is automatically deployed every 30 minutes, if there has been any change on the devel branch. To deploy a new version to the staging or prod environments, we create a PR from devel to staging, or from staging to prod. After the checks ran through and the required approvals are given, we use the fast-forward.yml action by adding a comment with the content: '/fast-forward'.
For the fast-forward action to work, we need the repository secret FAST_FORWARD_TOKEN which contains a
"Fine grained personal access token" which is attached to a person (currently @BacLuc).
This token can be revoked by the organization here: https://github.com/organizations/ecamp/settings/personal-access-tokens-onboarding
For this token we need to set an expiry date, the lifespan maximum is 1 year.
The current token will expire at 2025-11-03.
You can create such a token here: https://github.com/settings/tokens?type=beta, and the organization needs to approve the token then here:
https://github.com/organizations/ecamp/settings/personal-access-tokens-onboarding.
- Home
- Installation
- Domain Object Model
- API
- Design
- Localization and translations
- Architecture
-
Testing guide
- API testing (TBD)
- Frontend testing
- E2E testing (TBD)
- Deployment
- Debugging