diff --git a/.github/workflows/add-ci-passed-label.yml b/.github/workflows/add-ci-passed-label.yml index 5691d227c75..817e07928a4 100644 --- a/.github/workflows/add-ci-passed-label.yml +++ b/.github/workflows/add-ci-passed-label.yml @@ -56,19 +56,7 @@ jobs: event_action=$(cat ./event_action) echo "pr_number=${pr_number}" >> $GITHUB_OUTPUT echo "event_action=${event_action}" >> $GITHUB_OUTPUT - - add_ci_passed_label: - name: Add 'ci-passed' label - runs-on: ubuntu-latest - needs: fetch_data - steps: - - name: Add 'ci-passed' label - run: | - echo "Adding 'ci-passed' label to PR #${{ needs.fetch_data.outputs.pr_number }}" - gh pr edit ${{ needs.fetch_data.outputs.pr_number }} --add-label "ci-passed" --repo $GITHUB_REPOSITORY - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + reset_ci_passed_label: name: Reset 'ci-passed' label on PR Synchronization runs-on: ubuntu-latest @@ -82,3 +70,15 @@ jobs: fi env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + add_ci_passed_label: + name: Add 'ci-passed' label + runs-on: ubuntu-latest + needs: fetch_data + steps: + - name: Add 'ci-passed' label + run: | + echo "Adding 'ci-passed' label to PR #${{ needs.fetch_data.outputs.pr_number }}" + gh pr edit ${{ needs.fetch_data.outputs.pr_number }} --add-label "ci-passed" --repo $GITHUB_REPOSITORY + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index faef43a0042..5b71c28602f 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -71,3 +71,4 @@ jobs: with: name: kfp-tekton-backend-artifacts path: /tmp/tmp.*/* +#FORCE RUN \ No newline at end of file diff --git a/.github/workflows/ci-checks.yml b/.github/workflows/ci-checks.yml index 5d03fa6771e..db3cf4829a6 100644 --- a/.github/workflows/ci-checks.yml +++ b/.github/workflows/ci-checks.yml @@ -1,4 +1,4 @@ -# This workflow checks if all CI checks have passed by polling every 5 minutes for a total of 7 attempts. +# This workflow checks if all CI checks have passed by polling every 5 minutes for a total of 8 attempts. name: CI Check on: @@ -11,12 +11,25 @@ jobs: permissions: checks: read pull-requests: write - steps: + steps: + - name: Check for 'needs-ok-to-test' label + id: label_check + run: | + LABELS=$(gh pr view ${{ github.event.pull_request.number }} --json labels --jq '.labels[].name') + if echo "$LABELS" | grep -q 'needs-ok-to-test'; then + echo "Label 'needs-ok-to-test' found. Skipping the workflow." + exit 0 + else + echo "Label 'needs-ok-to-test' not found. Continuing the workflow." + fi + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Check if all CI checks passed uses: wechuli/allcheckspassed@0b68b3b7d92e595bcbdea0c860d05605720cf479 with: delay: '5' - retries: '7' + retries: '8' polling_interval: '5' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index bc7783bafda..e1c90ac7522 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -195,3 +195,4 @@ jobs: with: name: kfp-basic-sample-tests-artifacts path: /tmp/tmp.*/* +#FORCE RUN \ No newline at end of file diff --git a/.github/workflows/kfp-samples.yml b/.github/workflows/kfp-samples.yml index e63619f2574..573c847dcfc 100644 --- a/.github/workflows/kfp-samples.yml +++ b/.github/workflows/kfp-samples.yml @@ -33,3 +33,4 @@ jobs: - name: Run Samples Tests run: | ./backend/src/v2/test/sample-test.sh +#FORCE RUN \ No newline at end of file diff --git a/.github/workflows/kfp-sdk-tests.yml b/.github/workflows/kfp-sdk-tests.yml index 0f0266d8f5d..9ff10b3d1a5 100644 --- a/.github/workflows/kfp-sdk-tests.yml +++ b/.github/workflows/kfp-sdk-tests.yml @@ -28,3 +28,4 @@ jobs: - name: Run SDK Tests run: | ./test/presubmit-tests-sdk.sh +#FORCE RUN \ No newline at end of file diff --git a/.github/workflows/kubeflow-pipelines-integration-v2.yml b/.github/workflows/kubeflow-pipelines-integration-v2.yml index cef8c26d764..4e5f508511e 100644 --- a/.github/workflows/kubeflow-pipelines-integration-v2.yml +++ b/.github/workflows/kubeflow-pipelines-integration-v2.yml @@ -37,3 +37,4 @@ jobs: - name: Run the Integration Tests run: | ./backend/src/v2/test/integration-test.sh +#FORCE RUN \ No newline at end of file diff --git a/.github/workflows/upgrade-test.yml b/.github/workflows/upgrade-test.yml index bd40b868549..172168da8cf 100644 --- a/.github/workflows/upgrade-test.yml +++ b/.github/workflows/upgrade-test.yml @@ -41,3 +41,4 @@ jobs: - name: Prepare verification tests v2 working-directory: backend/test/v2/integration run: go test -v ./... -namespace ${NAMESPACE} -args -runUpgradeTests=true -testify.m=Verify +#FORCE RUN \ No newline at end of file