mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:25:50 +00:00
Added kubeconfig configuration to pipeline
This commit is contained in:
parent
3da7fd39d4
commit
2ff81c2681
1 changed files with 12 additions and 0 deletions
12
.github/workflows/setup-infra-pipeline.yml
vendored
12
.github/workflows/setup-infra-pipeline.yml
vendored
|
@ -20,6 +20,18 @@ jobs:
|
|||
- name: Setting up terraform
|
||||
uses: hashicorp/setup-terraform@v3
|
||||
|
||||
- name: Install kubectl
|
||||
uses: azure/setup-kubectl@v4
|
||||
with:
|
||||
version: 'v1.29.0'
|
||||
id: install
|
||||
|
||||
|
||||
- name: Deploy new version of an image to the cluster
|
||||
run: |
|
||||
az aks get-credentials --resource-group grid-capstone --name dev-grid-cluster --admin --overwrite-existing
|
||||
export KUBE_CONFIG_PATH=~/.kube/config
|
||||
|
||||
|
||||
- name: Setup git configuration
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue