diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c83c5fe..003ee324 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,11 +44,11 @@ jobs: if [ "${TEST_ENV}" == "CI" ]; then echo "workload_identity_provider=projects/561066095864/locations/global/workloadIdentityPools/github/providers/jupyter-demos" >> $GITHUB_OUTPUT echo "service_account=cicd-sa@clearscape-ci.iam.gserviceaccount.com" >> $GITHUB_OUTPUT - echo "CSAE_CLEARSCAPE_API_KEY=${{secrets.CSAE_CI_CLEARSCAPE_API_KEY}}" >> $GITHUB_ENV + echo "CSAE_CLEARSCAPE_API_KEY=${{ secrets.CSAE_CI_CLEARSCAPE_API_KEY }}" >> $GITHUB_ENV else echo "workload_identity_provider=projects/xyz/locations/global/workloadIdentityPools/github/providers/jupyter-demos" >> $GITHUB_OUTPUT echo "service_account=cicd-@clearscape-ci.iam.gserviceaccount.com" >> $GITHUB_OUTPUT - echo "CSAE_CLEARSCAPE_API_KEY=${{secrets.CSAE_CLEARSCAPE_API_KEY}}" >> $GITHUB_ENV + echo "CSAE_CLEARSCAPE_API_KEY=${{ secrets.CSAE_CLEARSCAPE_API_KEY }}" >> $GITHUB_ENV fi - name: Authenticate with Google Cloud id: auth diff --git a/.tests/environments.ts b/.tests/environments.ts index 81576c0b..a6116f54 100644 --- a/.tests/environments.ts +++ b/.tests/environments.ts @@ -1,6 +1,6 @@ import axios from 'axios'; -const API_KEY = process.env.TEST_ENV === process.env.CSAE_CLEARSCAPE_API_KEY +const API_KEY = process.env.CSAE_CLEARSCAPE_API_KEY const url = process.env.TEST_ENV === 'CI' ? 'https://api.ci.clearscape.teradata.com/environments' : 'https://api.clearscape.teradata.com/environments'; const CSAE_ENV_PASSWORD = process.env.CSAE_ENV_PASSWORD || 'asdfasdf';