Skip to content

Commit

Permalink
Add Helm repo
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwatson484 committed Sep 7, 2024
1 parent 1aaabdd commit 0bac11e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.10.0
1.10.1
11 changes: 9 additions & 2 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
condition: and(succeeded(), eq(variables.testFileExists, true))
- task: PowerShell@2
displayName: Check for OWASP ZAP tests
displayName: Check for ZAP tests
inputs:
targetType: 'inline'
script: |
Expand All @@ -165,7 +165,7 @@ jobs:
- script: |
docker compose -f docker-compose.yaml -f docker-compose.zap.yaml -p $(repo)-zap-$(Build.BuildId) run --rm $(repo)-zap
displayName: Run OWASP ZAP tests
displayName: Run ZAP tests
condition: and(succeeded(), eq(variables.zapFileExists, true))
- task: Docker@2
Expand Down Expand Up @@ -260,7 +260,14 @@ jobs:
continueOnError: true
condition: and(succeeded(), eq(variables.releaseExists, false))

- script: |
helm repo add lynxmagnus $(helmRepository)
helm repo update
displayName: 'Add Helm repository'
condition: and(succeeded(), eq(${{ parameters.deploy }}, true))
- task: HelmDeploy@1
displayName: Deploy to Kubernetes
inputs:
connectionType: 'Kubernetes Service Connection'
kubernetesServiceConnection: 'Contabo'
Expand Down

0 comments on commit 0bac11e

Please sign in to comment.