Skip to content

Commit 963a94d

Browse files
Merge pull request #112 from ita-social-projects/remove-doployment-in-pipline
remove chat deployment in pipline
2 parents 3742665 + d7c8ad5 commit 963a94d

File tree

2 files changed

+83
-83
lines changed

2 files changed

+83
-83
lines changed

azure-pipelines-prod.yml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -74,41 +74,41 @@ stages:
7474
tags: |
7575
prod-$(Build.BuildId)
7676
latest
77-
78-
- stage: deploy
79-
jobs:
80-
- deployment: deploy
81-
displayName: Deploy GreenCityChat
82-
pool:
83-
vmImage: $(agentOS)
84-
environment: 'production'
85-
strategy:
86-
runOnce:
87-
deploy:
88-
steps:
89-
- download: none
90-
91-
- task: DownloadBuildArtifacts@0
92-
inputs:
93-
buildType: 'current'
94-
downloadType: 'single'
95-
artifactName: '$(artifactName)'
96-
downloadPath: '$(System.ArtifactsDirectory)'
97-
98-
- task: HelmInstaller@0
99-
inputs:
100-
helmVersion: '3.9.0'
101-
installKubectl: true
102-
103-
- task: HelmDeploy@0
104-
inputs:
105-
connectionType: 'Kubernetes Service Connection'
106-
kubernetesServiceConnection: 'production'
107-
namespace: 'default'
108-
command: 'upgrade'
109-
chartType: 'FilePath'
110-
chartPath: '$(System.ArtifactsDirectory)/drop/greencity-chat-chart'
111-
releaseName: 'chat'
112-
overrideValues: 'ingress.hostname=greencity-chat.pick-up.city,deployment.image=skyere/greencitychat:prod-$(Build.BuildId),ingress.cors_allow_origin=https://www.pick-up.city/'
113-
arguments: '--debug '
77+
#
78+
# - stage: deploy
79+
# jobs:
80+
# - deployment: deploy
81+
# displayName: Deploy GreenCityChat
82+
# pool:
83+
# vmImage: $(agentOS)
84+
# environment: 'production'
85+
# strategy:
86+
# runOnce:
87+
# deploy:
88+
# steps:
89+
# - download: none
90+
#
91+
# - task: DownloadBuildArtifacts@0
92+
# inputs:
93+
# buildType: 'current'
94+
# downloadType: 'single'
95+
# artifactName: '$(artifactName)'
96+
# downloadPath: '$(System.ArtifactsDirectory)'
97+
#
98+
# - task: HelmInstaller@0
99+
# inputs:
100+
# helmVersion: '3.9.0'
101+
# installKubectl: true
102+
#
103+
# - task: HelmDeploy@0
104+
# inputs:
105+
# connectionType: 'Kubernetes Service Connection'
106+
# kubernetesServiceConnection: 'production'
107+
# namespace: 'default'
108+
# command: 'upgrade'
109+
# chartType: 'FilePath'
110+
# chartPath: '$(System.ArtifactsDirectory)/drop/greencity-chat-chart'
111+
# releaseName: 'chat'
112+
# overrideValues: 'ingress.hostname=greencity-chat.pick-up.city,deployment.image=skyere/greencitychat:prod-$(Build.BuildId),ingress.cors_allow_origin=https://www.pick-up.city/'
113+
# arguments: '--debug '
114114

azure-pipelines.yml

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)