diff --git a/.github/workflows/_osdc-deploy.yml b/.github/workflows/_osdc-deploy.yml index 36bda0ff..1cf9a793 100644 --- a/.github/workflows/_osdc-deploy.yml +++ b/.github/workflows/_osdc-deploy.yml @@ -17,11 +17,21 @@ on: required: false type: boolean default: true + run_smoke: + description: "Run smoke tests after deploy" + required: false + type: boolean + default: true run_integration: description: "Run integration tests after deploy (requires CANARY_GITHUB_TOKEN)" required: false type: boolean default: true + run_compactor: + description: "Run compactor e2e tests after deploy" + required: false + type: boolean + default: true skip_lint_test: description: "Skip `just lint` and `just test` pre-flight checks (firefighting only)" required: false @@ -91,6 +101,7 @@ jobs: smoke: name: Smoke tests needs: deploy + if: ${{ inputs.run_smoke }} runs-on: ubuntu-latest environment: ${{ inputs.environment }} timeout-minutes: 30 @@ -125,6 +136,7 @@ jobs: compactor: name: Compactor e2e tests needs: deploy + if: ${{ inputs.run_compactor }} runs-on: ubuntu-latest environment: ${{ inputs.environment }} timeout-minutes: 30 diff --git a/.github/workflows/osdc-deploy-prod.yml b/.github/workflows/osdc-deploy-prod.yml index ec200d7f..ebf51228 100644 --- a/.github/workflows/osdc-deploy-prod.yml +++ b/.github/workflows/osdc-deploy-prod.yml @@ -34,9 +34,9 @@ jobs: environment: osdc-production taint_nodes: ${{ inputs.taint_nodes }} skip_lint_test: ${{ inputs.skip_lint_test }} - # Integration tests target pytorch-canary via CANARY_GITHUB_TOKEN — - # they don't belong in a prod deploy. Always skip. - run_integration: false + run_smoke: false + run_compactor: false secrets: META_AWS_ACC_ID: ${{ secrets.META_AWS_ACC_ID }} META_AWS_DEPLOY_ROLE: ${{ secrets.META_AWS_DEPLOY_PROD_ROLE }} + CANARY_GITHUB_TOKEN: ${{ secrets.CANARY_GITHUB_TOKEN }}