Skip to content

Commit

Permalink
Add IPV4 Kind CI Job support for cloud jenkins
Browse files Browse the repository at this point in the history
Signed-off-by: KMAnju-2021 <[email protected]>
  • Loading branch information
KMAnju-2021 committed Oct 1, 2024
1 parent 85e1c67 commit aa10062
Show file tree
Hide file tree
Showing 2 changed files with 197 additions and 387 deletions.
233 changes: 197 additions & 36 deletions ci/jenkins/jobs/projects-cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1206,8 +1206,127 @@
fingerprint: false
only-if-success: false
- '{name}-{test_name}-for-pull-request':
test_name: kind-aws-ipv6-only-networkpolicy
node: 'antrea-kind-test'
test_name: kind-cloud-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-cloud-(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-cloud-e2e to re-trigger.
error_status: Failed. Add comment /test-kind-cloud-e2e to re-trigger.
triggered_status: null
started_status: null
wrappers:
- timeout:
fail: true
timeout: 135
type: absolute
publishers:
- archive:
allow-empty: true
artifacts: antrea-test-logs.tar.gz
case-sensitive: true
default-excludes: true
fingerprint: false
only-if-success: false
- '{name}-{test_name}-for-pull-request':
test_name: kind-cloud-conformance
node: 'antrea-kind-testbed'
description: 'This is for running conformance tests on kind.'
branches:
- ${{sha1}}
builders:
- builder-conformance-kind:
conformance_type: 'conformance'
ip_version: 'ipv4'
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-cloud-(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.
failure_status: Failed. Add comment /test-kind-cloud-conformance to re-trigger.
error_status: Failed. Add comment /test-kind-cloud-conformance to re-trigger.
triggered_status: null
started_status: null
wrappers:
- timeout:
fail: true
timeout: 135
type: absolute
publishers:
- archive:
allow-empty: true
artifacts: '*sonobuoy*.tar.gz'
case-sensitive: true
default-excludes: true
fingerprint: false
only-if-success: false
- '{name}-{test_name}-for-pull-request':
test_name: kind-cloud-networkpolicy
node: 'antrea-kind-testbed'
description: 'This is for running networkpolicy tests on kind.'
branches:
- ${{sha1}}
builders:
- builder-conformance-kind:
conformance_type: 'networkpolicy'
ip_version: 'ipv4'
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-cloud-(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-cloud-networkpolicy
status_url: --none--
success_status: Build finished.
failure_status: Failed. Add comment /test-kind-cloud-networkpolicy to re-trigger.
error_status: Failed. Add comment /test-kind-cloud-networkpolicy to re-trigger.
triggered_status: null
started_status: null
wrappers:
- timeout:
fail: true
timeout: 135
type: absolute
publishers:
- archive:
allow-empty: true
artifacts: '*sonobuoy*.tar.gz'
case-sensitive: true
default-excludes: true
fingerprint: false
only-if-success: false
- '{name}-{test_name}-for-pull-request':
test_name: kind-cloud-ipv6-only-networkpolicy
node: 'antrea-kind-testbed'
description: 'This is the {test_name} test for {name}.'
branches:
- ${{sha1}}
Expand All @@ -1216,7 +1335,7 @@
conformance_type: 'networkpolicy'
ip_version: 'ipv6'
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-aws-ipv6-only-(networkpolicy|all).*
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-cloud-ipv6-only-(networkpolicy|all).*
white_list_target_branches: []
allow_whitelist_orgs_as_admins: true
admin_list: '{antrea_admin_list}'
Expand All @@ -1227,19 +1346,26 @@
status_context: jenkins-kind-ipv6-only-networkpolicy
status_url: --none--
success_status: Build finished.
failure_status: Failed. Add comment /test-kind-aws-ipv6-only-networkpolicy to re-trigger.
error_status: Failed. Add comment /test-kind-aws-ipv6-only-networkpolicy to re-trigger.
failure_status: Failed. Add comment /test-kind-cloud-ipv6-only-networkpolicy to re-trigger.
error_status: Failed. Add comment /test-kind-cloud-ipv6-only-networkpolicy to re-trigger.
triggered_status: null
started_status: null
wrappers:
- timeout:
fail: true
timeout: 135
type: absolute
publishers: []
publishers:
- archive:
allow-empty: true
artifacts: '*sonobuoy*.tar.gz'
case-sensitive: true
default-excludes: true
fingerprint: false
only-if-success: false
- '{name}-{test_name}-for-pull-request':
test_name: kind-aws-ipv6-only-conformance
node: 'antrea-kind-test'
test_name: kind-cloud-ipv6-only-conformance
node: 'antrea-kind-testbed'
description: 'This is the {test_name} test for {name}.'
branches:
- ${{sha1}}
Expand All @@ -1248,7 +1374,7 @@
conformance_type: 'conformance'
ip_version: 'ipv6'
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-aws-ipv6-only-(conformance|all).*
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-cloud-ipv6-only-(conformance|all).*
white_list_target_branches: []
allow_whitelist_orgs_as_admins: true
admin_list: '{antrea_admin_list}'
Expand All @@ -1259,27 +1385,34 @@
status_context: jenkins-kind-ipv6-only-conformance
status_url: --none--
success_status: Build finished.
failure_status: Failed. Add comment /test-kind-aws-ipv6-only-conformance to re-trigger.
error_status: Failed. Add comment /test-kind-aws-ipv6-only-conformance to re-trigger.
failure_status: Failed. Add comment /test-kind-cloud-ipv6-only-conformance to re-trigger.
error_status: Failed. Add comment /test-kind-cloud-ipv6-only-conformance to re-trigger.
triggered_status: null
started_status: null
wrappers:
- timeout:
fail: true
timeout: 135
type: absolute
publishers: []
publishers:
- archive:
allow-empty: true
artifacts: '*sonobuoy*.tar.gz'
case-sensitive: true
default-excludes: true
fingerprint: false
only-if-success: false
- '{name}-{test_name}-for-pull-request':
test_name: kind-aws-ipv6-only-e2e
node: 'antrea-kind-test'
test_name: kind-cloud-ipv6-only-e2e
node: 'antrea-kind-testbed'
description: 'This is the {test_name} test for {name}.'
branches:
- ${{sha1}}
builders:
- builder-e2e-kind:
ip_version: 'ipv6'
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-aws-ipv6-only-(e2e|all).*
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-cloud-ipv6-only-(e2e|all).*
white_list_target_branches: []
allow_whitelist_orgs_as_admins: true
admin_list: '{antrea_admin_list}'
Expand All @@ -1290,19 +1423,26 @@
status_context: jenkins-kind-ipv6-only-e2e
status_url: --none--
success_status: Build finished.
failure_status: Failed. Add comment /test-kind-aws-ipv6-only-e2e to re-trigger.
error_status: Failed. Add comment /test-kind-aws-ipv6-only-e2e to re-trigger.
failure_status: Failed. Add comment /test-kind-cloud-ipv6-only-e2e to re-trigger.
error_status: Failed. Add comment /test-kind-cloud-ipv6-only-e2e to re-trigger.
triggered_status: null
started_status: null
wrappers:
- timeout:
fail: true
timeout: 135
type: absolute
publishers: []
publishers:
- archive:
allow-empty: true
artifacts: antrea-test-logs.tar.gz
case-sensitive: true
default-excludes: true
fingerprint: false
only-if-success: false
- '{name}-{test_name}-for-pull-request':
test_name: kind-aws-ipv6-ds-networkpolicy
node: 'antrea-kind-test'
test_name: kind-cloud-ipv6-ds-networkpolicy
node: 'antrea-kind-testbed'
description: 'This is the {test_name} test for {name}.'
branches:
- ${{sha1}}
Expand All @@ -1311,7 +1451,7 @@
conformance_type: 'networkpolicy'
ip_version: 'dual'
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-aws-ipv6-(networkpolicy|all).*
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-cloud-ipv6-(networkpolicy|all).*
white_list_target_branches: []
allow_whitelist_orgs_as_admins: true
admin_list: '{antrea_admin_list}'
Expand All @@ -1322,19 +1462,26 @@
status_context: jenkins-kind-ipv6-ds-networkpolicy
status_url: --none--
success_status: Build finished.
failure_status: Failed. Add comment /test-kind-aws-ipv6-networkpolicy to re-trigger.
error_status: Failed. Add comment /test-kind-aws-ipv6-networkpolicy to re-trigger.
failure_status: Failed. Add comment /test-kind-cloud-ipv6-networkpolicy to re-trigger.
error_status: Failed. Add comment /test-kind-cloud-ipv6-networkpolicy to re-trigger.
triggered_status: null
started_status: null
wrappers:
- timeout:
fail: true
timeout: 135
type: absolute
publishers: []
publishers:
- archive:
allow-empty: true
artifacts: '*sonobuoy*.tar.gz'
case-sensitive: true
default-excludes: true
fingerprint: false
only-if-success: false
- '{name}-{test_name}-for-pull-request':
test_name: kind-aws-ipv6-ds-conformance
node: 'antrea-kind-test'
test_name: kind-cloud-ipv6-ds-conformance
node: 'antrea-kind-testbed'
description: 'This is the {test_name} test for {name}.'
branches:
- ${{sha1}}
Expand All @@ -1343,7 +1490,7 @@
conformance_type: 'conformance'
ip_version: 'dual'
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-aws-ipv6-(conformance|all).*
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-cloud-ipv6-(conformance|all).*
white_list_target_branches: []
allow_whitelist_orgs_as_admins: true
admin_list: '{antrea_admin_list}'
Expand All @@ -1354,27 +1501,34 @@
status_context: jenkins-kind-ipv6-ds-conformance
status_url: --none--
success_status: Build finished.
failure_status: Failed. Add comment /test-kind-aws-ipv6-conformance to re-trigger.
error_status: Failed. Add comment /test-kind-aws-ipv6-conformance to re-trigger.
failure_status: Failed. Add comment /test-kind-cloud-ipv6-conformance to re-trigger.
error_status: Failed. Add comment /test-kind-cloud-ipv6-conformance to re-trigger.
triggered_status: null
started_status: null
wrappers:
- timeout:
fail: true
timeout: 135
type: absolute
publishers: []
publishers:
- archive:
allow-empty: true
artifacts: '*sonobuoy*.tar.gz'
case-sensitive: true
default-excludes: true
fingerprint: false
only-if-success: false
- '{name}-{test_name}-for-pull-request':
test_name: kind-aws-ipv6-ds-e2e
node: 'antrea-kind-test'
test_name: kind-cloud-ipv6-ds-e2e
node: 'antrea-kind-testbed'
description: 'This is the {test_name} test for {name}.'
branches:
- ${{sha1}}
builders:
- builder-e2e-kind:
ip_version: 'dual'
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-aws-ipv6-(e2e|all).*
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-cloud-ipv6-(e2e|all).*
white_list_target_branches: []
allow_whitelist_orgs_as_admins: true
admin_list: '{antrea_admin_list}'
Expand All @@ -1385,13 +1539,20 @@
status_context: jenkins-kind-ipv6-ds-e2e
status_url: --none--
success_status: Build finished.
failure_status: Failed. Add comment /test-kind-aws-ipv6-e2e to re-trigger.
error_status: Failed. Add comment /test-kind-aws-ipv6-e2e to re-trigger.
failure_status: Failed. Add comment /test-kind-cloud-ipv6-e2e to re-trigger.
error_status: Failed. Add comment /test-kind-cloud-ipv6-e2e to re-trigger.
triggered_status: null
started_status: null
wrappers:
- timeout:
fail: true
timeout: 135
type: absolute
publishers: []
publishers:
- archive:
allow-empty: true
artifacts: antrea-test-logs.tar.gz
case-sensitive: true
default-excludes: true
fingerprint: false
only-if-success: false
Loading

0 comments on commit aa10062

Please sign in to comment.