@@ -115,50 +115,50 @@ stages:
115115 $(Build.BuildId)
116116 latest
117117
118- - stage : deploy
119- jobs :
120- - deployment : deploy
121- displayName : Deploy GreenCityChat
122- pool :
123- vmImage : $(agentOS)
124- environment : ' prod'
125- strategy :
126- runOnce :
127- deploy :
128- steps :
129- - download : none
130-
131- - task : DownloadBuildArtifacts@0
132- inputs :
133- buildType : ' current'
134- downloadType : ' single'
135- artifactName : ' $(artifactName)'
136- downloadPath : ' $(System.ArtifactsDirectory)'
137-
138- # - task: AzureRmWebAppDeployment@4
139- # inputs:
140- # azureSubscription: '$(azureSub)'
141- # appType: 'webAppLinux'
142- # WebAppName: '$(userServiceName)'
143- # deployToSlotOrASE: true
144- # ResourceGroupName: '$(resourceGroup)'
145- # packageForLinux: '$(System.ArtifactsDirectory)/$(artifactName)/$(userRepoName)/target/$(onbootJarName)'
146-
147-
148- - task : HelmInstaller@0
149- inputs :
150- helmVersion : ' 3.9.0'
151- installKubectl : true
152-
153- - task : HelmDeploy@0
154- inputs :
155- connectionType : ' Kubernetes Service Connection'
156- kubernetesServiceConnection : ' k8s-stage'
157- namespace : ' default'
158- command : ' upgrade'
159- chartType : ' FilePath'
160- chartPath : ' $(System.ArtifactsDirectory)/drop/greencity-chat-chart'
161- releaseName : ' chat'
162- overrideValues : ' deployment.image=skyere/greencitychat:$(Build.BuildId)'
163- arguments : ' --debug '
118+ # - stage: deploy
119+ # jobs:
120+ # - deployment: deploy
121+ # displayName: Deploy GreenCityChat
122+ # pool:
123+ # vmImage: $(agentOS)
124+ # environment: 'prod'
125+ # strategy:
126+ # runOnce:
127+ # deploy:
128+ # steps:
129+ # - download: none
130+ #
131+ # - task: DownloadBuildArtifacts@0
132+ # inputs:
133+ # buildType: 'current'
134+ # downloadType: 'single'
135+ # artifactName: '$(artifactName)'
136+ # downloadPath: '$(System.ArtifactsDirectory)'
137+ #
138+ # # - task: AzureRmWebAppDeployment@4
139+ # # inputs:
140+ # # azureSubscription: '$(azureSub)'
141+ # # appType: 'webAppLinux'
142+ # # WebAppName: '$(userServiceName)'
143+ # # deployToSlotOrASE: true
144+ # # ResourceGroupName: '$(resourceGroup)'
145+ # # packageForLinux: '$(System.ArtifactsDirectory)/$(artifactName)/$(userRepoName)/target/$(onbootJarName)'
146+ #
147+ #
148+ # - task: HelmInstaller@0
149+ # inputs:
150+ # helmVersion: '3.9.0'
151+ # installKubectl: true
152+ #
153+ # - task: HelmDeploy@0
154+ # inputs:
155+ # connectionType: 'Kubernetes Service Connection'
156+ # kubernetesServiceConnection: 'k8s-stage'
157+ # namespace: 'default'
158+ # command: 'upgrade'
159+ # chartType: 'FilePath'
160+ # chartPath: '$(System.ArtifactsDirectory)/drop/greencity-chat-chart'
161+ # releaseName: 'chat'
162+ # overrideValues: 'deployment.image=skyere/greencitychat:$(Build.BuildId)'
163+ # arguments: '--debug '
164164
0 commit comments