Skip to content

Commit 0fd2541

Browse files
authored
Merge pull request #98 from PublicisSapient/actionfix
updated actiosn
2 parents 2adc9a0 + 8848542 commit 0fd2541

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/Processors_CI_CD_Workflow.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,14 @@ jobs:
213213
docker push $ACR_LOGIN_SERVER/$SCM_IMAGE_NAME:$IMAGE_TAG
214214
echo "IMAGE_TAG=$IMAGE_TAG" >> $GITHUB_ENV
215215
216-
- name: Checkout jira Helm charts from Bitbucket
217-
if: ${{ github.event.inputs.processor == 'all' || github.event.inputs.processor == 'jira' }}
216+
- name: Checkout Helm charts repo
217+
if: ${{ github.event.inputs.processor == 'all' || github.event.inputs.processor == 'jira' || github.event.inputs.processor == 'devops' || github.event.inputs.processor == 'azureboard' || github.event.inputs.processor == 'azurepipelines' || github.event.inputs.processor == 'scm-processor' }}
218218
run: |
219219
git clone ${{ secrets.SPEEDTOOLS_BITBUCKET_HELM_REPO }}
220+
221+
- name: Update jira Helm charts from Bitbucket
222+
if: ${{ github.event.inputs.processor == 'all' || github.event.inputs.processor == 'jira' }}
223+
run: |
220224
cd build-configurations/KnowHOW-Deploy/knowhow-jira-processor
221225
# Update values.yaml image tag
222226
yq -i ".image.tag = \"${IMAGE_TAG}\"" $VALUES_FILE
@@ -226,10 +230,9 @@ jobs:
226230
git diff --cached --quiet || git commit -m "Update image tag values to ${IMAGE_TAG}"
227231
git push origin HEAD
228232
229-
- name: Checkout devops Helm charts from Bitbucket
233+
- name: Update devops Helm charts from Bitbucket
230234
if: ${{ github.event.inputs.processor == 'all' || github.event.inputs.processor == 'devops' }}
231235
run: |
232-
git clone ${{ secrets.SPEEDTOOLS_BITBUCKET_HELM_REPO }}
233236
cd build-configurations/KnowHOW-Deploy/devops-processor
234237
# Update values.yaml image tag
235238
yq -i ".image.tag = \"${IMAGE_TAG}\"" $VALUES_FILE
@@ -239,10 +242,9 @@ jobs:
239242
git diff --cached --quiet || git commit -m "Update image tag values to ${IMAGE_TAG}"
240243
git push origin HEAD
241244
242-
- name: Checkout azure board Helm charts from Bitbucket
245+
- name: Update azure board Helm charts from Bitbucket
243246
if: ${{ github.event.inputs.processor == 'all' || github.event.inputs.processor == 'azureboard' }}
244247
run: |
245-
git clone ${{ secrets.SPEEDTOOLS_BITBUCKET_HELM_REPO }}
246248
cd build-configurations/KnowHOW-Deploy/knowhow-azure-board-processor
247249
# Update values.yaml image tag
248250
yq -i ".image.tag = \"${IMAGE_TAG}\"" $VALUES_FILE
@@ -252,10 +254,9 @@ jobs:
252254
git diff --cached --quiet || git commit -m "Update image tag values to ${IMAGE_TAG}"
253255
git push origin HEAD
254256
255-
- name: Checkout azure Pipeline Helm charts from Bitbucket
257+
- name: Update azure Pipeline Helm charts from Bitbucket
256258
if: ${{ github.event.inputs.processor == 'all' || github.event.inputs.processor == 'azurepipelines' }}
257259
run: |
258-
git clone ${{ secrets.SPEEDTOOLS_BITBUCKET_HELM_REPO }}
259260
cd build-configurations/KnowHOW-Deploy/knowhow-azure-pipeline-repo
260261
# Update values.yaml image tag
261262
yq -i ".image.tag = \"${IMAGE_TAG}\"" $VALUES_FILE
@@ -265,10 +266,9 @@ jobs:
265266
git diff --cached --quiet || git commit -m "Update image tag values to ${IMAGE_TAG}"
266267
git push origin HEAD
267268
268-
- name: Checkout scm Helm charts from Bitbucket
269+
- name: Update scm Helm charts from Bitbucket
269270
if: ${{ github.event.inputs.processor == 'all' || github.event.inputs.processor == 'scm-processor' }}
270271
run: |
271-
git clone ${{ secrets.SPEEDTOOLS_BITBUCKET_HELM_REPO }}
272272
cd build-configurations/KnowHOW-Deploy/knowhow-scm-processor
273273
# Update values.yaml image tag
274274
yq -i ".image.tag = \"${IMAGE_TAG}\"" $VALUES_FILE

0 commit comments

Comments
 (0)