Adding dry run for Docker Compose.
This commit is contained in:
@@ -128,11 +128,20 @@ jobs:
|
||||
"${RINOA_GITEA_URL}/api/v1/repos/${GITHUB_REPOSITORY}/pulls/${PR_NUMBER}/reviews")
|
||||
|
||||
# Job 3: Merge PR if Quality Gate passes
|
||||
# merge-pr:
|
||||
# runs-on: ubuntu-latest
|
||||
# needs: [check-and-create-pr, sonarqube-analysis]
|
||||
# if: needs.sonarqube-analysis.outputs.quality_gate_status == 'PASSED'
|
||||
# steps:
|
||||
dry-run-merge-pr:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [check-and-create-pr, sonarqube-analysis]
|
||||
if: needs.sonarqube-analysis.outputs.quality_gate_status == 'PASSED'
|
||||
steps:
|
||||
- name: Docker Compose Dry Run
|
||||
uses: s3i7h/spin-up-docker-compose-action@v1.2
|
||||
with:
|
||||
file: docker-compose.yml
|
||||
pull: true
|
||||
pull-opts: --dry-run
|
||||
up: true
|
||||
up-opts: -d --dry-run
|
||||
|
||||
# - name: Merge PR in Gitea
|
||||
# uses: prasiman/gocurl@v1
|
||||
# with:
|
||||
|
||||
Reference in New Issue
Block a user