Fix chart path
@@ -85,6 +85,21 @@ stages:
- task: PublishBuildArtifacts@1
inputs:
artifactName: drop
+
+- stage: Install
+ displayName: Install CRDs
+ dependsOn: DockerBuild
+ jobs:
+ - job: Install
+ steps:
+ - task: Kubernetes@1
+ inputs:
+ connectionType: 'Kubernetes Service Connection'
+ kubernetesServiceEndpoint: 'skulavik-k8s'
+ command: 'apply'
+ arguments: '-f $(Pipeline.Workspace)/config/crd/bases'
+ checkLatest: true
+
- stage: DockerBuild
displayName: Docker build
jobs:
@@ -105,20 +120,6 @@ stages:
- upload: charts
artifact: charts
-- stage: Install
- displayName: Install CRDs
- dependsOn: DockerBuild
- jobs:
- - job: Install
- steps:
- - task: Kubernetes@1
- inputs:
- connectionType: 'Kubernetes Service Connection'
- kubernetesServiceEndpoint: 'skulavik-k8s'
- command: 'apply'
- arguments: '-f config/crd/bases'
- checkLatest: true
-
- stage: Deploy
displayName: Deploy
dependsOn: Install
