Skip to content

Commit

Permalink
updated the kind triger phrases and added job to run ipv4 e2e tests i…
Browse files Browse the repository at this point in the history
…n kind

Signed-off-by: KMAnju-2021 <[email protected]>
  • Loading branch information
KMAnju-2021 committed Jun 19, 2024
1 parent 4926f2d commit e1643c7
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ Here are the trigger phrases for individual checks:
* `/test-rancher-e2e`: Linux IPv4 e2e tests on Rancher clusters.
* `/test-rancher-conformance`: Linux IPv4 conformance tests on Rancher clusters.
* `/test-rancher-networkpolicy`: Linux IPv4 networkpolicy tests on Rancher clusters.
* `/test-kind-e2e`: Linux IPv4 e2e tests on Kind
* `/test-kind-ipv6-e2e`: Linux dual stack e2e tests on Kind cluster.
* `/test-kind-ipv6-only-e2e`: Linux IPv6 only e2e tests on Kind cluster.
* `/test-kind-conformance`: Linux IPv4 conformance tests on Kind cluster.
Expand All @@ -195,6 +196,7 @@ Here are the trigger phrases for individual checks:
Here are the trigger phrases for groups of checks:
* `/test-all`: Linux IPv4 tests
* `/test-kind-all`: Linux IPv4 tests on Kind cluster
* `/test-windows-all`: Windows IPv4 tests, including e2e tests with proxyAll enabled. It also includes all containerd runtime based Windows tests since 1.10.0.
* `/test-ipv6-all`: Linux dual stack tests
* `/test-ipv6-only-all`: Linux IPv6 only tests
Expand Down
35 changes: 33 additions & 2 deletions ci/jenkins/jobs/projects-lab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,37 @@
- text:
credential-id: DOCKER_PASSWORD
variable: DOCKER_PASSWORD
- '{name}-{test_name}-for-pull-request':
test_name: kind-e2e
node: 'antrea-kind-testbed'
description: 'This is for running e2e tests on kind.'
branches:
- ${{sha1}}
builders:
- builder-e2e-kind:
ip_version: 'ipv4'
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-(e2e|all).*
white_list_target_branches: []
allow_whitelist_orgs_as_admins: true
admin_list: '{antrea_admin_list}'
org_list: '{antrea_org_list}'
white_list: '{antrea_white_list}'
only_trigger_phrase: true
trigger_permit_all: true
status_context: jenkins-kind-e2e
status_url: --none--
success_status: Build finished.
failure_status: Failed. Add comment /test-kind-e2e to re-trigger.
error_status: Failed. Add comment /test-kind-e2e to re-trigger.
triggered_status: null
started_status: null
wrappers:
- timeout:
fail: true
timeout: 135
type: absolute
publishers: []
- '{name}-{test_name}-for-pull-request':
test_name: kind-conformance
node: 'antrea-kind-testbed'
Expand All @@ -917,7 +948,7 @@
conformance_type: 'conformance'
ip_version: 'ipv4'
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-conformance.*
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-(conformance|all).*
white_list_target_branches: []
allow_whitelist_orgs_as_admins: true
admin_list: '{antrea_admin_list}'
Expand Down Expand Up @@ -949,7 +980,7 @@
conformance_type: 'networkpolicy'
ip_version: 'ipv4'
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-networkpolicy.*
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-(networkpolicy|all).*
white_list_target_branches: []
allow_whitelist_orgs_as_admins: true
admin_list: '{antrea_admin_list}'
Expand Down
1 change: 1 addition & 0 deletions ci/jenkins/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# limitations under the License.

set -eo pipefail
set +x

function echoerr {
>&2 echo "$@"
Expand Down

0 comments on commit e1643c7

Please sign in to comment.