Skip to content

Commit 231611f

Browse files
committed
tmp
1 parent 6d7f86d commit 231611f

File tree

1 file changed

+3
-53
lines changed

1 file changed

+3
-53
lines changed

.github/workflows/gitops-pipeline.yaml

Lines changed: 3 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -177,22 +177,8 @@ jobs:
177177
image_tag: ${{ needs.prepare-build.outputs.image_tag }}
178178
secrets: inherit
179179

180-
create-staging-pr:
181-
needs: [ prepare-build, build-helmreleases ]
182-
if: |
183-
!cancelled() &&
184-
!contains(needs.*.result, 'failure') &&
185-
needs.build-helmreleases.result == 'success' &&
186-
inputs.deploy
187-
uses: gooddata/github-actions/.github/workflows/ii-create-gitops-deployments-pr.yaml@master
188-
with:
189-
is_staging: true
190-
helm_releases: ${{ needs.build-helmreleases.outputs.helmreleases }}
191-
pipeline_identifier: ${{ needs.prepare-build.outputs.pipeline_identifier }}
192-
secrets: inherit
193-
194180
wait-for-deployment:
195-
needs: [ prepare-build, build-helmreleases, create-staging-pr ]
181+
needs: [ prepare-build, build-helmreleases ]
196182
if: |
197183
!cancelled() &&
198184
!contains(needs.*.result, 'failure') &&
@@ -209,7 +195,7 @@ jobs:
209195
pipeline_identifier: ${{ needs.prepare-build.outputs.pipeline_identifier }}
210196

211197
revert-staging-pr:
212-
needs: [ create-staging-pr, wait-for-deployment ]
198+
needs: [ wait-for-deployment ]
213199
if: |
214200
!cancelled() &&
215201
needs.wait-for-deployment.result == 'failure' &&
@@ -233,44 +219,8 @@ jobs:
233219
charts: ${{ needs.build-helmreleases.outputs.built_charts }}
234220
image_tag: ${{ needs.prepare-build.outputs.image_tag }}
235221

236-
create-auto-merge-prod-pr:
237-
needs: [ prepare-build, build-helmreleases, promote-to-stable ]
238-
if: |
239-
!cancelled() &&
240-
!contains(needs.*.result, 'failure') &&
241-
needs.build-helmreleases.result == 'success' &&
242-
inputs.AUTO_MERGE &&
243-
inputs.deploy
244-
strategy:
245-
matrix:
246-
cluster: ${{ fromJson(needs.build-helmreleases.outputs.updated_prod_cluster_names) }}
247-
uses: gooddata/github-actions/.github/workflows/ii-create-gitops-deployments-pr.yaml@master
248-
with:
249-
is_staging: false
250-
is_auto_merge: true
251-
cluster: ${{ matrix.cluster }}
252-
helm_releases: ${{ needs.build-helmreleases.outputs.helmreleases }}
253-
pipeline_identifier: ${{ needs.prepare-build.outputs.pipeline_identifier }}
254-
secrets: inherit
255-
256-
create-manual-merge-prod-pr:
257-
needs: [ prepare-build, build-helmreleases, promote-to-stable ]
258-
if: |
259-
!cancelled() &&
260-
!contains(needs.*.result, 'failure') &&
261-
needs.build-helmreleases.result == 'success' &&
262-
!inputs.AUTO_MERGE &&
263-
inputs.deploy
264-
uses: gooddata/github-actions/.github/workflows/ii-create-gitops-deployments-pr.yaml@master
265-
with:
266-
is_staging: false
267-
is_auto_merge: false
268-
helm_releases: ${{ needs.build-helmreleases.outputs.helmreleases }}
269-
pipeline_identifier: ${{ needs.prepare-build.outputs.pipeline_identifier }}
270-
secrets: inherit
271-
272222
create-comment-with-pr-urls:
273-
needs: [ build-helmreleases, create-auto-merge-prod-pr, create-manual-merge-prod-pr ]
223+
needs: [ build-helmreleases ]
274224
if: |
275225
!cancelled() &&
276226
!contains(needs.*.result, 'failure') &&

0 commit comments

Comments
 (0)