Skip to content

Commit

Permalink
Migrate flxible-ipam job to the 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 Nov 11, 2024
1 parent b6d4238 commit ee9f8cd
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 146 deletions.
146 changes: 38 additions & 108 deletions ci/jenkins/jobs/projects-cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1548,111 +1548,41 @@
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-pr':
test_name: kind-all-features-conformance
node: 'antrea-kind-testbed'
description: 'This is the {test_name} test for {name}.'
branches:
- ${{sha1}}
builders:
- builder-conformance-kind:
conformance_type: 'all-features-conformance'
ip_version: 'ipv4'
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-(kind-all-features-conformance|kind-all|all-features-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
status_context: jenkins-kind-all-features-conformance
status_url: null
success_status: Build finished.
failure_status: Failed. Add comment /test-kind-all-features-conformance to re-trigger.
error_status: Failed. Add comment /test-kind-all-features-conformance to re-trigger.
triggered_status: null
started_status: null
wrappers:
- credentials-binding:
- text:
credential-id: CODECOV_TOKEN
variable: CODECOV_TOKEN
- timeout:
fail: true
timeout: 80
type: absolute
- credentials-binding:
- text:
credential-id: DOCKER_USERNAME
variable: DOCKER_USERNAME
- text:
credential-id: DOCKER_PASSWORD
variable: DOCKER_PASSWORD
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-pr':
test_name: kind-whole-conformance
node: 'antrea-kind-testbed'
description: 'This is the {test_name} test for {name}.'
branches:
- ${{sha1}}
builders:
- builder-conformance-kind:
conformance_type: 'whole-conformance'
ip_version: 'ipv4'
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-(kind-whole-conformance|kind-all|whole-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
status_context: jenkins-kind-whole-conformance
status_url: null
success_status: Build finished.
failure_status: Failed. Add comment /test-kind-whole-conformance to re-trigger.
error_status: Failed. Add comment /test-kind-whole-conformance to re-trigger.
triggered_status: null
started_status: null
wrappers:
- credentials-binding:
- text:
credential-id: CODECOV_TOKEN
variable: CODECOV_TOKEN
- timeout:
fail: true
timeout: 240
type: absolute
- credentials-binding:
- text:
credential-id: DOCKER_USERNAME
variable: DOCKER_USERNAME
- text:
credential-id: DOCKER_PASSWORD
variable: DOCKER_PASSWORD
publishers:
- archive:
allow-empty: true
artifacts: '*sonobuoy*.tar.gz, whole-conformance-coverage.tar.gz'
case-sensitive: true
default-excludes: true
fingerprint: false
only-if-success: false
publishers: []
- '{name}-{test_name}-for-pull-request':
test_name: kind-flexible-ipam-e2e
node: 'kind-flexible-ipam-testbed'
description: 'This is the {test_name} test for {name}.'
branches:
- ${{sha1}}
builders:
- builder-kind-flexible-ipam-e2e:
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-flexible-ipam-e2e.*
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-flexible-ipam-e2e
status_url: --none--
success_status: Build finished.
failure_status: Failed. Add comment /test-kind-flexible-ipam-e2e to re-trigger.
error_status: Failed. Add comment /test-kind-flexible-ipam-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
39 changes: 1 addition & 38 deletions ci/jenkins/jobs/projects-lab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1230,41 +1230,4 @@
- text:
credential-id: JENKINS_API_TOKEN
variable: JENKINS_API_TOKEN
publishers: []
- '{name}-{test_name}-for-pull-request':
test_name: kind-flexible-ipam-e2e
node: 'antrea-kind-flexible-ipam-testbed'
description: 'This is the {test_name} test for {name}.'
branches:
- ${{sha1}}
builders:
- builder-kind-flexible-ipam-e2e:
kind_cluster_name: '{test_name}'
trigger_phrase: ^(?!Thanks for your PR).*/test-kind-flexible-ipam-e2e.*
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-flexible-ipam-e2e
status_url: --none--
success_status: Build finished.
failure_status: Failed. Add comment /test-kind-flexible-ipam-e2e to re-trigger.
error_status: Failed. Add comment /test-kind-flexible-ipam-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
publishers: []

0 comments on commit ee9f8cd

Please sign in to comment.