Skip to content

Commit

Permalink
gcp auth
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarsh2001 committed Oct 4, 2023
1 parent 403dd01 commit a746580
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/auth/db_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def _write_auth_to_file(endpoint, obj_id):

creds = collection.find_one({"_id": object_id_to_find})

with open("/gcp_auth.json", "w") as f:
with open(".github/auth/gcp_auth.json", "w") as f:
json.dump(creds, f, indent=4)


Expand Down
1 change: 0 additions & 1 deletion .github/workflows/gcp-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
- name: Start GPU VM
run: |
cd demos
chmod 755 .github/auth/db_auth.py
python3 .github/auth/db_auth.py ${{ secrets.DB_ENDPOINT }} ${{ secrets.DB_OBJ_ID }}
python3 .github/auth/vm_auth.py ${{ secrets.SSH_KEY }}
Expand Down

0 comments on commit a746580

Please sign in to comment.