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 20, 2024
1 parent 28ed3c9 commit 9b4d894
Show file tree
Hide file tree
Showing 2 changed files with 38 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 cluster.
* `/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
38 changes: 36 additions & 2 deletions ci/jenkins/jobs/projects-lab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,38 @@
- 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
throttle_concurrent_builds_enabled: '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,14 +949,15 @@
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}'
org_list: '{antrea_org_list}'
white_list: '{antrea_white_list}'
only_trigger_phrase: true
trigger_permit_all: true
throttle_concurrent_builds_enabled: 'true'
status_context: jenkins-kind-conformance
status_url: --none--
success_status: Build finished.
Expand All @@ -949,14 +982,15 @@
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}'
org_list: '{antrea_org_list}'
white_list: '{antrea_white_list}'
only_trigger_phrase: true
trigger_permit_all: true
throttle_concurrent_builds_enabled: 'true'
status_context: jenkins-kind-networkpolicy
status_url: --none--
success_status: Build finished.
Expand Down

0 comments on commit 9b4d894

Please sign in to comment.