Skip to content

Commit

Permalink
Added install of git and clone of the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Koch authored and Patrick Koch committed Sep 18, 2023
1 parent 260fff2 commit c1ee395
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/deploy-aks-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push]
name: ProvisionKubernetesClusterOnAzure

jobs:
build-and-deploy:
deploy-kubernetes-cluster:
runs-on: ubuntu-latest
steps:
- name: Install az
Expand All @@ -22,9 +22,23 @@ jobs:
sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update
sudo apt-get install terraform
- name: Install Git
run: |
sudo apt-get update
sudo apt-get install git
- name: Verify installation of Git
run: git --version
- name: Get az version
run: az --version
- name: Log in with Azure
uses: azure/login@v1
with:
creds: '${{ secrets.AZURE_SUBSCRIPTION_AZUREWORKSHOP }}'
creds: '${{ secrets.AZURE_SUBSCRIPTION_AZUREWORKSHOP }}'
- name: Clone the repository
run: |
git clone https://github.com/patkoch/iac_terraform_azure.git
- name: Conduct Terraform init
run: |
cd iac_terraform_azure/aks/linux/github-actions-demo
ls -l

0 comments on commit c1ee395

Please sign in to comment.