Skip to content

Commit

Permalink
added OPS setting
Browse files Browse the repository at this point in the history
  • Loading branch information
cqbanh committed Mar 13, 2024
1 parent bc38b76 commit 1485acc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
options:
- SIT
- UAT
- OPS
commit:
type: string
description: Custom commit hash
Expand Down Expand Up @@ -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: |
Expand Down
3 changes: 3 additions & 0 deletions terraform/environments/ops.env
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1485acc

Please sign in to comment.