Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 3.51 KB

README.md

File metadata and controls

59 lines (47 loc) · 3.51 KB

Docker image for running Helm commands in Azure Pipelines container jobs

License Build Quality Gate Status Pulls Stars

Docker image to run Helm and kubectl commands in Azure Pipelines container jobs.

Usage

This container can be used to run Helm and kubectl commands in Azure Pipelines container jobs.

Azure Pipelines Container Job

To use the image in an Azure Pipelines Container Job add the following task use it with the container property.

The following example shows the container used for a deployment step

- stage: deploy
  jobs:
  - deployment: DeployWeb
    container: swissgrc/azure-pipelines-helm:latest
    environment: 'smarthotel-dev'
    strategy:
      runOnce:
        deploy:
          steps:
            - task: HelmDeploy@0
              displayName: Helm upgrade
              inputs:
                azureSubscriptionEndpoint: $(azureSubscriptionEndpoint)
                azureResourceGroup: $(azureResourceGroup)
                kubernetesCluster: $(kubernetesCluster)
                command: upgrade
                chartType: filepath
                chartPath: $(Build.ArtifactStagingDirectory)/sampleapp-v0.2.0.tgz
                releaseName: azuredevopsdemo
                install: true
                waitForExecution: false

Included Software

Tags

Tag Description Size
latest Latest stable release (from main branch) Docker Image Size (tag)
unstable Latest unstable release (from develop branch) Docker Image Size (tag)
x.y.z Image for a specific version of Helm