Skip to content

Commit

Permalink
Add GCP auth
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbourbeau committed Aug 26, 2024
1 parent 147791c commit 48f9d0c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,20 @@ jobs:
echo PYTEST_MARKERS=${PYTEST_MARKERS} >> $GITHUB_ENV
fi
# TODO: Will need something like this to auth the CI runner
- name: Google auth
uses: "google-github-actions/auth@v2"
with:
credentials_json: "${{ secrets.GCP_CREDENTIALS }}"
# - name: "Set up Cloud SDK"
# uses: "google-github-actions/setup-gcloud@v2"
# with:
# skip_install: true
# - name: "Use gcloud CLI"
# run: |
# gcloud info
# gcloud config set project ${{ inputs.gcp-project-name }}

- name: Run Coiled Runtime Tests
env:
DASK_COILED__TOKEN: ${{ secrets.COILED_BENCHMARK_BOT_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
import dask_expr
import distributed
import filelock
import gcsfs
import pandas
import pytest
import s3fs
import gcsfs
import sqlalchemy
import yaml
from coiled import Cluster
Expand Down Expand Up @@ -679,7 +679,7 @@ def s3_cluster_dump_url(s3, s3_scratch):


GCS_REGION = "us-central1"
GCS_BUCKET = "gs://coiled-scratch-space/benchmarks-bot"
GCS_BUCKET = "gs://coiled-oss-scratch/benchmarks-bot"


@pytest.fixture(scope="session")
Expand Down

0 comments on commit 48f9d0c

Please sign in to comment.