Skip to content

Commit

Permalink
added debug info to figure out what's going wrong with creds
Browse files Browse the repository at this point in the history
  • Loading branch information
pgm committed Jan 8, 2025
1 parent abd8af7 commit 5cd8acc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_breadbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ jobs:
with:
# See instructions here: https://github.com/google-github-actions/auth?tab=readme-ov-file#service-account-key-json
credentials_json: ${{ secrets.DEPMAP_ARTIFACTS_SVC_ACCT }}
- name: debug cred issue 1
run: ls -l ${{ env.GOOGLE_APPLICATION_CREDENTIALS }}
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
Expand All @@ -209,13 +211,17 @@ jobs:
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
- name: debug cred issue 2
run: ls -l ${{ env.GOOGLE_APPLICATION_CREDENTIALS }}
- name: Generate breadbox client
uses: ./.github/actions/generate-breadbox-client # defined as a re-usable action
- name: Set up for publishing breadbox client
working-directory: ./breadbox-client
run: |
poetry self add keyrings.google-artifactregistry-auth
poetry config repositories.public-python https://us-central1-python.pkg.dev/cds-artifacts/public-python/
- name: debug cred issue 3
run: ls -l ${{ env.GOOGLE_APPLICATION_CREDENTIALS }}
- name: Publish new breadbox client version to Artifact Registry
working-directory: ./breadbox-client
run: poetry publish --build --repository public-python

0 comments on commit 5cd8acc

Please sign in to comment.