Skip to content

Commit

Permalink
release v0
Browse files Browse the repository at this point in the history
  • Loading branch information
gzukel committed May 6, 2024
1 parent dc253e4 commit 1346142
Showing 1 changed file with 35 additions and 30 deletions.
65 changes: 35 additions & 30 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ jobs:
with:
args: ./...

- name: Skip Checks Succeed for Needs.
- name: Mark Job Complete Skipped
if: ${{ github.event.inputs.skip_checks == 'true' }}
shell: bash
run: |
echo "Check Skipped, Mark Green for Pipeline Execution"
echo "continue"
gosec-cosmos:
needs:
Expand All @@ -84,10 +85,11 @@ jobs:
if: ${{ github.event.inputs.skip_checks != 'true' }}
run: make lint-cosmos-gosec

- name: Skip Checks Succeed for Needs.
- name: Mark Job Complete Skipped
if: ${{ github.event.inputs.skip_checks == 'true' }}
shell: bash
run: |
echo "Check Skipped, Mark Green for Pipeline Execution"
echo "continue"
lint:
needs:
Expand Down Expand Up @@ -117,10 +119,11 @@ jobs:
skip-cache: true
args: --out-format=json

- name: Skip Checks Succeed for Needs.
- name: Mark Job Complete Skipped
if: ${{ github.event.inputs.skip_checks == 'true' }}
shell: bash
run: |
echo "Check Skipped, Mark Green for Pipeline Execution"
echo "continue"
check-changelog:
needs:
Expand All @@ -142,7 +145,6 @@ jobs:
https://api.github.com/repos/${{ github.repository }}/git/ref/heads/develop | jq -r '.object.sha')
echo "DEVELOP_SHA=${SHA}" >> ${GITHUB_ENV}
echo "CURRENT_BRANCH_SHA=${{ github.sha }}" >> ${GITHUB_ENV}
- name: Check for CHANGELOG.md changes
if: ${{ github.event.inputs.skip_checks != 'true' }}
Expand All @@ -159,10 +161,11 @@ jobs:
echo "CHANGELOG.md has been updated."
fi
- name: Skip Checks Succeed for Needs.
- name: Mark Job Complete Skipped
if: ${{ github.event.inputs.skip_checks == 'true' }}
shell: bash
run: |
echo "Check Skipped, Mark Green for Pipeline Execution"
echo "continue"
check-upgrade-handler-updated:
needs:
Expand Down Expand Up @@ -190,10 +193,11 @@ jobs:
fi
echo "The major version found in 'releaseVersion' in app/setup_handlers.go matches this tagged release - Moving Forward!"
- name: Skip Checks Succeed for Needs.
- name: Mark Job Complete Skipped
if: ${{ github.event.inputs.skip_checks == 'true' }}
shell: bash
run: |
echo "Check Skipped, Mark Green for Pipeline Execution"
echo "continue"
build-test:
needs:
Expand Down Expand Up @@ -266,10 +270,11 @@ jobs:
shell: bash
run: rm -rf *

- name: Skip Checks Succeed for Needs.
- name: Mark Job Complete Skipped
if: ${{ github.event.inputs.skip_checks == 'true' }}
shell: bash
run: |
echo "Check Skipped, Mark Green for Pipeline Execution"
echo "continue"
smoke-test:
needs:
Expand Down Expand Up @@ -343,10 +348,11 @@ jobs:
shell: bash
run: sudo rm -rf *

- name: Skip Checks Succeed for Needs.
- name: Mark Job Complete Skipped
if: ${{ github.event.inputs.skip_checks == 'true' }}
shell: bash
run: |
echo "Check Skipped, Mark Green for Pipeline Execution"
echo "continue"
e2e-admin-tests:
needs:
Expand All @@ -364,6 +370,12 @@ jobs:
run: |
make start-e2e-admin-test
- name: Mark Job Complete Skipped
if: ${{ github.event.inputs.skip_checks == 'true' }}
shell: bash
run: |
echo "continue"
e2e-upgrade-test:
needs:
- check_branch
Expand All @@ -380,7 +392,14 @@ jobs:
run: |
make start-upgrade-test
pre_release_step_check:
- name: Mark Job Complete Skipped
if: ${{ github.event.inputs.skip_checks == 'true' }}
shell: bash
run: |
echo "continue"
publish-release:
if: ${{ github.event.inputs.skip_release == 'false' }}
needs:
- gosec
- gosec-cosmos
Expand All @@ -392,20 +411,6 @@ jobs:
- e2e-admin-tests
- e2e-upgrade-test
- check_branch
runs-on: buildjet-4vcpu-ubuntu-2204
timeout-minutes: 120
steps:
- name: Execute upgrade-test
if: ${{ github.event.inputs.skip_checks != 'true' }}
shell: bash
run: |
echo "${{ github.ref }}"
publish-release:
if: ${{ github.event.inputs.skip_release == 'false' }}
needs:
- pre_release_step_check
- check_branch
runs-on: buildjet-4vcpu-ubuntu-2004
timeout-minutes: 60
environment: release
Expand Down

0 comments on commit 1346142

Please sign in to comment.