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 5c52185 commit ebcbf66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/auth/vm_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def start_runner(creds, key, ssh_username, id = "gpu-insatnce", zone='us-central
return output

if __name__ == "__main__":
key, username = sys.argv[1], sys.argv[2]
username, key = sys.argv[1], sys.argv[2]
# Start the instance
start_runner('gcp_auth.json', str(key), str(username))

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gcp-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
cd demos/.github/auth
python3 db_auth.py ${{ secrets.DB_ENDPOINT }} ${{ secrets.DB_OBJ_ID }}
python3 vm_auth.py ${{ secrets.SSH_KEY}} ${{ secrets.SSH_USERNAME }}
python3 vm_auth.py ${{ secrets.SSH_USERNAME }} ${{ secrets.SSH_KEY}}
run-test:
needs: activate-vm
Expand Down

0 comments on commit ebcbf66

Please sign in to comment.