Skip to content

Commit

Permalink
misc: ""
Browse files Browse the repository at this point in the history
  • Loading branch information
srushti-patl committed Mar 7, 2024
1 parent abe68c4 commit e720c10
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test-uat-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
runs-on: ubuntu-latest
env:
EQUINIX_API_ENDPOINT: "https://uatapi.equinix.com"
TEST_DATA_UAT_PORT_2_CONNECTION: ${{secrets.TEST_DATA_UAT_PORT_2_CONNECTION}}

steps:
- name: Check out code into the Go module directory
Expand Down Expand Up @@ -39,11 +40,9 @@ jobs:
DirectoryList=("port-2-port-connection: ./examples/port-2-port-connection")
for list in ../../tests/uat/*; do
if [[ "$list" == *"port-2-aws"* ]]; then
if [[ "$list" == *"port-2-port-connection"* ]]; then
directory_name=$(basename "$list")
echo directory_name
secret_value= ${{ secrets["TEST_DATA_UAT_${directory_name}"]}}
echo "$secret_value" >> list/terraform.tfvars.json
echo $TEST_DATA_UAT_PORT_2_CONNECTION >> list/terraform.tfvars.json
fi
done
Expand Down

0 comments on commit e720c10

Please sign in to comment.