From e39bbd7c0a8fe75fdfed904ba5ee07a51fa8b1e0 Mon Sep 17 00:00:00 2001 From: Sunnatillo Date: Fri, 10 May 2024 13:55:33 +0300 Subject: [PATCH] Remove outdated integration tests and openstack image building test files Change-Id: If2ccd930d3eaf9b1da4faa46b55ec833d844a511 Signed-off-by: Sunnatillo --- jjb/metal3/job_integration_tests.yml | 133 -------------------- jjb/metal3/job_openstack_image_building.yml | 70 ----------- jjb/metal3/projects.yml | 75 ----------- 3 files changed, 278 deletions(-) delete mode 100644 jjb/metal3/job_integration_tests.yml delete mode 100644 jjb/metal3/job_openstack_image_building.yml diff --git a/jjb/metal3/job_integration_tests.yml b/jjb/metal3/job_integration_tests.yml deleted file mode 100644 index 030d4c45e..000000000 --- a/jjb/metal3/job_integration_tests.yml +++ /dev/null @@ -1,133 +0,0 @@ ---- -# -# ============LICENSE_START======================================================= -# Copyright (C) 2019 Nordix Foundation. -# ================================================================================ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# SPDX-License-Identifier: Apache-2.0 -# ============LICENSE_END========================================================= - -# Description: -# ============ -# This file contains job template definition for Cluster API Provider Metal3 (CAPM3) integration tests. -# This job can be triggered manually or through a Github pull request. It creates a -# pipeline job. The pipeline scripts are maintained in Metal3 CI project infra repository. - -- job-template: - name: '{job_prefix}_{proj}_{capm3_target_branch}_integration_test_{image_os}{name_postfix}' - description: "CAPM3 {capm3_version} integration tests for {org}/{repo} on {image_os} with ironic installed from {ironic_install_type}." - id: 'integration_tests' - project-type: pipeline - defaults: integration-default-values - disabled: False - concurrent: True - parameters: - - string: - name: PROJECT_REPO_ORG - default: '{org}' - description: 'Project github repo org name' - - string: - name: PROJECT_REPO_NAME - default: '{repo}' - description: 'Project github repo name' - - string: - name: ghprbActualCommit - default: 'main' - description: 'CI Repo branch for triggering manual build' - - string: - name: ghprbAuthorRepoGitUrl - default: 'https://github.com/{org}/{repo}.git' - description: 'CI Repo URL for triggering manual build' - - string: - name: ghprbTargetBranch - default: 'main' - description: 'Target branch of the PR' - - string: - name: capm3_release_branch - default: '{capm3_release_branch}' - description: 'The target branch of CAPM3 to be used for this test' - - string: - name: bmo_release_branch - default: '{bmo_release_branch}' - description: 'The target branch of BMO to be used for this test' - - string: - name: IMAGE_OS - default: '{image_os}' - description: 'Distribution to use for the target host as well as source and target cluster. Can be ubuntu or centos' - - string: - name: CAPI_VERSION - default: '{capi_version}' - description: 'Cluster API version.' - - string: - name: CAPM3_VERSION - default: '{capm3_version}' - description: 'Cluster API provider Metal3 version.' - - string: - name: TARGET_NODE_MEMORY - default: 4096 - description: 'RAM size of the target host.' - - string: - name: IRONIC_INSTALL_TYPE - default: '{ironic_install_type}' - description: 'Sets the installation type of ironic during ironic-image build of the BMO deployment' - - string: - name: IRONIC_USE_MARIADB - default: '{ironic_use_mariadb}' - description: 'If Ironic should use MariaDB or not.' - - string: - name: BUILD_MARIADB_IMAGE_LOCALLY - default: '{build_mariadb_image_locally}' - properties: - - build-discarder: - days-to-keep: 30 - num-to-keep: 300 - artifact-days-to-keep: -1 - artifact-num-to-keep: -1 - - github: - url: https://github.com/{org}/{repo} - - triggers: - - github-pull-request: - admin-list: - - '{ci_github_admin_user}' - org-list: "{ci_github_whitelist_org}" - cron: 'H/5 * * * *' - auth-id: "{ci_ghprb_auth_id}" - trigger-phrase: '.*?/test-{image_os}-integration-{capm3_target_branch}{trigger_postfix}.*?' - skip-build-phrase: '/skip-test' - only-trigger-phrase: True - github-hooks: True - permit-all: False - auto-close-on-fail: False - allow-whitelist-orgs-as-admins: True - white-list-target-branches: "{target_branches}" - status-context: "test-{image_os}-integration-{capm3_target_branch}" - success-status: "Passed" - failure-status: "Failed" - error-status: "Error" - cancel-builds-on-update: True - pipeline-scm: - scm: - - git: - url: "{ci_github_repo}" - credentials-id: "{ci_github_jenkins_credentials_id}" - branches: - - '{branch|main}' - name: 'origin' - refspec: '+refs/heads/*:refs/remotes/origin/*' - wipe-workspace: True - honor-refspec: True - shallow-clone: False - script-path: "{ci_github_pipeline}" - lightweight-checkout: False diff --git a/jjb/metal3/job_openstack_image_building.yml b/jjb/metal3/job_openstack_image_building.yml deleted file mode 100644 index 18e02ae28..000000000 --- a/jjb/metal3/job_openstack_image_building.yml +++ /dev/null @@ -1,70 +0,0 @@ -# -# ============LICENSE_START======================================================= -# Copyright (C) 2019 Nordix Foundation. -# ================================================================================ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# SPDX-License-Identifier: Apache-2.0 -# ============LICENSE_END========================================================= - -# Description: -# ============ -# This file contains job template definition for Openstack image building tests. -# This job can be triggered manually or through a Github pull request. It creates a -# pipeline job. The pipeline scripts are maintained in Nordix/metal3-dev-tools repository. - -# NOTE: KUBERNETES_VERSION and KUBECTL_SHA256 are changed as a pair - -- job-template: - id: openstack_image_building - name: '{job_prefix}_openstack_image_building' - description: "Builder job for Openstack images for Metal3 CI" - project-type: pipeline - defaults: global - disabled: False - concurrent: True - parameters: - - string: - name: KUBERNETES_VERSION - default: "v1.30.0" - description: 'Kubernetes version' - - string: - name: KUBECTL_SHA256 - default: '7c3807c0f5c1b30110a2ff1e55da1d112a6d0096201f1beb81b269f582b5d1c5' # v1.30.0 - description: 'Kubectl SHA256 digest matching KUBERNETES_VERSION' - - string: - name: KIND_NODE_IMAGE_VERSION - default: "v1.29.2" - description: 'Kind node container image version' - - properties: - - build-discarder: - days-to-keep: 30 - num-to-keep: 300 - artifact-days-to-keep: -1 - artifact-num-to-keep: -1 - - pipeline-scm: - scm: - - git: - url: "{ci_github_repo}" - credentials-id: "{ci_github_jenkins_credentials_id}" - branches: - - 'main' - name: 'origin' - refspec: '+refs/heads/*:refs/remotes/origin/*' - wipe-workspace: True - honor-refspec: True - shallow-clone: False - script-path: 'ci/jobs/{id}.pipeline' - lightweight-checkout: False diff --git a/jjb/metal3/projects.yml b/jjb/metal3/projects.yml index 7d278b62b..5f07cb7bb 100644 --- a/jjb/metal3/projects.yml +++ b/jjb/metal3/projects.yml @@ -52,81 +52,6 @@ - ci_image_building - node_image_building -- project: - name: integration-tests - org: metal3-io - proj: - - metal3_dev_env: - repo: metal3-dev-env - - project_infra: - repo: project-infra - branch: '${{ghprbActualCommit}}' - ci_github_repo: '${{ghprbAuthorRepoGitUrl}}' - - capm3: - repo: cluster-api-provider-metal3 - - bmo: - repo: baremetal-operator - - ipam: - repo: ip-address-manager - - ironic_image: - repo: ironic-image - name_postfix: '_ironic_from_source' - trigger_postfix: '-ironic-source' - ironic_install_type: 'source' - target_branches: - - 'main' - - 'release-23.1' - - 'release-24.0' - - 'release-24.1' - - ironic_image: - repo: ironic-image - - ironic_ipa_downloader: - repo: ironic-ipa-downloader - - mariadb_image: - repo: mariadb-image - build_mariadb_image_locally: 'true' - ironic_use_mariadb: 'true' - image_os: - - ubuntu - - centos - capm3_target_branch: - - main: - capi_version: v1beta1 - capm3_version: v1beta1 - capm3_release_branch: main - bmo_release_branch: main - target_branches: - - 'main' - - release-1-7: - capi_version: v1beta1 - capm3_version: v1beta1 - capm3_release_branch: release-1.7 - bmo_release_branch: release-0.6 - target_branches: - - 'main' - - 'release-1.7' - - 'release-0.6' - - release-1-6: - capi_version: v1beta1 - capm3_version: v1beta1 - capm3_release_branch: release-1.6 - bmo_release_branch: release-0.5 - target_branches: - - 'main' - - 'release-1.6' - - 'release-0.5' - - release-1-5: - capi_version: v1beta1 - capm3_version: v1beta1 - capm3_release_branch: release-1.5 - bmo_release_branch: release-0.4 - target_branches: - - 'main' - - 'release-1.5' - - 'release-0.4' - jobs: - - integration_tests - - project: name: bml-tests org: metal3-io -- 2.25.1