-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Staging deployments #358
feat: Staging deployments #358
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more Footnotes
|
9955a1c
to
a2c1748
Compare
…-workflows-for-different-env
282454e
to
a293ed2
Compare
…-workflows-for-different-env
…v type in env list view
Can be added later on but staging deployment setup information should be added into the documentation as well |
… deployment state within release candidate table
Motivation
This PR introduces support for staging deployments directly from the release page, allowing better testing workflow and deployment management across different environments.
Description
Database Schema Changes
workflow
table:label
column to support new environment values:NONE
TEST_SERVER
STAGING_SERVER
PRODUCTION_SERVER
type
column toenvironment
table:TEST
,STAGING
,PRODUCTION
TEST
The logic to find a deployment workflow has changed and requires a deployment environment as argument, to find deployment workflow for the specific environment.
This logic must be refactored in the future and we should think about how to reduce hardcoded values in our backend.
(Suggestion: for each environment save deployment workflow, and for the workflows save required inputs)
Debugging
Testing Instructions
Staging deployments rely on webhooks, so you will need to ensure your backend receives webhooks, you can configure your static ngrok domain with ngrok's guide and set the webhook in the Helios repository.
Prerequisites:
artemis-staging-localci.artemis.cit.tum.de
as Staging environmentmock-staging-deployment-helios.yml
as Staging server deployment environmentScreen.Recording.2025-02-15.at.19.47.52.mov
Checklist
General
Server
Client