-
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
[ETL-407] Add integration tests for prod/staging #61
Conversation
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.
🔥 awesome!
@@ -10,6 +10,8 @@ env: | |||
PYTHON_VERSION: 3.9 | |||
DEV_INPUT_BUCKET: recover-dev-input-data | |||
DEV_PROCESSED_BUCKET: recover-dev-processed-data | |||
PROD_INPUT_BUCKET: recover-input-data | |||
PROD_PROCESSED_BUCKET: recover-processed-data |
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 this being used?
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, I was just mirroring the lines above. Probably we will never need it.
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.
LGTM! Just one comment
@@ -313,3 +315,41 @@ jobs: | |||
|
|||
- name: Deploy sceptre stacks to staging on prod | |||
run: pipenv run sceptre --var "namespace=staging" launch prod --yes | |||
|
|||
|
|||
integration-test-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.
Should we have a section for if: github.ref_name == 'main'
since we'd be only deploying when a feature gets merged into main?
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.
Nevermind, it requires sceptre-deploy-staging
which already has that
Submits all production data to the staging namespace's pipeline if the github ref is main.