From 1485acc23d231ee0ce21c311cbb6d246c3eab031 Mon Sep 17 00:00:00 2001 From: Curtis Banh Date: Tue, 12 Mar 2024 21:50:06 -0700 Subject: [PATCH] added OPS setting --- .github/workflows/build.yml | 6 ++++-- terraform/environments/ops.env | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 terraform/environments/ops.env diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 425a5ee..ac7fc63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,7 @@ on: options: - SIT - UAT + - OPS commit: type: string description: Custom commit hash @@ -93,12 +94,13 @@ jobs: - name: Bump rc version if: startsWith(github.ref, 'refs/heads/release/') && github.event_name != 'workflow_dispatch' run: | - bumpver --tag rc --tag-num + bumpver update -f --tag rc --tag-num echo "TARGET_ENV=UAT" >> $GITHUB_ENV - name: Release version if: github.ref == 'refs/heads/main' && github.event_name != 'workflow_dispatch' run: | - bumpver --tag final + bumpver update -f --tag final + echo "TARGET_ENV=OPS" >> $GITHUB_ENV - name: Set the target environment to ${{ env.TARGET_ENV }} id: set-env run: | diff --git a/terraform/environments/ops.env b/terraform/environments/ops.env new file mode 100644 index 0000000..4515b04 --- /dev/null +++ b/terraform/environments/ops.env @@ -0,0 +1,3 @@ +export REGION=us-west-2 +export BUCKET=podaac-services-ops-terraform +export SWODLR_sds_pcm_release_tag=pcm-v5.0.0-pge-v5.0.4 \ No newline at end of file