Skip to content

Commit

Permalink
workflows/integration-*: set git and oci env vars
Browse files Browse the repository at this point in the history
With the recent changes to the integration tests, the type of tests
supported by the infrastructure need to be explicitly set.
OCI infrastructure is supported by all of our setup.
Git infrastructure is only set for Azure only. It is ineffective for now
as we don't have an azure account to run the tests at present.

Signed-off-by: Sunny <[email protected]>
  • Loading branch information
darkowlzz committed Nov 7, 2024
1 parent 402f6cd commit eae8e64
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/integration-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
cat > .env <<EOF
export TF_VAR_rand=${RANDOM}
export TF_VAR_tags='{"environment"="github", "ci"="true", "repo"="pkg", "createdat"="$(date -u +x%Y-%m-%d_%Hh%Mm%Ss)"}'
export TF_VAR_enable_oci=true
EOF
- name: Print .env for dynamic tag value reference
run: cat .env
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/integration-azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
run: |
cat > .env <<EOF
export TF_VAR_tags='{"environment"="github", "ci"="true", "repo"="pkg", "createdat"="$(date -u +x%Y-%m-%d_%Hh%Mm%Ss)"}'
export TF_VAR_enable_git=true
export TF_VAR_enable_oci=true
EOF
- name: Print .env for dynamic tag value reference
run: cat .env
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
run: |
cat > .env <<EOF
export TF_VAR_tags='{"environment"="github", "ci"="true", "repo"="pkg", "createdat"="$(date -u +x%Y-%m-%d_%Hh%Mm%Ss)"}'
export TF_VAR_enable_oci=true
EOF
- name: Print .env for dynamic tag value reference
run: cat .env
Expand Down

0 comments on commit eae8e64

Please sign in to comment.