From ee9f8cd651136c99df7bc59609f969274214e5d1 Mon Sep 17 00:00:00 2001 From: KMAnju-2021 Date: Sun, 6 Oct 2024 17:03:50 +0530 Subject: [PATCH] Migrate flxible-ipam job to the cloud Jenkins Signed-off-by: KMAnju-2021 --- ci/jenkins/jobs/projects-cloud.yaml | 146 ++++++++-------------------- ci/jenkins/jobs/projects-lab.yaml | 39 +------- 2 files changed, 39 insertions(+), 146 deletions(-) diff --git a/ci/jenkins/jobs/projects-cloud.yaml b/ci/jenkins/jobs/projects-cloud.yaml index c313dd3361a..e359e65dc6e 100644 --- a/ci/jenkins/jobs/projects-cloud.yaml +++ b/ci/jenkins/jobs/projects-cloud.yaml @@ -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 diff --git a/ci/jenkins/jobs/projects-lab.yaml b/ci/jenkins/jobs/projects-lab.yaml index e4193d3a021..6529fbf680e 100644 --- a/ci/jenkins/jobs/projects-lab.yaml +++ b/ci/jenkins/jobs/projects-lab.yaml @@ -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: [] \ No newline at end of file