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

workflows: remove label filters for testing workflows #16735

Merged
merged 1 commit into from
Jul 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 16 additions & 7 deletions .github/workflows/conformance-aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,18 @@ on:
schedule:
- cron: '0 0/6 * * *'
### FOR TESTING PURPOSES
# pull_request:
# types:
# - "labeled"
# This workflow runs in the context of `master`, and ignores changes to
# workflow files in PRs. For testing changes to this workflow from a PR:
# - Make sure the PR uses a branch from the base repository (requires write
# privileges). It will not work with a branch from a fork (missing secrets).
# - Uncomment the `pull_request` event below, commit separately with a `DO
# NOT MERGE` message, and push to the PR. As long as the commit is present,
# any push to the PR will trigger this workflow.
# - Don't forget to remove the `DO NOT MERGE` commit once satisfied. The run
# will disappear from the PR checks: please provide a direct link to the
# successful workflow run (can be found from Actions tab) in a comment.
#
# pull_request: {}
###

concurrency:
Expand All @@ -33,12 +42,12 @@ jobs:
check_changes:
name: Deduce required tests from code changes
if: |
(github.event.issue.pull_request && (
(github.event_name == 'issue_comment' && (
startsWith(github.event.comment.body, 'ci-aks') ||
(startsWith(github.event.comment.body, 'test-me-please'))
)) ||
(github.event_name == 'schedule' && github.repository == 'cilium/cilium') ||
github.event.label.name == 'ci-run/aks'
github.event_name == 'pull_request'
runs-on: ubuntu-latest
outputs:
tested: ${{ steps.tested-tree.outputs.src }}
Expand Down Expand Up @@ -73,12 +82,12 @@ jobs:
installation-and-connectivity:
needs: check_changes
if: |
(github.event.issue.pull_request && (
(github.event_name == 'issue_comment' && (
startsWith(github.event.comment.body, 'ci-aks') ||
(startsWith(github.event.comment.body, 'test-me-please') && (needs.check_changes.outputs.tested == 'true'))
)) ||
(github.event_name == 'schedule' && github.repository == 'cilium/cilium') ||
github.event.label.name == 'ci-run/aks'
github.event_name == 'pull_request'
runs-on: ubuntu-latest
timeout-minutes: 35
steps:
Expand Down
23 changes: 16 additions & 7 deletions .github/workflows/conformance-aws-cni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,18 @@ on:
schedule:
- cron: '30 0/6 * * *'
### FOR TESTING PURPOSES
# pull_request:
# types:
# - "labeled"
# This workflow runs in the context of `master`, and ignores changes to
# workflow files in PRs. For testing changes to this workflow from a PR:
# - Make sure the PR uses a branch from the base repository (requires write
# privileges). It will not work with a branch from a fork (missing secrets).
# - Uncomment the `pull_request` event below, commit separately with a `DO
# NOT MERGE` message, and push to the PR. As long as the commit is present,
# any push to the PR will trigger this workflow.
# - Don't forget to remove the `DO NOT MERGE` commit once satisfied. The run
# will disappear from the PR checks: please provide a direct link to the
# successful workflow run (can be found from Actions tab) in a comment.
#
# pull_request: {}
###

concurrency:
Expand All @@ -33,12 +42,12 @@ jobs:
check_changes:
name: Deduce required tests from code changes
if: |
(github.event.issue.pull_request && (
(github.event_name == 'issue_comment' && (
startsWith(github.event.comment.body, 'ci-awscni') ||
(startsWith(github.event.comment.body, 'test-me-please'))
)) ||
(github.event_name == 'schedule' && github.repository == 'cilium/cilium') ||
github.event.label.name == 'ci-run/awscni'
github.event_name == 'pull_request'
runs-on: ubuntu-latest
outputs:
tested: ${{ steps.tested-tree.outputs.src }}
Expand Down Expand Up @@ -73,12 +82,12 @@ jobs:
installation-and-connectivity:
needs: check_changes
if: |
(github.event.issue.pull_request && (
(github.event_name == 'issue_comment' && (
startsWith(github.event.comment.body, 'ci-awscni') ||
(startsWith(github.event.comment.body, 'test-me-please') && (needs.check_changes.outputs.tested == 'true'))
)) ||
(github.event_name == 'schedule' && github.repository == 'cilium/cilium') ||
github.event.label.name == 'ci-run/awscni'
github.event_name == 'pull_request'
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
Expand Down
23 changes: 16 additions & 7 deletions .github/workflows/conformance-eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,18 @@ on:
schedule:
- cron: '0 1/6 * * *'
### FOR TESTING PURPOSES
# pull_request:
# types:
# - "labeled"
# This workflow runs in the context of `master`, and ignores changes to
# workflow files in PRs. For testing changes to this workflow from a PR:
# - Make sure the PR uses a branch from the base repository (requires write
# privileges). It will not work with a branch from a fork (missing secrets).
# - Uncomment the `pull_request` event below, commit separately with a `DO
# NOT MERGE` message, and push to the PR. As long as the commit is present,
# any push to the PR will trigger this workflow.
# - Don't forget to remove the `DO NOT MERGE` commit once satisfied. The run
# will disappear from the PR checks: please provide a direct link to the
# successful workflow run (can be found from Actions tab) in a comment.
#
# pull_request: {}
###

concurrency:
Expand All @@ -33,12 +42,12 @@ jobs:
check_changes:
name: Deduce required tests from code changes
if: |
(github.event.issue.pull_request && (
(github.event_name == 'issue_comment' && (
startsWith(github.event.comment.body, 'ci-eks') ||
(startsWith(github.event.comment.body, 'test-me-please'))
)) ||
(github.event_name == 'schedule' && github.repository == 'cilium/cilium') ||
github.event.label.name == 'ci-run/eks'
github.event_name == 'pull_request'
runs-on: ubuntu-latest
outputs:
tested: ${{ steps.tested-tree.outputs.src }}
Expand Down Expand Up @@ -73,12 +82,12 @@ jobs:
installation-and-connectivity:
needs: check_changes
if: |
(github.event.issue.pull_request && (
(github.event_name == 'issue_comment' && (
startsWith(github.event.comment.body, 'ci-eks') ||
(startsWith(github.event.comment.body, 'test-me-please') && (needs.check_changes.outputs.tested == 'true'))
)) ||
(github.event_name == 'schedule' && github.repository == 'cilium/cilium') ||
github.event.label.name == 'ci-run/eks'
github.event_name == 'pull_request'
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
Expand Down
23 changes: 16 additions & 7 deletions .github/workflows/conformance-gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,18 @@ on:
schedule:
- cron: '0 2/6 * * *'
### FOR TESTING PURPOSES
# pull_request:
# types:
# - "labeled"
# This workflow runs in the context of `master`, and ignores changes to
# workflow files in PRs. For testing changes to this workflow from a PR:
# - Make sure the PR uses a branch from the base repository (requires write
# privileges). It will not work with a branch from a fork (missing secrets).
# - Uncomment the `pull_request` event below, commit separately with a `DO
# NOT MERGE` message, and push to the PR. As long as the commit is present,
# any push to the PR will trigger this workflow.
# - Don't forget to remove the `DO NOT MERGE` commit once satisfied. The run
# will disappear from the PR checks: please provide a direct link to the
# successful workflow run (can be found from Actions tab) in a comment.
#
# pull_request: {}
###

concurrency:
Expand All @@ -33,12 +42,12 @@ jobs:
check_changes:
name: Deduce required tests from code changes
if: |
(github.event.issue.pull_request && (
(github.event_name == 'issue_comment' && (
startsWith(github.event.comment.body, 'ci-gke') ||
(startsWith(github.event.comment.body, 'test-me-please'))
)) ||
(github.event_name == 'schedule' && github.repository == 'cilium/cilium') ||
github.event.label.name == 'ci-run/gke'
github.event_name == 'pull_request'
runs-on: ubuntu-latest
outputs:
tested: ${{ steps.tested-tree.outputs.src }}
Expand Down Expand Up @@ -73,12 +82,12 @@ jobs:
installation-and-connectivity:
needs: check_changes
if: |
(github.event.issue.pull_request && (
(github.event_name == 'issue_comment' && (
startsWith(github.event.comment.body, 'ci-gke') ||
(startsWith(github.event.comment.body, 'test-me-please') && (needs.check_changes.outputs.tested == 'true'))
)) ||
(github.event_name == 'schedule' && github.repository == 'cilium/cilium') ||
github.event.label.name == 'ci-run/gke'
github.event_name == 'pull_request'
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
Expand Down
23 changes: 16 additions & 7 deletions .github/workflows/conformance-multicluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,18 @@ on:
schedule:
- cron: '0 3/6 * * *'
### FOR TESTING PURPOSES
# pull_request:
# types:
# - "labeled"
# This workflow runs in the context of `master`, and ignores changes to
# workflow files in PRs. For testing changes to this workflow from a PR:
# - Make sure the PR uses a branch from the base repository (requires write
# privileges). It will not work with a branch from a fork (missing secrets).
# - Uncomment the `pull_request` event below, commit separately with a `DO
# NOT MERGE` message, and push to the PR. As long as the commit is present,
# any push to the PR will trigger this workflow.
# - Don't forget to remove the `DO NOT MERGE` commit once satisfied. The run
# will disappear from the PR checks: please provide a direct link to the
# successful workflow run (can be found from Actions tab) in a comment.
#
# pull_request: {}
###

concurrency:
Expand All @@ -34,12 +43,12 @@ jobs:
check_changes:
name: Deduce required tests from code changes
if: |
(github.event.issue.pull_request && (
(github.event_name == 'issue_comment' && (
startsWith(github.event.comment.body, 'ci-multicluster') ||
(startsWith(github.event.comment.body, 'test-me-please'))
)) ||
(github.event_name == 'schedule' && github.repository == 'cilium/cilium') ||
github.event.label.name == 'ci-run/multicluster'
github.event_name == 'pull_request'
runs-on: ubuntu-latest
outputs:
tested: ${{ steps.tested-tree.outputs.src }}
Expand Down Expand Up @@ -74,12 +83,12 @@ jobs:
installation-and-connectivity:
needs: check_changes
if: |
(github.event.issue.pull_request && (
(github.event_name == 'issue_comment' && (
startsWith(github.event.comment.body, 'ci-multicluster') ||
(startsWith(github.event.comment.body, 'test-me-please') && (needs.check_changes.outputs.tested == 'true'))
)) ||
(github.event_name == 'schedule' && github.repository == 'cilium/cilium') ||
github.event.label.name == 'ci-run/multicluster'
github.event_name == 'pull_request'
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/tests-l4lb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,18 @@ on:
schedule:
- cron: '0 5/6 * * *'
### FOR TESTING PURPOSES
# pull_request:
# types:
# - "labeled"
# This workflow runs in the context of `master`, and ignores changes to
# workflow files in PRs. For testing changes to this workflow from a PR:
# - Make sure the PR uses a branch from the base repository (requires write
# privileges). It will not work with a branch from a fork (missing secrets).
# - Uncomment the `pull_request` event below, commit separately with a `DO
# NOT MERGE` message, and push to the PR. As long as the commit is present,
# any push to the PR will trigger this workflow.
# - Don't forget to remove the `DO NOT MERGE` commit once satisfied. The run
# will disappear from the PR checks: please provide a direct link to the
# successful workflow run (can be found from Actions tab) in a comment.
#
# pull_request: {}
###

concurrency:
Expand All @@ -28,12 +37,12 @@ jobs:
setup-and-test:
name: Setup & Test
if: |
(github.event.issue.pull_request && (
(github.event_name == 'issue_comment' && (
startsWith(github.event.comment.body, 'ci-l4lb') ||
(startsWith(github.event.comment.body, 'test-me-please'))
)) ||
(github.event_name == 'schedule' && github.repository == 'cilium/cilium') ||
github.event.label.name == 'ci-run/l4lb'
github.event_name == 'pull_request'
# We need nested virtualisation which is supported only by MacOS runner
runs-on: macos-10.15
timeout-minutes: 30
Expand Down