-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Add Staging Web Pipeline #4108
Add Staging Web Pipeline #4108
Conversation
# This workflow contains a single job called "build" | ||
deploy_web: | ||
needs: test_web | ||
environment: Development |
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.
Shouldn't be Staging
?
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.
No, because it is the same as the dev env but with production specs.
REACT_APP_SENTRY_DSN: https://8054d521cff2e73d32b8edfe4793d05c@o1161119.ingest.sentry.io/4505829158158336 | ||
REACT_APP_ENVIRONMENT: dev | ||
REACT_APP_MAIL_SERVER_DOMAIN: staging.inbound-mail.novu.co | ||
REACT_APP_LAUNCH_DARKLY_CLIENT_SIDE_ID: ${{ secrets.DEV_LAUNCH_DARKLY_CLIENT_SIDE_ID }} |
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 need to add a secret called STAGING_LAUNCH_DARKLY_CLIENT_SIDE_ID
.
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.
Not at this time, the system is set up with the same variables as dev.
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.
I'd recommend not to do that as Launch Darkly provides the extra environment and we won't face the situations of someone touching the Dev env FF configuration and affecting staging, that as far as I remember we meant to have the closest situation as production for load testing and reliability testing. If I missed some of the nuances of the goal of Staging and it is meant to be a replica of Dev, we can go the way you suggest it. 👍🏻
Co-authored-by: Pablo Fernández <pablo@novu.co>
Co-authored-by: Pablo Fernández <pablo@novu.co>
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.
After what we discussed privately let's go with this configuration as we need to stress test the system as soon as possible.
This Pull Request adds a new pipeline to run and update novu's staging deployment for web.
Updates the same way as dev.