Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitin Sreeram committed Jul 11, 2024
1 parent 04202a8 commit 4022cb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]" >> $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 "[email protected]" >> $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
Expand Down
2 changes: 1 addition & 1 deletion .tests/environments.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 4022cb9

Please sign in to comment.