Skip to content

Commit

Permalink
ci: install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
netr0m committed Feb 1, 2024
1 parent 8c984dd commit d9fd473
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy-ctf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,25 @@ jobs:
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Checkout
uses: actions/checkout@v4

- name: Install kubectl
uses: azure/setup-kubectl@v3
with:
version: 'v1.29.1'

- name: Install helm
uses: azure/setup-helm@v3
with:
version: 'v3.14.0'

- name: Install go
uses: actions/setup-go@v5

- name: Install envsubst
run: |
go get github.com/a8m/envsubst/cmd/envsubst
- name: Create the Kubernetes cluster in AKS
run: |
Expand All @@ -42,6 +61,20 @@ jobs:
runs-on: ubuntu-latest
environment: ${{ inputs.ENVIRONMENT }}
steps:
- name: Install kubectl
uses: azure/setup-kubectl@v3
with:
version: 'v1.29.1'

- name: Install node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'

- name: Install juice-shop-ctf-cli
run: npm install -g juice-shop-ctf-cli

- name: Generate challenges
run: |
./generate-challenges.sh
Expand Down

0 comments on commit d9fd473

Please sign in to comment.