forked from kyma-project/keda-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8dfbf9d
commit ef50447
Showing
1 changed file
with
44 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,45 +17,44 @@ permissions: # used by build images steps | |
contents: write # This is required for actions/checkout | ||
|
||
jobs: | ||
verify-head-status: | ||
name: Verify head | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
upgrade-images: | ||
name: Upgrade main images | ||
needs: verify-head-status | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.BOT_TOKEN }} | ||
fetch-depth: 0 | ||
|
||
- name: Bump sec-scanners-config.yaml | ||
run: ./.github/scripts/upgrade-sec-scanners-config.sh | ||
env: | ||
IMG_VERSION: ${{ github.event.inputs.name }} | ||
|
||
- name: Commit&Push | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "otter-releaser" | ||
git add . | ||
git commit --allow-empty -m "upgrade dependencies" | ||
git push origin ${{ github.ref_name }} | ||
# verify-head-status: | ||
# name: Verify head | ||
# runs-on: ubuntu-latest | ||
# | ||
# steps: | ||
# - name: Checkout code | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 0 | ||
# | ||
# upgrade-images: | ||
# name: Upgrade main images | ||
# needs: verify-head-status | ||
# runs-on: ubuntu-latest | ||
# | ||
# steps: | ||
# - name: Checkout code | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# token: ${{ secrets.BOT_TOKEN }} | ||
# fetch-depth: 0 | ||
# | ||
# - name: Bump sec-scanners-config.yaml | ||
# run: ./.github/scripts/upgrade-sec-scanners-config.sh | ||
# env: | ||
# IMG_VERSION: ${{ github.event.inputs.name }} | ||
# | ||
# - name: Commit&Push | ||
# run: | | ||
# git config --local user.email "[email protected]" | ||
# git config --local user.name "otter-releaser" | ||
# | ||
# git add . | ||
# git commit --allow-empty -m "upgrade dependencies" | ||
# git push origin ${{ github.ref_name }} | ||
|
||
create-tag: | ||
name: Create tag | ||
needs: upgrade-images | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
|
@@ -68,9 +67,9 @@ jobs: | |
git tag ${{ github.event.inputs.name }} | ||
git push origin ${{ github.event.inputs.name }} | ||
builds: | ||
needs: create-tag | ||
uses: ./.github/workflows/_build.yaml | ||
# builds: | ||
# needs: create-tag | ||
# uses: ./.github/workflows/_build.yaml | ||
|
||
create-draft: | ||
name: Create draft release | ||
|
@@ -109,15 +108,15 @@ jobs: | |
outputs: | ||
release_id: ${{ steps.create-draft.outputs.release_id }} | ||
|
||
run-integration-test: | ||
needs: create-draft | ||
uses: ./.github/workflows/_integration-tests.yaml | ||
with: | ||
image: europe-docker.pkg.dev/kyma-project/prod/keda-manager:${{ github.event.inputs.name }} | ||
# run-integration-test: | ||
# needs: create-draft | ||
# uses: ./.github/workflows/_integration-tests.yaml | ||
# with: | ||
# image: europe-docker.pkg.dev/kyma-project/prod/keda-manager:${{ github.event.inputs.name }} | ||
|
||
publish-release: | ||
name: Publish release | ||
needs: [run-integration-test, create-draft] | ||
needs: [create-draft] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|