Manual Deployment to Infra #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Manual Deployment to Infra | |
on: | |
workflow_dispatch: | |
inputs: | |
environment: | |
type: choice | |
description: Durable environment to deploy to | |
required: true | |
options: | |
- dev | |
- qa | |
- tnet | |
- prod | |
tag: | |
type: string | |
description: Tag to deploy | |
required: true | |
default: latest | |
env: | |
AWS_REGION: ${{ secrets.AWS_REGION }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
DEPLOY_ENV: ${{ github.event.inputs.environment }} | |
DEPLOY_TAG: ${{ github.event.inputs.tag }} | |
steps: | |
- | |
uses: actions/checkout@v3 | |
- | |
name: Schedule k8s deployment | |
run: make schedule-k8s-deployment | |
- | |
name: Schedule post-deployment tests | |
run: | | |
# Just run "fast" tests for manual deployments | |
make TEST_SELECTOR="fast" schedule-tests |