-
Notifications
You must be signed in to change notification settings - Fork 4k
feat(root): new deployment and rollback action #8126
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
base: next
Are you sure you want to change the base?
Conversation
… repository prefix
…ment and production builds
…deployment matrix
…dling in deployment workflow
…nd adjust repository prefix
…e ECS deployment steps
…ate environment description
…f input for clarity
if [ "${{ github.event.inputs.environment }}" == "development" ]; then | ||
envs+=("\"development\"") | ||
if [ "${{ github.event.inputs.environment }}" == "staging" ]; then | ||
envs+=("\"staging-eu\"") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have staging-eu?
@@ -76,26 +110,70 @@ jobs: | |||
services+=("\"webhook\"") | |||
fi | |||
|
|||
# Parse service secrets and generate deploy_matrix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where will we see those matrices? 👏
outputs: | ||
docker_image: ${{ steps.build-image.outputs.IMAGE }} | ||
registry: ${{ steps.build-image.outputs.registry }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it common to call an image as registry?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where are the vars
defined?
This pull request includes significant updates to the deployment workflow and Dockerfile configurations. The changes primarily focus on improving the deployment process by modifying environment settings, introducing new matrices, and updating Dockerfile bases.
Workflow Improvements:
.github/workflows/deploy.yml
: Changed the default environment from 'development' to 'staging' and updated environment options. Removed question marks from descriptions..github/workflows/deploy.yml
: Addeddeploy_matrix
andnr_matrix
to the outputs and steps for generating these matrices..github/workflows/deploy.yml
: Introduced steps to parse service secrets and generatedeploy_matrix
..github/workflows/deploy.yml
: Modified the build step to use the newregistry
output and updated the Docker build process..github/workflows/deploy.yml
: Added new jobs for Sentry release, New Relic release, and syncing state to Novu.Dockerfile Updates:
apps/api/Dockerfile
: Switched the base image fromnode:20-alpine3.19
toghcr.io/novuhq/novu/base:1.0.0
.apps/worker/Dockerfile
: Added new lines for better readability and consistency.apps/ws/Dockerfile
: Changed the base image toghcr.io/novuhq/novu/base:1.0.0
and adjusted the file copy commands. [1] [2]