Skip to content

Commit

Permalink
check az get-credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Nov 29, 2024
1 parent 2c9a441 commit b59701d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ env:
VENOM_VAR_pluralKey: ${{ secrets.E2E_PLURAL_PRIVATE_KEY }}
jobs:
plural-up-gcp:
if: false
name: plural up / GCP
permissions:
contents: 'read'
Expand Down Expand Up @@ -130,7 +131,6 @@ jobs:
- file: ${{ env.TESTOUT_PATH }}/test_results.html
filename: rest_results.html
plural-up-azure:
if: false
name: plural up / Azure
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -167,6 +167,11 @@ jobs:
run: terraform --version
- name: Print Azure CLI version
run: az --version
- name: Create kube directory
run: |
mkdir -p $HOME/.kube
touch $HOME/.kube/config
chmod 755 $HOME/.kube/config
- name: Login to Azure
uses: azure/login@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion test/plural/lib/cluster-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ input:
project: ''

steps:
- script: gcloud container clusters get-credentials {{ .input.name }} --region {{ .input.region }} --project {{ .input.project }}
- script: az aks get-credentials --overwrite-existing --name {{ .input.name }} --resource-group {{ .input.project }}
assertions:
- result.code ShouldEqual 0
- script: plural ops cluster
Expand Down

0 comments on commit b59701d

Please sign in to comment.