Skip to content

Commit

Permalink
Merge pull request #41 from NASA-IMPACT/ab/add-region
Browse files Browse the repository at this point in the history
Update job-runner.yaml
  • Loading branch information
abarciauskas-bgse authored Mar 6, 2024
2 parents d4d8923 + 479b671 commit 34cb432
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/job-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,6 @@ jobs:
python -m pip install --upgrade pip
pip install pangeo-forge-runner>=0.10.0
- name: set up aws credentials for job runner user
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.GH_ACTIONS_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.GH_ACTIONS_AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.GH_ACTIONS_AWS_REGION }}

- name: install kubectl
run: |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
Expand All @@ -100,7 +93,7 @@ jobs:
- name: update kubeconfig with cluster
run: |
aws eks update-kubeconfig --name ${{ vars.EKS_CLUSTER_NAME }} --region ${{ secrets.GH_ACTIONS_AWS_REGION }}
aws eks update-kubeconfig --name ${{ vars.EKS_CLUSTER_NAME }} --region us-west-2
- name: execute recipe on k8s cluster
id: executejob
Expand Down Expand Up @@ -216,7 +209,7 @@ jobs:
- name: update kubeconfig with cluster
run: |
aws eks update-kubeconfig --name ${{ vars.EKS_CLUSTER_NAME }} --region ${{ secrets.GH_ACTIONS_AWS_REGION }}
aws eks update-kubeconfig --name ${{ vars.EKS_CLUSTER_NAME }} --region us-west-2
# - name: Setup upterm session
# uses: lhotari/action-upterm@v1
Expand Down

0 comments on commit 34cb432

Please sign in to comment.