-
Notifications
You must be signed in to change notification settings - Fork 3
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
chore: configure e2e tests to run against staging before prod can deploy #1012
Conversation
…zuckerberg/single-cell-explorer into hspitzley/e2e_tests_against_staging
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
prod_stack_upsert: | ||
runs-on: [ARM64, self-hosted, Linux] | ||
permissions: | ||
id-token: write | ||
contents: read | ||
id-token: write | ||
issues: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Upsert Prod Stack | ||
uses: chanzuckerberg/argus-artifacts/ci/packages/create-stack@v0.19.1 | ||
uses: chanzuckerberg/argus-artifacts/ci/packages/create-stack@v0.23.0 |
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.
upgrade, not related to e2e tests
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
create-rdev-stack: | ||
runs-on: [ARM64, self-hosted, Linux] | ||
if: contains(github.event.pull_request.labels.*.name, 'stack') | ||
permissions: | ||
id-token: write | ||
contents: read | ||
id-token: write | ||
issues: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Create Stack | ||
uses: chanzuckerberg/argus-artifacts/ci/packages/create-stack@v0.19.1 | ||
uses: chanzuckerberg/argus-artifacts/ci/packages/create-stack@v0.23.0 |
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.
upgrade, not related to e2e tests
id-token: write | ||
issues: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Delete Stack | ||
uses: chanzuckerberg/argus-artifacts/ci/packages/delete-stack@v0.19.1 | ||
uses: chanzuckerberg/argus-artifacts/ci/packages/delete-stack@v0.23.0 |
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.
upgrade, not related to e2e tests
|
||
steps: | ||
- name: Upsert Staging Stack | ||
uses: chanzuckerberg/argus-artifacts/ci/packages/create-stack@v0.19.1 | ||
uses: chanzuckerberg/argus-artifacts/ci/packages/create-stack@v0.23.0 |
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.
upgrade, not related to e2e tests
waitForDeploymentSeconds: 300 | ||
|
||
- name: Wait for Stating Stack to become Healthy | ||
id: wait | ||
uses: chanzuckerberg/argus-artifacts/ci/packages/[email protected] | ||
with: | ||
appName: single-cell-explorer | ||
envName: staging | ||
staging_smoke_test: | ||
uses: ./.github/workflows/workflow-smoke-test.yaml | ||
needs: staging_stack_upsert | ||
secrets: inherit | ||
with: | ||
env: stage |
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.
wait for healthy staging deployment and then run smoke tests against it
@@ -0,0 +1,61 @@ | |||
name: Smoke Test |
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.
copied from .github/workflows/deploy-happy-stack.yml
and made into a reusable workflow so it can easily be invoked for staging and prod
No description provided.