Skip to content

Commit

Permalink
Merge pull request #6279 from berkeley-dsep-infra/staging
Browse files Browse the repository at this point in the history
merging 6277/6278 to prod
  • Loading branch information
shaneknapp authored Sep 26, 2024
2 parents e6202bd + 03832c1 commit 1c2b2c8
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/deploy-hubs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,6 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Auth to gcloud
if: ${{ env.DEPLOY }}
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GKE_KEY }}
project_id: ${{ secrets.GCP_PROJECT_ID }}

- name: Install Google Cloud SDK
if: ${{ env.DEPLOY }}
uses: google-github-actions/setup-gcloud@v2
Expand Down Expand Up @@ -102,7 +95,7 @@ jobs:
echo "Deploying single-user image and hub config to ${deployment}"
hubploy --verbose deploy --timeout 30m ${deployment} hub staging
echo
done < <(python .github/scripts/determine-hub-deployments.py --ignore edx)
done < <(python .github/scripts/determine-hub-deployments.py)
deploy-hubs-to-prod:
if: github.event_name == 'push' && github.ref == 'refs/heads/prod'
Expand Down Expand Up @@ -152,13 +145,6 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Auth to gcloud
if: ${{ env.DEPLOY }}
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GKE_KEY }}
project_id: ${{ secrets.GCP_PROJECT_ID }}

- name: Install Google Cloud SDK
if: ${{ env.DEPLOY }}
uses: google-github-actions/setup-gcloud@v2
Expand Down Expand Up @@ -196,4 +182,4 @@ jobs:
echo "Deploying single-user image and hub config to ${deployment}"
hubploy --verbose deploy --timeout 30m ${deployment} hub prod
echo
done < <(python .github/scripts/determine-hub-deployments.py --ignore edx)
done < <(python .github/scripts/determine-hub-deployments.py)

0 comments on commit 1c2b2c8

Please sign in to comment.