Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a force option to run anywhere #49

Merged
merged 1 commit into from
Sep 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/incluster-comp-pr-merged.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
HELM_BRANCH:
required: false
type: string
default: release
default: main
IMAGE_NAME:
required: true
type: string
Expand Down Expand Up @@ -52,10 +52,14 @@ on:
default: master
type: string
description: 'system tests branch'
FORCE:
required: false
default: false
type: boolean

jobs:
docker-build:
if: ${{ (contains(github.event.pull_request.labels.*.name, 'release') || contains( github.event.pull_request.labels.*.name, 'trigger-integration-test')) && github.repository_owner == 'kubescape' }}
if: ${{ ((contains(github.event.pull_request.labels.*.name, 'release') || contains( github.event.pull_request.labels.*.name, 'trigger-integration-test')) && github.repository_owner == 'kubescape') || inputs.FORCE }}
runs-on: ubuntu-latest
outputs:
IMAGE_TAG_PRERELEASE: ${{ steps.image-prerelease-tag.outputs.IMAGE_TAG_PRERELEASE }}
Expand Down Expand Up @@ -254,7 +258,6 @@ jobs:
with:
workflow: 00-cicd.yaml
repo: kubescape/helm-charts
ref: dev
ref: ${{ inputs.HELM_BRANCH }}
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
inputs: '{"IMAGE_TAG":"${{ inputs.IMAGE_TAG }}","COMPONENT_NAME":"${{ inputs.COMPONENT_NAME }}","HELM_E2E_TEST":"${{ inputs.HELM_E2E_TEST }}","CHANGE_TAG":"true"}'

Loading