From: Nauman Yaseen Date: Thu, 23 Dec 2021 11:55:49 +0000 (+0000) Subject: Merge "Remove yardstick test phase from k8s release job" X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=f4e1ae2adf90046cb4df4a4025b0fda495b5a76a;hp=0d1660c2a0c7bb208db7a18ebb44087ff1c2b8cb;p=infra%2Fcicd.git Merge "Remove yardstick test phase from k8s release job" --- diff --git a/jjb/airship/job_airship_integration_test_centos.yml b/jjb/airship/job_airship_integration_test_centos.yml index 56d77aae..24fcaefa 100644 --- a/jjb/airship/job_airship_integration_test_centos.yml +++ b/jjb/airship/job_airship_integration_test_centos.yml @@ -73,10 +73,6 @@ name: TARGET_NODE_MEMORY default: 4096 description: 'RAM size of the target host.' - - string: - name: KUBERNETES_VERSION - default: "v1.22.0" - description: 'Kubernetes version' properties: - build-discarder: @@ -103,6 +99,7 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - 'master' + - 'main' status-context: "test-integration-airship-centos" success-status: "Passed" failure-status: "Failed" diff --git a/jjb/airship/job_airship_integration_test_ubuntu.yml b/jjb/airship/job_airship_integration_test_ubuntu.yml index 70141fc5..c5c87309 100644 --- a/jjb/airship/job_airship_integration_test_ubuntu.yml +++ b/jjb/airship/job_airship_integration_test_ubuntu.yml @@ -73,10 +73,6 @@ name: TARGET_NODE_MEMORY default: 4096 description: 'RAM size of the target host.' - - string: - name: KUBERNETES_VERSION - default: "v1.22.0" - description: 'Kubernetes version' properties: - build-discarder: diff --git a/jjb/airship/job_bml_integration_tests_centos.yml b/jjb/airship/job_bml_integration_tests_centos.yml new file mode 100644 index 00000000..35fcb032 --- /dev/null +++ b/jjb/airship/job_bml_integration_tests_centos.yml @@ -0,0 +1,121 @@ +--- +# +# ============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 K8s CAPM3 integration test. +# This job can be triggered manually or through a Github pull request. It creates a +# pipeline job. The pipeline scripts are maintained in Airship CI repository. + +- job-template: + id: bml_integration_tests_centos + name: '{job_prefix}_{name}_bml_integration_tests_centos' + description: "K8s CAPIM3 v1beta1 integration tests for {repo[org]}/{repo[name]} on CentOS in Bare Metal Lab." + project-type: pipeline + defaults: global + disabled: False + concurrent: True + parameters: + - string: + name: PROJECT_REPO_ORG + default: '{repo[org]}' + description: 'Project github repo org name' + - string: + name: PROJECT_REPO_NAME + default: '{repo[name]}' + description: 'Project github repo name' + - string: + name: ghprbActualCommit + default: 'master' + description: 'CI Repo branch for triggering manual build' + - string: + name: ghprbAuthorRepoGitUrl + default: 'https://github.com/{repo[org]}/{repo[name]}.git' + description: 'CI Repo URL for triggering manual build' + - string: + name: ghprbTargetBranch + default: 'master' + description: 'Target branch of the PR' + - string: + name: DISTRIBUTION + default: 'centos' + description: 'Distribution to use for the tests. Can be ubuntu or centos' + - string: + name: CAPI_VERSION + default: 'v1beta1' + description: 'Cluster API version.' + - string: + name: CAPM3_VERSION + default: 'v1beta1' + description: 'Cluster API provider Metal3 version.' + - string: + name: TARGET_NODE_OS + default: 'Centos' + description: 'Distribution to use for the target host.' + - string: + name: TARGET_NODE_MEMORY + default: 4096 + description: 'RAM size of the target host.' + + 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/{repo[org]}/{repo[name]} + + 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: '((.|\n)*\s)?/test-integration-bml-centos(\s(.|\n)*)?' + 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: + - 'master' + - 'main' + status-context: "test-integration-bml-centos" + 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|master}' + name: 'origin' + refspec: '+refs/heads/*:refs/remotes/origin/*' + wipe-workspace: True + honor-refspec: True + shallow-clone: False + script-path: 'jenkins/jobs/bml_integration_tests.pipeline' + lightweight-checkout: False diff --git a/jjb/airship/job_bml_master_integration_tests_centos.yml b/jjb/airship/job_bml_master_integration_tests_centos.yml new file mode 100644 index 00000000..5ede24e5 --- /dev/null +++ b/jjb/airship/job_bml_master_integration_tests_centos.yml @@ -0,0 +1,100 @@ +--- +# +# ============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 K8s CAPM3 integration test. +# This job can be triggered manually or through a Github pull request. It creates a +# pipeline job. The pipeline scripts are maintained in Airship CI repository. + +- job-template: + id: bml_master_integration_tests_centos + name: '{job_prefix}_master_bml_integration_tests_centos' + description: "K8s CAPIM3 v1beta1 integration tests for {repo[org]}/{repo[name]} on CentOS in Bare Metal Lab." + project-type: pipeline + defaults: global + disabled: False + concurrent: True + parameters: + - string: + name: PROJECT_REPO_ORG + default: '{repo[org]}' + description: 'Project github repo org name' + - string: + name: PROJECT_REPO_NAME + default: '{repo[name]}' + description: 'Project github repo name' + - string: + name: ghprbActualCommit + default: 'master' + description: 'CI Repo branch for triggering manual build' + - string: + name: ghprbAuthorRepoGitUrl + default: 'https://github.com/{repo[org]}/{repo[name]}.git' + description: 'CI Repo URL for triggering manual build' + - string: + name: ghprbTargetBranch + default: 'master' + description: 'Target branch of the PR' + - string: + name: DISTRIBUTION + default: 'centos' + description: 'Distribution to use for the tests. Can be ubuntu or centos' + - string: + name: CAPI_VERSION + default: 'v1beta1' + description: 'Cluster API version.' + - string: + name: CAPM3_VERSION + default: 'v1beta1' + description: 'Cluster API provider Metal3 version.' + - string: + name: TARGET_NODE_OS + default: 'Centos' + description: 'Distribution to use for the target host.' + - string: + name: TARGET_NODE_MEMORY + default: 4096 + description: 'RAM size of the target host.' + + properties: + - build-discarder: + days-to-keep: 30 + num-to-keep: 300 + artifact-days-to-keep: -1 + artifact-num-to-keep: -1 + + triggers: + - timed: "H 2 * * *" + + pipeline-scm: + scm: + - git: + url: "{ci_github_repo}" + credentials-id: "{ci_github_jenkins_credentials_id}" + branches: + - '{branch|master}' + name: 'origin' + refspec: '+refs/heads/*:refs/remotes/origin/*' + wipe-workspace: True + honor-refspec: True + shallow-clone: False + script-path: 'jenkins/jobs/bml_integration_tests.pipeline' + lightweight-checkout: False diff --git a/jjb/airship/job_capi_bm_unit_tests.yml b/jjb/airship/job_capi_bm_unit_tests.yml index 55c9ecef..46cb37ba 100644 --- a/jjb/airship/job_capi_bm_unit_tests.yml +++ b/jjb/airship/job_capi_bm_unit_tests.yml @@ -71,6 +71,7 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - master + - main status-context: "integration-tests" success-status: "Passed" failure-status: "Failed" diff --git a/jjb/airship/job_capi_bm_v1a4_integration_tests_centos.yml b/jjb/airship/job_capi_bm_v1a4_integration_tests_centos.yml index 4fe1c682..b07ee528 100644 --- a/jjb/airship/job_capi_bm_v1a4_integration_tests_centos.yml +++ b/jjb/airship/job_capi_bm_v1a4_integration_tests_centos.yml @@ -73,10 +73,6 @@ name: TARGET_NODE_MEMORY default: 4096 description: 'RAM size of the target host.' - - string: - name: KUBERNETES_VERSION - default: "v1.21.2" - description: 'Kubernetes version' properties: - build-discarder: @@ -103,6 +99,7 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - 'master' + - 'main' - 'release-0.4' - 'release-0.0' status-context: "test-v1a4-centos-integration" diff --git a/jjb/airship/job_capi_bm_v1a4_integration_tests_ubuntu.yml b/jjb/airship/job_capi_bm_v1a4_integration_tests_ubuntu.yml index e878814c..96fa2022 100644 --- a/jjb/airship/job_capi_bm_v1a4_integration_tests_ubuntu.yml +++ b/jjb/airship/job_capi_bm_v1a4_integration_tests_ubuntu.yml @@ -73,10 +73,6 @@ name: TARGET_NODE_MEMORY default: 4096 description: 'RAM size of the target host.' - - string: - name: KUBERNETES_VERSION - default: "v1.21.2" - description: 'Kubernetes version' properties: - build-discarder: @@ -103,6 +99,7 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - 'master' + - 'main' - 'release-0.4' - 'release-0.0' status-context: "test-v1a4-integration" diff --git a/jjb/airship/job_capi_bm_v1a4_master_integration_tests_centos.yml b/jjb/airship/job_capi_bm_v1a4_master_integration_tests_centos.yml index 0ba9bb44..424f1e67 100644 --- a/jjb/airship/job_capi_bm_v1a4_master_integration_tests_centos.yml +++ b/jjb/airship/job_capi_bm_v1a4_master_integration_tests_centos.yml @@ -73,10 +73,6 @@ name: TARGET_NODE_MEMORY default: 4096 description: 'RAM size of the target host.' - - string: - name: KUBERNETES_VERSION - default: "v1.21.2" - description: 'Kubernetes version' properties: - build-discarder: @@ -86,7 +82,7 @@ artifact-num-to-keep: -1 triggers: - - timed: "H 4 * * *" + - timed: "0 4 * * *" pipeline-scm: scm: diff --git a/jjb/airship/job_capi_bm_v1a4_master_integration_tests_ubuntu.yml b/jjb/airship/job_capi_bm_v1a4_master_integration_tests_ubuntu.yml index 1dabb07d..8fb68ae6 100644 --- a/jjb/airship/job_capi_bm_v1a4_master_integration_tests_ubuntu.yml +++ b/jjb/airship/job_capi_bm_v1a4_master_integration_tests_ubuntu.yml @@ -73,10 +73,6 @@ name: TARGET_NODE_MEMORY default: 4096 description: 'RAM size of the target host.' - - string: - name: KUBERNETES_VERSION - default: "v1.21.2" - description: 'Kubernetes version' properties: - build-discarder: @@ -86,7 +82,7 @@ artifact-num-to-keep: -1 triggers: - - timed: "H 4 * * *" + - timed: "15 4 * * *" pipeline-scm: scm: diff --git a/jjb/airship/job_capi_bm_v1a5_integration_tests_centos.yml b/jjb/airship/job_capi_bm_v1a5_integration_tests_centos.yml index 0e0d7802..0cbf3ee5 100644 --- a/jjb/airship/job_capi_bm_v1a5_integration_tests_centos.yml +++ b/jjb/airship/job_capi_bm_v1a5_integration_tests_centos.yml @@ -60,11 +60,11 @@ - string: name: CAPI_VERSION default: 'v1alpha4' - description: 'Cluster API version. Can be v1alpha4.' + description: 'Cluster API version.' - string: name: CAPM3_VERSION default: 'v1alpha5' - description: 'Cluster API provider Metal3 version. Can be v1alpha5 or v1alpha4.' + description: 'Cluster API provider Metal3 version.' - string: name: TARGET_NODE_OS default: 'Centos' @@ -73,11 +73,7 @@ name: TARGET_NODE_MEMORY default: 4096 description: 'RAM size of the target host.' - - string: - name: KUBERNETES_VERSION - default: "v1.22.0" - description: 'Kubernetes version' - + properties: - build-discarder: days-to-keep: 30 @@ -94,7 +90,7 @@ org-list: "{ci_github_whitelist_org}" cron: 'H/5 * * * *' auth-id: "{ci_ghprb_auth_id}" - trigger-phrase: '((.|\n)*\s)?/test-centos-integration(\s(.|\n)*)?' + trigger-phrase: '((.|\n)*\s)?/test-v1a5-centos-integration(\s(.|\n)*)?' skip-build-phrase: '/skip-test' only-trigger-phrase: True github-hooks: True @@ -103,7 +99,10 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - 'master' - status-context: "test-centos-integration" + - 'main' + - 'release-0.5' + - 'release-0.1' + status-context: "test-v1a5-centos-integration" success-status: "Passed" failure-status: "Failed" error-status: "Error" diff --git a/jjb/airship/job_capi_bm_v1a5_integration_tests_ubuntu.yml b/jjb/airship/job_capi_bm_v1a5_integration_tests_ubuntu.yml index 8cc6b960..531e83fe 100644 --- a/jjb/airship/job_capi_bm_v1a5_integration_tests_ubuntu.yml +++ b/jjb/airship/job_capi_bm_v1a5_integration_tests_ubuntu.yml @@ -60,11 +60,11 @@ - string: name: CAPI_VERSION default: 'v1alpha4' - description: 'Cluster API version. Can be v1alpha4.' + description: 'Cluster API version.' - string: name: CAPM3_VERSION default: 'v1alpha5' - description: 'Cluster API provider Metal3 version. Can be v1alpha5 or v1alpha4.' + description: 'Cluster API provider Metal3 version.' - string: name: TARGET_NODE_OS default: 'Ubuntu' @@ -73,11 +73,7 @@ name: TARGET_NODE_MEMORY default: 4096 description: 'RAM size of the target host.' - - string: - name: KUBERNETES_VERSION - default: "v1.22.0" - description: 'Kubernetes version' - + properties: - build-discarder: days-to-keep: 30 @@ -94,7 +90,7 @@ org-list: "{ci_github_whitelist_org}" cron: 'H/5 * * * *' auth-id: "{ci_ghprb_auth_id}" - trigger-phrase: '((.|\n)*\s)?/test-integration(\s(.|\n)*)?' + trigger-phrase: '((.|\n)*\s)?/test-v1a5-integration(\s(.|\n)*)?' skip-build-phrase: '/skip-test' only-trigger-phrase: True github-hooks: True @@ -103,7 +99,10 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - 'master' - status-context: "test-integration" + - 'main' + - 'release-0.5' + - 'release-0.1' + status-context: "test-v1a5-integration" success-status: "Passed" failure-status: "Failed" error-status: "Error" diff --git a/jjb/airship/job_capi_bm_v1a5_master_integration_tests_centos.yml b/jjb/airship/job_capi_bm_v1a5_master_integration_tests_centos.yml index 1e6e2d19..7cc3fc0b 100644 --- a/jjb/airship/job_capi_bm_v1a5_master_integration_tests_centos.yml +++ b/jjb/airship/job_capi_bm_v1a5_master_integration_tests_centos.yml @@ -60,11 +60,11 @@ - string: name: CAPI_VERSION default: 'v1alpha4' - description: 'Cluster API version. Can be v1alpha4.' + description: 'Cluster API version.' - string: name: CAPM3_VERSION default: 'v1alpha5' - description: 'Cluster API provider Metal3 version. Can be v1alpha5 or v1alpha4.' + description: 'Cluster API provider Metal3 version.' - string: name: TARGET_NODE_OS default: 'Centos' @@ -73,11 +73,7 @@ name: TARGET_NODE_MEMORY default: 4096 description: 'RAM size of the target host.' - - string: - name: KUBERNETES_VERSION - default: "v1.22.0" - description: 'Kubernetes version' - + properties: - build-discarder: days-to-keep: 30 @@ -86,7 +82,7 @@ artifact-num-to-keep: -1 triggers: - - timed: "H 4 * * *" + - timed: "30 4 * * *" pipeline-scm: scm: diff --git a/jjb/airship/job_capi_bm_v1a5_master_integration_tests_ubuntu.yml b/jjb/airship/job_capi_bm_v1a5_master_integration_tests_ubuntu.yml index 3e3b0f16..3c6efafb 100644 --- a/jjb/airship/job_capi_bm_v1a5_master_integration_tests_ubuntu.yml +++ b/jjb/airship/job_capi_bm_v1a5_master_integration_tests_ubuntu.yml @@ -60,11 +60,11 @@ - string: name: CAPI_VERSION default: 'v1alpha4' - description: 'Cluster API version. Can be v1alpha4.' + description: 'Cluster API version.' - string: name: CAPM3_VERSION default: 'v1alpha5' - description: 'Cluster API provider Metal3 version. Can be v1alpha5 or v1alpha4.' + description: 'Cluster API provider Metal3 version.' - string: name: TARGET_NODE_OS default: 'Ubuntu' @@ -73,11 +73,7 @@ name: TARGET_NODE_MEMORY default: 4096 description: 'RAM size of the target host.' - - string: - name: KUBERNETES_VERSION - default: "v1.22.0" - description: 'Kubernetes version' - + properties: - build-discarder: days-to-keep: 30 @@ -86,7 +82,7 @@ artifact-num-to-keep: -1 triggers: - - timed: "H 4 * * *" + - timed: "45 4 * * *" pipeline-scm: scm: diff --git a/jjb/airship/job_capi_capm3_v1a5_e2e_tests_centos.yml b/jjb/airship/job_capi_capm3_e2e_v1a5_tests_centos.yml similarity index 95% rename from jjb/airship/job_capi_capm3_v1a5_e2e_tests_centos.yml rename to jjb/airship/job_capi_capm3_e2e_v1a5_tests_centos.yml index c7ba0e82..c9540dca 100644 --- a/jjb/airship/job_capi_capm3_v1a5_e2e_tests_centos.yml +++ b/jjb/airship/job_capi_capm3_e2e_v1a5_tests_centos.yml @@ -25,8 +25,8 @@ # pipeline job. The pipeline scripts are maintained in Airship CI repository. - job-template: - id: capi_capm3_v1a5_e2e_tests_centos - name: '{job_prefix}_{name}_e2e_test_centos' + id: capi_capm3_e2e_v1a5_tests_centos + name: '{job_prefix}_{name}_v1a5_e2e_test_centos' description: "K8s CAPI metal3 v1alpha5 e2e tests for {repo[org]}/{repo[name]} on CentOS. " project-type: pipeline defaults: global @@ -77,10 +77,6 @@ name: TESTS_FOR default: "e2e_tests" description: 'Tests using the e2e framework.' - - string: - name: KUBERNETES_VERSION - default: "v1.22.0" - description: 'Kubernetes version' properties: - build-discarder: @@ -107,6 +103,8 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - 'master' + - 'main' + - 'release-0.5' status-context: "test-v1a5-centos-e2e" success-status: "Passed" failure-status: "Failed" diff --git a/jjb/airship/job_capi_capm3_v1a5_e2e_tests_ubuntu.yml b/jjb/airship/job_capi_capm3_e2e_v1a5_tests_ubuntu.yml similarity index 95% rename from jjb/airship/job_capi_capm3_v1a5_e2e_tests_ubuntu.yml rename to jjb/airship/job_capi_capm3_e2e_v1a5_tests_ubuntu.yml index 32a242d0..d3578d33 100644 --- a/jjb/airship/job_capi_capm3_v1a5_e2e_tests_ubuntu.yml +++ b/jjb/airship/job_capi_capm3_e2e_v1a5_tests_ubuntu.yml @@ -25,8 +25,8 @@ # pipeline job. The pipeline scripts are maintained in Airship CI repository. - job-template: - id: capi_capm3_v1a5_e2e_tests_ubuntu - name: '{job_prefix}_{name}_e2e_test_ubuntu' + id: capi_capm3_e2e_v1a5_tests_ubuntu + name: '{job_prefix}_{name}_v1a5_e2e_test_ubuntu' description: "K8s CAPI metal3 v1alpha5 e2e tests for {repo[org]}/{repo[name]} on Ubuntu. " project-type: pipeline defaults: global @@ -77,10 +77,6 @@ name: TESTS_FOR default: "e2e_tests" description: 'Tests using the e2e framework.' - - string: - name: KUBERNETES_VERSION - default: "v1.22.0" - description: 'Kubernetes version' properties: - build-discarder: @@ -107,6 +103,8 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - 'master' + - 'main' + - 'release-0.5' status-context: "test-v1a5-e2e" success-status: "Passed" failure-status: "Failed" diff --git a/jjb/airship/job_capi_capm3_e2e_v1b1_tests_centos.yml b/jjb/airship/job_capi_capm3_e2e_v1b1_tests_centos.yml new file mode 100644 index 00000000..47b11a37 --- /dev/null +++ b/jjb/airship/job_capi_capm3_e2e_v1b1_tests_centos.yml @@ -0,0 +1,125 @@ +--- +# +# ============LICENSE_START======================================================= +# Copyright (C) 2021 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 K8s CAPI Baremetal e2e tests. +# This job can be triggered manually or through a Github pull request. It creates a +# pipeline job. The pipeline scripts are maintained in Airship CI repository. + +- job-template: + id: capi_capm3_e2e_v1b1_tests_centos + name: '{job_prefix}_{name}_v1b1_e2e_test_centos' + description: "K8s CAPI metal3 v1beta1 e2e tests for {repo[org]}/{repo[name]} on CentOS. " + project-type: pipeline + defaults: global + disabled: False + concurrent: True + parameters: + - string: + name: PROJECT_REPO_ORG + default: '{repo[org]}' + description: 'Project github repo org name' + - string: + name: PROJECT_REPO_NAME + default: '{repo[name]}' + description: 'Project github repo name' + - string: + name: ghprbActualCommit + default: 'master' + description: 'CI Repo branch for triggering manual build' + - string: + name: ghprbAuthorRepoGitUrl + default: 'https://github.com/{repo[org]}/{repo[name]}.git' + description: 'CI Repo URL for triggering manual build' + - string: + name: ghprbTargetBranch + default: 'master' + description: 'Target branch of the PR' + - string: + name: DISTRIBUTION + default: 'centos' + description: 'Distribution to use for the tests. Can be ubuntu or centos' + - string: + name: CAPI_VERSION + default: 'v1beta1' + description: 'Cluster API version. Can be v1beta1.' + - string: + name: CAPM3_VERSION + default: 'v1beta1' + description: 'Cluster API provider Metal3 version. Can be v1beta1.' + - string: + name: TARGET_NODE_OS + default: 'Centos' + description: 'Distribution to use for the target host.' + - string: + name: TARGET_NODE_MEMORY + default: 4096 + description: 'RAM size of the target host.' + - string: + name: TESTS_FOR + default: "e2e_tests" + description: 'Tests using the e2e framework.' + + 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/{repo[org]}/{repo[name]} + + 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: '((.|\n)*\s)?/test-v1b1-centos-e2e(\s(.|\n)*)?' + 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: + - 'master' + - 'main' + status-context: "test-v1b1-centos-e2e" + 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|master}' + 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/airship/job_capi_capm3_e2e_v1b1_tests_ubuntu.yml b/jjb/airship/job_capi_capm3_e2e_v1b1_tests_ubuntu.yml new file mode 100644 index 00000000..ce505dd8 --- /dev/null +++ b/jjb/airship/job_capi_capm3_e2e_v1b1_tests_ubuntu.yml @@ -0,0 +1,125 @@ +--- +# +# ============LICENSE_START======================================================= +# Copyright (C) 2021 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 K8s CAPI Baremetal e2e tests. +# This job can be triggered manually or through a Github pull request. It creates a +# pipeline job. The pipeline scripts are maintained in Airship CI repository. + +- job-template: + id: capi_capm3_e2e_v1b1_tests_ubuntu + name: '{job_prefix}_{name}_v1b1_e2e_test_ubuntu' + description: "K8s CAPI metal3 v1beta1 e2e tests for {repo[org]}/{repo[name]} on Ubuntu. " + project-type: pipeline + defaults: global + disabled: False + concurrent: True + parameters: + - string: + name: PROJECT_REPO_ORG + default: '{repo[org]}' + description: 'Project github repo org name' + - string: + name: PROJECT_REPO_NAME + default: '{repo[name]}' + description: 'Project github repo name' + - string: + name: ghprbActualCommit + default: 'master' + description: 'CI Repo branch for triggering manual build' + - string: + name: ghprbAuthorRepoGitUrl + default: 'https://github.com/{repo[org]}/{repo[name]}.git' + description: 'CI Repo URL for triggering manual build' + - string: + name: ghprbTargetBranch + default: 'master' + description: 'Target branch of the PR' + - string: + name: DISTRIBUTION + default: 'ubuntu' + description: 'Distribution to use for the tests. Can be ubuntu or centos' + - string: + name: CAPI_VERSION + default: 'v1beta1' + description: 'Cluster API version. Can be v1beta1.' + - string: + name: CAPM3_VERSION + default: 'v1beta1' + description: 'Cluster API provider Metal3 version. Can be v1beta1.' + - string: + name: TARGET_NODE_OS + default: 'Ubuntu' + description: 'Distribution to use for the target host.' + - string: + name: TARGET_NODE_MEMORY + default: 4096 + description: 'RAM size of the target host.' + - string: + name: TESTS_FOR + default: "e2e_tests" + description: 'Tests using the e2e framework.' + + 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/{repo[org]}/{repo[name]} + + 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: '((.|\n)*\s)?/test-v1b1-e2e(\s(.|\n)*)?' + 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: + - 'master' + - 'main' + status-context: "test-v1b1-e2e" + 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|master}' + 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/airship/job_capi_capm3_v1a5_master_e2e_tests_centos.yml b/jjb/airship/job_capi_capm3_master_e2e_v1a5_tests_centos.yml similarity index 92% rename from jjb/airship/job_capi_capm3_v1a5_master_e2e_tests_centos.yml rename to jjb/airship/job_capi_capm3_master_e2e_v1a5_tests_centos.yml index 48aa86f7..5dca4e67 100644 --- a/jjb/airship/job_capi_capm3_v1a5_master_e2e_tests_centos.yml +++ b/jjb/airship/job_capi_capm3_master_e2e_v1a5_tests_centos.yml @@ -25,8 +25,8 @@ # pipeline job. The pipeline scripts are maintained in metal3 project infra repository. - job-template: - id: capi_capm3_v1a5_master_e2e_tests_centos - name: '{job_prefix}_{name}_master_e2e_test_centos' + id: capi_capm3_master_e2e_v1a5_tests_centos + name: '{job_prefix}_master_e2e_v1a5_test_centos' description: "CAPM3 v1alpha5 e2e tests for {repo[org]}/{repo[name]} on CentOS." project-type: pipeline defaults: global @@ -43,7 +43,7 @@ description: 'Project github repo name' - string: name: ghprbActualCommit - default: 'master' + default: 'release-0.5' description: 'CI Repo branch for triggering manual build' - string: name: ghprbAuthorRepoGitUrl @@ -51,7 +51,7 @@ description: 'CI Repo URL for triggering manual build' - string: name: ghprbTargetBranch - default: 'master' + default: 'release-0.5' description: 'Target branch of the PR' - string: name: DISTRIBUTION @@ -81,10 +81,6 @@ name: TESTS_FOR default: "e2e_tests" description: 'Tests using the e2e framework.' - - string: - name: KUBERNETES_VERSION - default: "v1.22.0" - description: 'Kubernetes version' properties: - build-discarder: diff --git a/jjb/airship/job_capi_capm3_v1a5_master_e2e_tests_ubuntu.yml b/jjb/airship/job_capi_capm3_master_e2e_v1a5_tests_ubuntu.yml similarity index 92% rename from jjb/airship/job_capi_capm3_v1a5_master_e2e_tests_ubuntu.yml rename to jjb/airship/job_capi_capm3_master_e2e_v1a5_tests_ubuntu.yml index 6e8d022f..eef301fd 100644 --- a/jjb/airship/job_capi_capm3_v1a5_master_e2e_tests_ubuntu.yml +++ b/jjb/airship/job_capi_capm3_master_e2e_v1a5_tests_ubuntu.yml @@ -25,8 +25,8 @@ # pipeline job. The pipeline scripts are maintained in metal3 project infra repository. - job-template: - id: capi_capm3_v1a5_master_e2e_tests_ubuntu - name: '{job_prefix}_{name}_master_e2e_test_ubuntu' + id: capi_capm3_master_e2e_v1a5_tests_ubuntu + name: '{job_prefix}_master_e2e_v1a5_test_ubuntu' description: "CAPM3 v1alpha5 e2e tests for {repo[org]}/{repo[name]} on Ubuntu." project-type: pipeline defaults: global @@ -43,7 +43,7 @@ description: 'Project github repo name' - string: name: ghprbActualCommit - default: 'master' + default: 'release-0.5' description: 'CI Repo branch for triggering manual build' - string: name: ghprbAuthorRepoGitUrl @@ -51,7 +51,7 @@ description: 'CI Repo URL for triggering manual build' - string: name: ghprbTargetBranch - default: 'master' + default: 'release-0.5' description: 'Target branch of the PR' - string: name: DISTRIBUTION @@ -81,10 +81,6 @@ name: TESTS_FOR default: "e2e_tests" description: 'Tests using the e2e framework.' - - string: - name: KUBERNETES_VERSION - default: "v1.22.0" - description: 'Kubernetes version' properties: - build-discarder: diff --git a/jjb/airship/job_capi_capm3_master_e2e_v1b1_tests_centos.yml b/jjb/airship/job_capi_capm3_master_e2e_v1b1_tests_centos.yml new file mode 100644 index 00000000..56b2a9c4 --- /dev/null +++ b/jjb/airship/job_capi_capm3_master_e2e_v1b1_tests_centos.yml @@ -0,0 +1,108 @@ +--- +# +# ============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 CAPM3 E2E tests. +# This job can be triggered manually or periodically by the CI system. It creates a +# pipeline job. The pipeline scripts are maintained in metal3 project infra repository. + +- job-template: + id: capi_capm3_master_e2e_v1b1_tests_centos + name: '{job_prefix}_master_e2e_v1b1_test_centos' + description: "CAPM3 v1beta1 e2e tests for {repo[org]}/{repo[name]} on CentOS." + project-type: pipeline + defaults: global + disabled: False + concurrent: True + parameters: + - string: + name: PROJECT_REPO_ORG + default: '{repo[org]}' + description: 'Project github repo org name' + - string: + name: PROJECT_REPO_NAME + default: '{repo[name]}' + 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/{repo[org]}/{repo[name]}.git' + description: 'CI Repo URL for triggering manual build' + - string: + name: ghprbTargetBranch + default: 'main' + description: 'Target branch of the PR' + - string: + name: DISTRIBUTION + default: 'centos' + description: 'Distribution to use for the tests.' + - string: + name: CAPI_VERSION + default: 'v1beta1' + description: 'Cluster API version.' + - string: + name: CAPM3_VERSION + default: 'v1beta1' + description: 'Cluster API provider Metal3 version.' + - string: + name: TARGET_NODE_OS + default: 'Centos' + description: 'Distribution to use for the target host.' + - string: + name: TARGET_NODE_MEMORY + default: 4096 + description: 'RAM size of the target host.' + - string: + name: NUM_NODES + default: 4 + description: 'Number of libvirt VMs.' + - string: + name: TESTS_FOR + default: "e2e_tests" + description: 'Tests using the e2e framework.' + + properties: + - build-discarder: + days-to-keep: 30 + num-to-keep: 300 + artifact-days-to-keep: -1 + artifact-num-to-keep: -1 + + triggers: + - timed: "H 20 * * *" + + pipeline-scm: + scm: + - git: + url: "{ci_github_repo}" + credentials-id: "{ci_github_jenkins_credentials_id}" + branches: + - '{branch|master}' + 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/airship/job_capi_capm3_master_e2e_v1b1_tests_ubuntu.yml b/jjb/airship/job_capi_capm3_master_e2e_v1b1_tests_ubuntu.yml new file mode 100644 index 00000000..b2096517 --- /dev/null +++ b/jjb/airship/job_capi_capm3_master_e2e_v1b1_tests_ubuntu.yml @@ -0,0 +1,108 @@ +--- +# +# ============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 CAPM3 E2E tests. +# This job can be triggered manually or periodically by the CI system. It creates a +# pipeline job. The pipeline scripts are maintained in metal3 project infra repository. + +- job-template: + id: capi_capm3_master_e2e_v1b1_tests_ubuntu + name: '{job_prefix}_master_e2e_v1b1_test_ubuntu' + description: "CAPM3 v1beta1 e2e tests for {repo[org]}/{repo[name]} on Ubuntu." + project-type: pipeline + defaults: global + disabled: False + concurrent: True + parameters: + - string: + name: PROJECT_REPO_ORG + default: '{repo[org]}' + description: 'Project github repo org name' + - string: + name: PROJECT_REPO_NAME + default: '{repo[name]}' + 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/{repo[org]}/{repo[name]}.git' + description: 'CI Repo URL for triggering manual build' + - string: + name: ghprbTargetBranch + default: 'main' + description: 'Target branch of the PR' + - string: + name: DISTRIBUTION + default: 'ubuntu' + description: 'Distribution to use for the tests.' + - string: + name: CAPI_VERSION + default: 'v1beta1' + description: 'Cluster API version.' + - string: + name: CAPM3_VERSION + default: 'v1beta1' + description: 'Cluster API provider Metal3 version.' + - string: + name: TARGET_NODE_OS + default: 'Ubuntu' + description: 'Distribution to use for the target host.' + - string: + name: TARGET_NODE_MEMORY + default: 4096 + description: 'RAM size of the target host.' + - string: + name: NUM_NODES + default: 4 + description: 'Number of libvirt VMs.' + - string: + name: TESTS_FOR + default: "e2e_tests" + description: 'Tests using the e2e framework.' + + properties: + - build-discarder: + days-to-keep: 30 + num-to-keep: 300 + artifact-days-to-keep: -1 + artifact-num-to-keep: -1 + + triggers: + - timed: "H 20 * * *" + + pipeline-scm: + scm: + - git: + url: "{ci_github_repo}" + credentials-id: "{ci_github_jenkins_credentials_id}" + branches: + - '{branch|master}' + 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/airship/job_capi_capm3_v1b1_integration_tests_centos.yml b/jjb/airship/job_capi_capm3_v1b1_integration_tests_centos.yml new file mode 100644 index 00000000..38552ab6 --- /dev/null +++ b/jjb/airship/job_capi_capm3_v1b1_integration_tests_centos.yml @@ -0,0 +1,121 @@ +--- +# +# ============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 CAPM3 v1beta1 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 Airship CI repository. + +- job-template: + id: capm3_v1b1_integration_tests_centos + name: '{job_prefix}_{name}_v1b1_integration_test_centos' + description: "CAPM3 v1beta1 integration tests for {repo[org]}/{repo[name]} on CentOS." + project-type: pipeline + defaults: global + disabled: False + concurrent: True + parameters: + - string: + name: PROJECT_REPO_ORG + default: '{repo[org]}' + description: 'Project github repo org name' + - string: + name: PROJECT_REPO_NAME + default: '{repo[name]}' + 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/{repo[org]}/{repo[name]}.git' + description: 'CI Repo URL for triggering manual build' + - string: + name: ghprbTargetBranch + default: 'main' + description: 'Target branch of the PR' + - string: + name: DISTRIBUTION + default: 'centos' + description: 'Distribution to use for the tests. Can be ubuntu or centos' + - string: + name: CAPI_VERSION + default: 'v1beta1' + description: 'Cluster API version.' + - string: + name: CAPM3_VERSION + default: 'v1beta1' + description: 'Cluster API provider Metal3 version.' + - string: + name: TARGET_NODE_OS + default: 'Centos' + description: 'Distribution to use for the target host.' + - string: + name: TARGET_NODE_MEMORY + default: 4096 + description: 'RAM size of the target host.' + + 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/{repo[org]}/{repo[name]} + + 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: '((.|\n)*\s)?/test-v1b1-centos-integration(\s(.|\n)*)?' + 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: + - 'master' + - 'main' + status-context: "test-v1b1-centos-integration" + 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|master}' + 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 \ No newline at end of file diff --git a/jjb/airship/job_capi_capm3_v1b1_integration_tests_ubuntu.yml b/jjb/airship/job_capi_capm3_v1b1_integration_tests_ubuntu.yml new file mode 100644 index 00000000..f51133bd --- /dev/null +++ b/jjb/airship/job_capi_capm3_v1b1_integration_tests_ubuntu.yml @@ -0,0 +1,121 @@ +--- +# +# ============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 CAPM3 v1beta1 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 Airship CI repository. + +- job-template: + id: capm3_v1b1_integration_tests_ubuntu + name: '{job_prefix}_{name}_v1b1_integration_test_ubuntu' + description: "CAPM3 v1beta1 integration tests for {repo[org]}/{repo[name]} on Ubuntu." + project-type: pipeline + defaults: global + disabled: False + concurrent: True + parameters: + - string: + name: PROJECT_REPO_ORG + default: '{repo[org]}' + description: 'Project github repo org name' + - string: + name: PROJECT_REPO_NAME + default: '{repo[name]}' + 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/{repo[org]}/{repo[name]}.git' + description: 'CI Repo URL for triggering manual build' + - string: + name: ghprbTargetBranch + default: 'main' + description: 'Target branch of the PR' + - string: + name: DISTRIBUTION + default: 'ubuntu' + description: 'Distribution to use for the tests. Can be ubuntu or centos' + - string: + name: CAPI_VERSION + default: 'v1beta1' + description: 'Cluster API version.' + - string: + name: CAPM3_VERSION + default: 'v1beta1' + description: 'Cluster API provider Metal3 version.' + - string: + name: TARGET_NODE_OS + default: 'Ubuntu' + description: 'Distribution to use for the target host.' + - string: + name: TARGET_NODE_MEMORY + default: 4096 + description: 'RAM size of the target host.' + + 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/{repo[org]}/{repo[name]} + + 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: '((.|\n)*\s)?/test-v1b1-integration(\s(.|\n)*)?' + 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: + - 'master' + - 'main' + status-context: "test-v1b1-integration" + 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|master}' + 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 \ No newline at end of file diff --git a/jjb/airship/job_capi_capm3_v1b1_master_integration_tests_centos.yml b/jjb/airship/job_capi_capm3_v1b1_master_integration_tests_centos.yml new file mode 100644 index 00000000..108dfcab --- /dev/null +++ b/jjb/airship/job_capi_capm3_v1b1_master_integration_tests_centos.yml @@ -0,0 +1,100 @@ +--- +# +# ============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 CAPM3 v1beta1 master 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 Airship CI repository. + +- job-template: + id: capm3_v1b1_master_integration_tests_centos + name: '{job_prefix}_master_v1b1_integration_test_centos' + description: "CAPM3 v1beta1 integration tests for {repo[org]}/{repo[name]} on CentOS." + project-type: pipeline + defaults: global + disabled: False + concurrent: True + parameters: + - string: + name: PROJECT_REPO_ORG + default: '{repo[org]}' + description: 'Project github repo org name' + - string: + name: PROJECT_REPO_NAME + default: '{repo[name]}' + description: 'Project github repo name' + - string: + name: ghprbActualCommit + default: 'master' + description: 'CI Repo branch for triggering manual build' + - string: + name: ghprbAuthorRepoGitUrl + default: 'https://github.com/{repo[org]}/{repo[name]}.git' + description: 'CI Repo URL for triggering manual build' + - string: + name: ghprbTargetBranch + default: 'master' + description: 'Target branch of the PR' + - string: + name: DISTRIBUTION + default: 'centos' + description: 'Distribution to use for the tests.' + - string: + name: CAPI_VERSION + default: 'v1beta1' + description: 'Cluster API version.' + - string: + name: CAPM3_VERSION + default: 'v1beta1' + description: 'Cluster API provider Metal3 version.' + - string: + name: TARGET_NODE_OS + default: 'Centos' + description: 'Distribution to use for the target host.' + - string: + name: TARGET_NODE_MEMORY + default: 4096 + description: 'RAM size of the target host.' + + properties: + - build-discarder: + days-to-keep: 30 + num-to-keep: 300 + artifact-days-to-keep: -1 + artifact-num-to-keep: -1 + + triggers: + - timed: "H 4 * * *" + + pipeline-scm: + scm: + - git: + url: "{ci_github_repo}" + credentials-id: "{ci_github_jenkins_credentials_id}" + branches: + - '{branch|master}' + 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/airship/job_capi_capm3_v1b1_master_integration_tests_ubuntu.yml b/jjb/airship/job_capi_capm3_v1b1_master_integration_tests_ubuntu.yml new file mode 100644 index 00000000..8fdb8c8d --- /dev/null +++ b/jjb/airship/job_capi_capm3_v1b1_master_integration_tests_ubuntu.yml @@ -0,0 +1,100 @@ +--- +# +# ============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 CAPM3 v1beta1 master 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 Airship CI repository. + +- job-template: + id: capm3_v1b1_master_integration_tests_ubuntu + name: '{job_prefix}_master_v1b1_integration_test_ubuntu' + description: "CAPM3 v1beta1 integration tests for {repo[org]}/{repo[name]} on Ubuntu." + project-type: pipeline + defaults: global + disabled: False + concurrent: True + parameters: + - string: + name: PROJECT_REPO_ORG + default: '{repo[org]}' + description: 'Project github repo org name' + - string: + name: PROJECT_REPO_NAME + default: '{repo[name]}' + description: 'Project github repo name' + - string: + name: ghprbActualCommit + default: 'master' + description: 'CI Repo branch for triggering manual build' + - string: + name: ghprbAuthorRepoGitUrl + default: 'https://github.com/{repo[org]}/{repo[name]}.git' + description: 'CI Repo URL for triggering manual build' + - string: + name: ghprbTargetBranch + default: 'master' + description: 'Target branch of the PR' + - string: + name: DISTRIBUTION + default: 'ubuntu' + description: 'Distribution to use for the tests.' + - string: + name: CAPI_VERSION + default: 'v1beta1' + description: 'Cluster API version.' + - string: + name: CAPM3_VERSION + default: 'v1beta1' + description: 'Cluster API provider Metal3 version.' + - string: + name: TARGET_NODE_OS + default: 'Ubuntu' + description: 'Distribution to use for the target host.' + - string: + name: TARGET_NODE_MEMORY + default: 4096 + description: 'RAM size of the target host.' + + properties: + - build-discarder: + days-to-keep: 30 + num-to-keep: 300 + artifact-days-to-keep: -1 + artifact-num-to-keep: -1 + + triggers: + - timed: "H 4 * * *" + + pipeline-scm: + scm: + - git: + url: "{ci_github_repo}" + credentials-id: "{ci_github_jenkins_credentials_id}" + branches: + - '{branch|master}' + 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/airship/job_feature_tests_centos.yml b/jjb/airship/job_feature_tests_centos.yml index b056a377..d9113dcf 100644 --- a/jjb/airship/job_feature_tests_centos.yml +++ b/jjb/airship/job_feature_tests_centos.yml @@ -59,11 +59,11 @@ description: 'Distribution to use for the tests.' - string: name: CAPI_VERSION - default: 'v1alpha4' + default: 'v1beta1' description: 'Cluster API version.' - string: name: CAPM3_VERSION - default: 'v1alpha5' + default: 'v1beta1' description: 'Cluster API provider Metal3 version.' - string: name: TARGET_NODE_OS @@ -81,6 +81,10 @@ name: TESTS_FOR default: "feature_tests_centos" description: 'Tests for pivoting and remediation.' + - string: + name: PROMETHEUS_MONITORING + default: "true" + description: 'Enable Prometheus metrics' properties: - build-discarder: @@ -107,7 +111,9 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - 'master' - - 'release-0.4' + - 'main' + - 'release-0.5' + - 'release-0.1' status-context: "test-features-centos" success-status: "Passed" failure-status: "Failed" diff --git a/jjb/airship/job_feature_tests_ubuntu.yml b/jjb/airship/job_feature_tests_ubuntu.yml index 856232aa..e7c46e1e 100644 --- a/jjb/airship/job_feature_tests_ubuntu.yml +++ b/jjb/airship/job_feature_tests_ubuntu.yml @@ -59,11 +59,11 @@ description: 'Distribution to use for the tests.' - string: name: CAPI_VERSION - default: 'v1alpha4' + default: 'v1beta1' description: 'Cluster API version.' - string: name: CAPM3_VERSION - default: 'v1alpha5' + default: 'v1beta1' description: 'Cluster API provider Metal3 version.' - string: name: TARGET_NODE_OS @@ -81,6 +81,10 @@ name: TESTS_FOR default: "feature_tests" description: 'Tests for pivoting and remediation.' + - string: + name: PROMETHEUS_MONITORING + default: "true" + description: 'Enable Prometheus metrics' properties: - build-discarder: @@ -107,7 +111,9 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - 'master' - - 'release-0.4' + - 'main' + - 'release-0.5' + - 'release-0.1' status-context: "test-features" success-status: "Passed" failure-status: "Failed" diff --git a/jjb/airship/job_feature_tests_upgrade_ubuntu.yml b/jjb/airship/job_feature_tests_upgrade_ubuntu.yml index baf5e7a2..9645fc42 100644 --- a/jjb/airship/job_feature_tests_upgrade_ubuntu.yml +++ b/jjb/airship/job_feature_tests_upgrade_ubuntu.yml @@ -59,11 +59,11 @@ description: 'Distribution to use for the tests.' - string: name: CAPI_VERSION - default: 'v1alpha4' + default: 'v1beta1' description: 'Cluster API version.' - string: name: CAPM3_VERSION - default: 'v1alpha5' + default: 'v1beta1' description: 'Cluster API provider Metal3 version.' - string: name: TARGET_NODE_OS @@ -81,6 +81,10 @@ name: TESTS_FOR default: "feature_tests_upgrade" description: 'Tests for upgrade.' + - string: + name: PROMETHEUS_MONITORING + default: "true" + description: 'Enable Prometheus metrics' properties: - build-discarder: @@ -107,7 +111,9 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - 'master' - - 'release-0.4' + - 'main' + - 'release-0.5' + - 'release-0.1' status-context: "test-upgrade-features" success-status: "Passed" failure-status: "Failed" diff --git a/jjb/airship/job_ipa_image_building.yml b/jjb/airship/job_ipa_image_building.yml index 74b57280..98ed4189 100644 --- a/jjb/airship/job_ipa_image_building.yml +++ b/jjb/airship/job_ipa_image_building.yml @@ -40,23 +40,47 @@ - string: name: IRONIC_IMAGE_REPO_COMMIT default: 'HEAD' - description: 'Ironic Image repo commit hash to build' + description: 'Ironic Image repository commit hash to build' - string: name: IRONIC_IMAGE_BRANCH default: 'master' - description: 'Ironic image repo branch to build' + description: 'Ironic image repository branch to build' - string: name: IRONIC_INSPECTOR_REFSPEC default: '' description: 'Gerrit refspec of the patch we want to test. Example: refs/changes/84/800084/22' - string: - name: IPA_REPO_COMMIT + name: IPA_COMMIT default: 'HEAD' - description: 'Ironic Python Agent repo commit hash to build' + description: 'Ironic Python Agent repository commit hash to build' - string: name: IPA_BRANCH default: 'master' - description: 'Ironic Python Agent repo branch to build' + description: 'Ironic Python Agent repository branch to build' + - string: + name: BMO_COMMIT + default: 'HEAD' + description: 'Bare Metal Operator repository commit hash to build' + - string: + name: BMO_BRANCH + default: 'master' + description: 'Bare Metal Operator repository branch to build' + - string: + name: IPA_BUILDER_BRANCH + default: 'master' + description: 'Ironic Python Agent builder repository tool branch' + - string: + name: IPA_BUILDER_COMMIT + default: 'HEAD' + description: 'Ironic Python Agent builder repository tool commit' + - string: + name: METAL3_DEV_ENV_BRANCH + default: 'master' + description: 'Metal3 dev env repository branch' + - string: + name: METAL3_DEV_ENV_COMMIT + default: 'HEAD' + description: 'Metal3 dev env repository commit' - string: name: STAGING default: 'true' diff --git a/jjb/airship/job_ipa_image_building_test.yml b/jjb/airship/job_ipa_image_building_test.yml index 0e539c65..10d8b52f 100644 --- a/jjb/airship/job_ipa_image_building_test.yml +++ b/jjb/airship/job_ipa_image_building_test.yml @@ -33,6 +33,54 @@ disabled: False concurrent: True parameters: + - string: + name: IRONIC_REFSPEC + default: '' + description: 'Gerrit refspec of the patch we want to test. Example: refs/changes/84/800084/22' + - string: + name: IRONIC_IMAGE_REPO_COMMIT + default: 'HEAD' + description: 'Ironic Image repository commit hash to build' + - string: + name: IRONIC_IMAGE_BRANCH + default: 'master' + description: 'Ironic image repository branch to build' + - string: + name: IRONIC_INSPECTOR_REFSPEC + default: '' + description: 'Gerrit refspec of the patch we want to test. Example: refs/changes/84/800084/22' + - string: + name: IPA_COMMIT + default: 'HEAD' + description: 'Ironic Python Agent repository commit hash to build' + - string: + name: IPA_BRANCH + default: 'master' + description: 'Ironic Python Agent repository branch to build' + - string: + name: BMO_COMMIT + default: 'HEAD' + description: 'Bare Metal Operator repository commit hash to build' + - string: + name: BMO_BRANCH + default: 'master' + description: 'Bare Metal Operator repository branch to build' + - string: + name: IPA_BUILDER_BRANCH + default: 'master' + description: 'Ironic Python Agent builder repository tool branch' + - string: + name: IPA_BUILDER_COMMIT + default: 'HEAD' + description: 'Ironic Python Agent builder repository tool commit' + - string: + name: METAL3_DEV_ENV_BRANCH + default: 'master' + description: 'Metal3 dev env repository branch' + - string: + name: METAL3_DEV_ENV_COMMIT + default: 'HEAD' + description: 'Metal3 dev env repository commit' - string: name: PROJECT_REPO_ORG default: '{repo[org]}' @@ -83,6 +131,7 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - 'master' + - 'main' status-context: "test-ipa" success-status: "Passed" failure-status: "Failed" diff --git a/jjb/airship/job_linter_tests.yml b/jjb/airship/job_linter_tests.yml index b3259430..33900312 100644 --- a/jjb/airship/job_linter_tests.yml +++ b/jjb/airship/job_linter_tests.yml @@ -71,6 +71,7 @@ allow-whitelist-orgs-as-admins: True white-list-target-branches: - master + - main status-context: "linter-tests" success-status: "Passed" failure-status: "Failed" diff --git a/jjb/airship/job_master_feature_tests_centos.yml b/jjb/airship/job_master_feature_tests_centos.yml index 670197ed..37b4d08f 100644 --- a/jjb/airship/job_master_feature_tests_centos.yml +++ b/jjb/airship/job_master_feature_tests_centos.yml @@ -59,11 +59,11 @@ description: 'Distribution to use for the tests.' - string: name: CAPI_VERSION - default: 'v1alpha4' + default: 'v1beta1' description: 'Cluster API version.' - string: name: CAPM3_VERSION - default: 'v1alpha5' + default: 'v1beta1' description: 'Cluster API provider Metal3 version.' - string: name: TARGET_NODE_OS @@ -81,6 +81,10 @@ name: TESTS_FOR default: "feature_tests_centos" description: 'Tests for pivoting and remediation.' + - string: + name: PROMETHEUS_MONITORING + default: "true" + description: 'Enable Prometheus metrics' properties: - build-discarder: @@ -90,7 +94,7 @@ artifact-num-to-keep: -1 triggers: - - timed: "H 18 * * *" + - timed: "H 17 * * *" pipeline-scm: scm: diff --git a/jjb/airship/job_master_feature_tests_ubuntu.yml b/jjb/airship/job_master_feature_tests_ubuntu.yml index 830b1fa9..0771d292 100644 --- a/jjb/airship/job_master_feature_tests_ubuntu.yml +++ b/jjb/airship/job_master_feature_tests_ubuntu.yml @@ -59,11 +59,11 @@ description: 'Distribution to use for the tests.' - string: name: CAPI_VERSION - default: 'v1alpha4' + default: 'v1beta1' description: 'Cluster API version.' - string: name: CAPM3_VERSION - default: 'v1alpha5' + default: 'v1beta1' description: 'Cluster API provider Metal3 version.' - string: name: TARGET_NODE_OS @@ -81,6 +81,10 @@ name: TESTS_FOR default: "feature_tests" description: 'Tests for pivoting and remediation.' + - string: + name: PROMETHEUS_MONITORING + default: "true" + description: 'Enable Prometheus metrics' properties: - build-discarder: @@ -90,7 +94,7 @@ artifact-num-to-keep: -1 triggers: - - timed: "H 18 * * *" + - timed: "H 17 * * *" pipeline-scm: scm: diff --git a/jjb/airship/job_master_feature_tests_upgrade_ubuntu.yml b/jjb/airship/job_master_feature_tests_upgrade_ubuntu.yml index 7ea564b7..82f6b066 100644 --- a/jjb/airship/job_master_feature_tests_upgrade_ubuntu.yml +++ b/jjb/airship/job_master_feature_tests_upgrade_ubuntu.yml @@ -59,11 +59,11 @@ description: 'Distribution to use for the tests.' - string: name: CAPI_VERSION - default: 'v1alpha4' + default: 'v1beta1' description: 'Cluster API version.' - string: name: CAPM3_VERSION - default: 'v1alpha5' + default: 'v1beta1' description: 'Cluster API provider Metal3 version.' - string: name: TARGET_NODE_OS @@ -81,6 +81,10 @@ name: TESTS_FOR default: "feature_tests_upgrade" description: 'Tests for upgrade.' + - string: + name: PROMETHEUS_MONITORING + default: "true" + description: 'Enable Prometheus metrics' properties: - build-discarder: @@ -90,7 +94,7 @@ artifact-num-to-keep: -1 triggers: - - timed: "H H(21-23) * * *" + - timed: "H 17 * * *" pipeline-scm: scm: diff --git a/jjb/airship/job_openstack_node_image_building.yml b/jjb/airship/job_openstack_node_image_building.yml index 8e257ee8..f19144a8 100644 --- a/jjb/airship/job_openstack_node_image_building.yml +++ b/jjb/airship/job_openstack_node_image_building.yml @@ -37,7 +37,7 @@ name: KUBERNETES_VERSION default: "v1.22.0" description: 'Kubernetes version' - + properties: - build-discarder: days-to-keep: 30 @@ -47,6 +47,10 @@ triggers: - timed: "0 5 */15 * *" + - github-pull-request: + included-regions: + - "ci/images/.*" + - "ci/scripts/image_scripts/.*" pipeline-scm: scm: diff --git a/jjb/airship/projects.yml b/jjb/airship/projects.yml index c7e424d2..38699997 100644 --- a/jjb/airship/projects.yml +++ b/jjb/airship/projects.yml @@ -53,8 +53,6 @@ - project: name: 'metal3io_project_infra' branch: '${{ghprbActualCommit}}' - ci_github_whitelist_org: - - nordix-airship repo: org: "metal3-io" name: "project-infra" @@ -64,14 +62,15 @@ - capi_bm_v1a4_integration_tests_ubuntu - capi_bm_v1a5_integration_tests_centos - capi_bm_v1a5_integration_tests_ubuntu + - capm3_v1b1_integration_tests_centos + - capm3_v1b1_integration_tests_ubuntu - feature_tests_ubuntu - feature_tests_centos - feature_tests_upgrade_ubuntu + - bml_integration_tests_centos - project: name: 'metal3io_project_infra_cleanup' - ci_github_whitelist_org: - - nordix-airship repo: org: "metal3-io" name: "project-infra" @@ -89,6 +88,8 @@ - capi_bm_v1a4_integration_tests_ubuntu - capi_bm_v1a5_integration_tests_centos - capi_bm_v1a5_integration_tests_ubuntu + - capm3_v1b1_integration_tests_centos + - capm3_v1b1_integration_tests_ubuntu - feature_tests_ubuntu - project: @@ -101,6 +102,8 @@ - capi_bm_v1a4_integration_tests_ubuntu - capi_bm_v1a5_integration_tests_centos - capi_bm_v1a5_integration_tests_ubuntu + - capm3_v1b1_integration_tests_centos + - capm3_v1b1_integration_tests_ubuntu - project: name: "metal3io_metal3_dev_env" @@ -113,12 +116,18 @@ - capi_bm_v1a5_integration_tests_ubuntu - capi_bm_v1a5_master_integration_tests_centos - capi_bm_v1a5_master_integration_tests_ubuntu + - capm3_v1b1_integration_tests_centos + - capm3_v1b1_integration_tests_ubuntu + - capm3_v1b1_master_integration_tests_centos + - capm3_v1b1_master_integration_tests_ubuntu - feature_tests_ubuntu - feature_tests_centos - feature_tests_upgrade_ubuntu - master_feature_tests_ubuntu - master_feature_tests_centos - master_feature_tests_upgrade_ubuntu + - bml_integration_tests_centos + - bml_master_integration_tests_centos repo: org: "metal3-io" @@ -134,10 +143,16 @@ - capi_bm_v1a4_integration_tests_ubuntu - capi_bm_v1a5_integration_tests_centos - capi_bm_v1a5_integration_tests_ubuntu - - capi_capm3_v1a5_e2e_tests_ubuntu - - capi_capm3_v1a5_e2e_tests_centos - - capi_capm3_v1a5_master_e2e_tests_ubuntu - - capi_capm3_v1a5_master_e2e_tests_centos + - capi_capm3_e2e_v1a5_tests_ubuntu + - capi_capm3_e2e_v1a5_tests_centos + - capi_capm3_master_e2e_v1a5_tests_ubuntu + - capi_capm3_master_e2e_v1a5_tests_centos + - capm3_v1b1_integration_tests_centos + - capm3_v1b1_integration_tests_ubuntu + - capi_capm3_e2e_v1b1_tests_centos + - capi_capm3_e2e_v1b1_tests_ubuntu + - capi_capm3_master_e2e_v1b1_tests_centos + - capi_capm3_master_e2e_v1b1_tests_ubuntu - project: @@ -150,6 +165,8 @@ - capi_bm_v1a4_integration_tests_ubuntu - capi_bm_v1a5_integration_tests_centos - capi_bm_v1a5_integration_tests_ubuntu + - capm3_v1b1_integration_tests_centos + - capm3_v1b1_integration_tests_ubuntu - project: name: "metal3io_ironic_ipa_downloader" @@ -159,3 +176,5 @@ jobs: - capi_bm_v1a4_integration_tests_ubuntu - capi_bm_v1a5_integration_tests_ubuntu + - capm3_v1b1_integration_tests_centos + - capm3_v1b1_integration_tests_ubuntu diff --git a/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml b/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml index 6caf4e9b..c94eef33 100644 --- a/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml +++ b/jjb/cloud-infra/onap-jobs/onap-verify-deploy-test.yaml @@ -25,7 +25,7 @@ stream: - 'master': branch: '{stream}' - k8s-version: 'master' + k8s-version: '1.19' deploy-scenario: 'onap-full-nofeature' - 'guilin': branch: '{stream}' @@ -49,7 +49,7 @@ unstable: false notbuilt: false - offline: - disabled: false + disabled: true execution-mode: offline-deployment successful: false failed: false @@ -77,8 +77,8 @@ openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-cicd' # This should be - dependency-jobs: 'onap-verify-package-{distro}-{stream}' - dependency-job-var: 'TRIGGER_onap_verify_package_{distro}_{stream}_BUILD_RESULT' + dependency-jobs: 'onap-verify-tox-{stream}' + dependency-job-var: 'TRIGGER_onap_verify_tox_{stream}_BUILD_RESULT' jobs: - 'onap-verify-{environment-type}-deploy-test-{distro}-{cloud}-{type}-{stream}' @@ -222,6 +222,9 @@ wrappers: - build-timeout: timeout: 600 + - ssh-agent-credentials: + users: + - 'nordixinfra-nordix-gerrit-ssh' - credentials-binding: - file: credential-id: '{openrc-credentials-file}' diff --git a/jjb/cloud-infra/onap-jobs/onap-verify-package.yaml b/jjb/cloud-infra/onap-jobs/onap-verify-package.yaml index 4add3aaf..37795ca0 100644 --- a/jjb/cloud-infra/onap-jobs/onap-verify-package.yaml +++ b/jjb/cloud-infra/onap-jobs/onap-verify-package.yaml @@ -174,6 +174,9 @@ single-use: True - build-timeout: timeout: 300 + - ssh-agent-credentials: + users: + - 'nordixinfra-nordix-gerrit-ssh' - credentials-binding: - username-password-separated: credential-id: 'nordix-cicd-arm-credentials' diff --git a/jjb/cloud-infra/scripts/test-package.sh b/jjb/cloud-infra/scripts/test-package.sh index 8685c337..d9b9b532 100644 --- a/jjb/cloud-infra/scripts/test-package.sh +++ b/jjb/cloud-infra/scripts/test-package.sh @@ -21,19 +21,22 @@ set -o errexit set -o pipefail -# NOTE (fdegir): we need to remove $WORKSPACE and clone infra/engine repository -# as infra/engine is what drives the deployment +# NOTE (akash): ONAP_TEST_BRANCH is set to master as +# no other branch is available +export ONAP_TEST_BRANCH="master" + +# NOTE (akash): we need to remove $WORKSPACE and clone infra/test repository +# as infra/test is what drives the deployment if [[ "$GERRIT_PROJECT" != "infra/test" ]]; then cd "$HOME" && /bin/rm -rf "$WORKSPACE" echo "Info : Cloning infra/engine repository" git clone -q https://gerrit.nordix.org/infra/test.git "$WORKSPACE" cd "$WORKSPACE" - export STACK_VERSION="$GERRIT_BRANCH" fi echo "Info : Packaging test stack $STACK_TYPE" cd "$WORKSPACE/test" -./package.sh -s "$STACK_TYPE" -b "$STACK_VERSION" -d "$DISTRO" -v +./package.sh -s "$STACK_TYPE" -b "$ONAP_TEST_BRANCH" -d "$DISTRO" -v # vim: set ts=2 sw=2 expandtab: diff --git a/jjb/eiffel/etos-api.yaml b/jjb/eiffel/etos-api.yaml index 95095d34..d8c6c838 100644 --- a/jjb/eiffel/etos-api.yaml +++ b/jjb/eiffel/etos-api.yaml @@ -26,8 +26,8 @@ stream: - - 'master': - branch: 'master' + - 'main': + branch: 'main' project-git-repo: '{project}' project-build-macro: 'eiffel-global-container-build-macro' image-dockerfile: 'Dockerfile' diff --git a/jjb/eiffel/etos-environment-provider-worker.yaml b/jjb/eiffel/etos-environment-provider-worker.yaml index bd53d6c4..5c471f5e 100644 --- a/jjb/eiffel/etos-environment-provider-worker.yaml +++ b/jjb/eiffel/etos-environment-provider-worker.yaml @@ -25,8 +25,8 @@ project-name: etos-environment-provider-worker stream: - - 'master': - branch: 'master' + - 'main': + branch: 'main' project-git-repo: 'etos-environment-provider' project-build-macro: 'eiffel-global-container-build-macro' image-dockerfile: 'Dockerfile.workers' diff --git a/jjb/eiffel/etos-environment-provider.yaml b/jjb/eiffel/etos-environment-provider.yaml index 34a93c7f..25c230f0 100644 --- a/jjb/eiffel/etos-environment-provider.yaml +++ b/jjb/eiffel/etos-environment-provider.yaml @@ -26,8 +26,8 @@ stream: - - 'master': - branch: 'master' + - 'main': + branch: 'main' project-git-repo: '{project}' project-build-macro: 'eiffel-global-container-build-macro' image-dockerfile: 'Dockerfile' diff --git a/jjb/eiffel/etos-suite-runner.yaml b/jjb/eiffel/etos-suite-runner.yaml index 72cf15b9..f70b9d7c 100644 --- a/jjb/eiffel/etos-suite-runner.yaml +++ b/jjb/eiffel/etos-suite-runner.yaml @@ -26,8 +26,8 @@ stream: - - 'master': - branch: 'master' + - 'main': + branch: 'main' project-git-repo: '{project}' project-build-macro: 'eiffel-global-container-build-macro' image-dockerfile: 'Dockerfile' diff --git a/jjb/eiffel/etos-suite-starter.yaml b/jjb/eiffel/etos-suite-starter.yaml index 5e6ba2ba..6e0c8808 100644 --- a/jjb/eiffel/etos-suite-starter.yaml +++ b/jjb/eiffel/etos-suite-starter.yaml @@ -26,8 +26,8 @@ stream: - - 'master': - branch: 'master' + - 'main': + branch: 'main' project-git-repo: '{project}' project-build-macro: 'eiffel-global-container-build-macro' image-dockerfile: 'Dockerfile' diff --git a/jjb/eiffel/etos-test-runner-containers-base.yaml b/jjb/eiffel/etos-test-runner-containers-base.yaml index 37eb8aa8..653b3ec5 100644 --- a/jjb/eiffel/etos-test-runner-containers-base.yaml +++ b/jjb/eiffel/etos-test-runner-containers-base.yaml @@ -26,8 +26,8 @@ stream: - - 'master': - branch: 'master' + - 'main': + branch: 'main' project-git-repo: 'etos-test-runner-containers' project-build-macro: 'eiffel-global-container-build-macro' image-dockerfile: 'base/Dockerfile' diff --git a/jjb/eiffel/etos-test-runner-containers-go.yaml b/jjb/eiffel/etos-test-runner-containers-go.yaml index ca662012..7a8d67de 100644 --- a/jjb/eiffel/etos-test-runner-containers-go.yaml +++ b/jjb/eiffel/etos-test-runner-containers-go.yaml @@ -26,8 +26,8 @@ stream: - - 'master': - branch: 'master' + - 'main': + branch: 'main' project-git-repo: 'etos-test-runner-containers' project-build-macro: 'eiffel-global-container-build-macro' image-dockerfile: 'go/Dockerfile' diff --git a/jjb/eiffel/etos-test-runner-containers-python.yaml b/jjb/eiffel/etos-test-runner-containers-python.yaml index ba184b8d..fd793a89 100644 --- a/jjb/eiffel/etos-test-runner-containers-python.yaml +++ b/jjb/eiffel/etos-test-runner-containers-python.yaml @@ -26,8 +26,8 @@ stream: - - 'master': - branch: 'master' + - 'main': + branch: 'main' project-git-repo: 'etos-test-runner-containers' project-build-macro: 'eiffel-global-container-build-macro' image-dockerfile: 'python/Dockerfile' diff --git a/jjb/eiffel/etos-test-runner-containers-rust.yaml b/jjb/eiffel/etos-test-runner-containers-rust.yaml index a47154a0..18e62915 100644 --- a/jjb/eiffel/etos-test-runner-containers-rust.yaml +++ b/jjb/eiffel/etos-test-runner-containers-rust.yaml @@ -26,8 +26,8 @@ stream: - - 'master': - branch: 'master' + - 'main': + branch: 'main' project-git-repo: 'etos-test-runner-containers' project-build-macro: 'eiffel-global-container-build-macro' image-dockerfile: 'rust/Dockerfile' diff --git a/jjb/global/jjb-macros.yaml b/jjb/global/jjb-macros.yaml index b971341c..b8536525 100644 --- a/jjb/global/jjb-macros.yaml +++ b/jjb/global/jjb-macros.yaml @@ -455,7 +455,7 @@ wrappers: - credentials-binding: - username-password-separated: - credential-id: nordix-eiffel-github-token + credential-id: nordixinfra-eiffel-username-personal-access-token username: NORDIXINFRA_GITHUB_USERNAME password: NORDIXINFRA_GITHUB_TOKEN diff --git a/jjb/onap/integration-simulators-A1-policy-enforcement-simulator/integration-simulators-A1-policy-enforcement-simulator-rebase-jobs.yaml b/jjb/onap/integration-simulators-A1-policy-enforcement-simulator/integration-simulators-A1-policy-enforcement-simulator-rebase-jobs.yaml new file mode 100644 index 00000000..5c3f83d4 --- /dev/null +++ b/jjb/onap/integration-simulators-A1-policy-enforcement-simulator/integration-simulators-A1-policy-enforcement-simulator-rebase-jobs.yaml @@ -0,0 +1,29 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2021 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========================================================= +# +# this job gets triggered when a change is merged to +# integration/simulators/A1-policy-enforcement-simulator project on ONAP Gerrit. + +- project: + name: integration-simulators-A1-policy-enforcement-simulator-rebase + project: integration/simulators/A1-policy-enforcement-simulator + project-name: integration-simulators-A1-policy-enforcement-simulator + + jobs: + - 'onap-{project-name}-rebase' diff --git a/jjb/onap/integration-simulators-A1-policy-enforcement-simulator/integration-simulators-A1-policy-enforcement-simulator-upstream-jobs.yaml b/jjb/onap/integration-simulators-A1-policy-enforcement-simulator/integration-simulators-A1-policy-enforcement-simulator-upstream-jobs.yaml new file mode 100644 index 00000000..6b69c25a --- /dev/null +++ b/jjb/onap/integration-simulators-A1-policy-enforcement-simulator/integration-simulators-A1-policy-enforcement-simulator-upstream-jobs.yaml @@ -0,0 +1,27 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2021 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========================================================= + +# this job gets triggered when push-upstream is commented on a change on Nordix Gerrit. +- project: + name: integration-simulators-A1-policy-enforcement-simulator-push-upstream + project: integration/simulators/A1-policy-enforcement-simulator + project-name: integration-simulators-A1-policy-enforcement-simulator + + jobs: + - 'onap-{project-name}-push-upstream' diff --git a/jjb/onap/integration-usecases-A1-policy-enforcement-r-apps/integration-usecases-A1-policy-enforcement-r-apps-push-upstream-jobs.yaml b/jjb/onap/integration-usecases-A1-policy-enforcement-r-apps/integration-usecases-A1-policy-enforcement-r-apps-push-upstream-jobs.yaml new file mode 100644 index 00000000..88402594 --- /dev/null +++ b/jjb/onap/integration-usecases-A1-policy-enforcement-r-apps/integration-usecases-A1-policy-enforcement-r-apps-push-upstream-jobs.yaml @@ -0,0 +1,27 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2021 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========================================================= + +# this job gets triggered when push-upstream is commented on a change on Nordix Gerrit. +- project: + name: integration-usecases-A1-policy-enforcement-r-apps-push-upstream + project: integration/usecases/A1-policy-enforcement-r-apps + project-name: integration-usecases-A1-policy-enforcement-r-apps + + jobs: + - 'onap-{project-name}-push-upstream' diff --git a/jjb/onap/integration-usecases-A1-policy-enforcement-r-apps/integration-usecases-A1-policy-enforcement-r-apps-rebase-jobs.yaml b/jjb/onap/integration-usecases-A1-policy-enforcement-r-apps/integration-usecases-A1-policy-enforcement-r-apps-rebase-jobs.yaml new file mode 100644 index 00000000..8abb8137 --- /dev/null +++ b/jjb/onap/integration-usecases-A1-policy-enforcement-r-apps/integration-usecases-A1-policy-enforcement-r-apps-rebase-jobs.yaml @@ -0,0 +1,29 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2021 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========================================================= +# +# this job gets triggered when a change is merged to +# integration/usecases/A1-policy-enforcement-r-apps project on ONAP Gerrit. + +- project: + name: integration-usecases-A1-policy-enforcement-r-apps-rebase + project: integration/usecases/A1-policy-enforcement-r-apps + project-name: integration-usecases-A1-policy-enforcement-r-apps + + jobs: + - 'onap-{project-name}-rebase' diff --git a/jjb/onap/integration-usecases-A1-policy-enforcement/integration-usecases-A1-policy-enforcement-rebase-jobs.yaml b/jjb/onap/integration-usecases-A1-policy-enforcement/integration-usecases-A1-policy-enforcement-rebase-jobs.yaml new file mode 100644 index 00000000..f7cdaad5 --- /dev/null +++ b/jjb/onap/integration-usecases-A1-policy-enforcement/integration-usecases-A1-policy-enforcement-rebase-jobs.yaml @@ -0,0 +1,29 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2021 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========================================================= +# +# this job gets triggered when a change is merged to +# integration/usecases/A1-policy-enforcement project on ONAP Gerrit. + +- project: + name: integration-usecases-A1-policy-enforcement-rebase + project: integration/usecases/A1-policy-enforcement + project-name: integration-usecases-A1-policy-enforcement + + jobs: + - 'onap-{project-name}-rebase' diff --git a/jjb/onap/integration-usecases-A1-policy-enforcement/integration-usecases-A1-policy-enforcement-upstream-jobs.yaml b/jjb/onap/integration-usecases-A1-policy-enforcement/integration-usecases-A1-policy-enforcement-upstream-jobs.yaml new file mode 100644 index 00000000..15c695b7 --- /dev/null +++ b/jjb/onap/integration-usecases-A1-policy-enforcement/integration-usecases-A1-policy-enforcement-upstream-jobs.yaml @@ -0,0 +1,27 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2021 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========================================================= + +# this job gets triggered when push-upstream is commented on a change on Nordix Gerrit. +- project: + name: integration-usecases-A1-policy-enforcement-upstream-jobs + project: integration/usecases/A1-policy-enforcement + project-name: integration-usecases-A1-policy-enforcement + + jobs: + - 'onap-{project-name}-push-upstream' diff --git a/jjb/onap/oom/oom-build-jobs.yaml b/jjb/onap/oom/oom-build-jobs.yaml index 3da71ed1..4bac5dbe 100644 --- a/jjb/onap/oom/oom-build-jobs.yaml +++ b/jjb/onap/oom/oom-build-jobs.yaml @@ -43,7 +43,7 @@ - nordix-gerrit-parameters - string: name: HELM_URL - default: 'https://get.helm.sh/helm-v3.3.4-linux-amd64.tar.gz' + default: 'https://get.helm.sh/helm-v3.5.0-linux-amd64.tar.gz' description: Specifies the URL to fetch Helm. - string: name: HELM_PUSH_URL @@ -109,6 +109,9 @@ .modeling.enabled=true, .msb.enabled=true, .multicloud.enabled=true, + .multicloud.multicloud-starlingx.enabled=true, + .multicloud.multicloud-vio.enabled=true, + .multicloud.multicloud-windriver.enabled=true, .nbi.enabled=true, .oof.enabled=true, .platform.enabled=true, diff --git a/jjb/onap/sdc/sdc-verify-jobs.yaml b/jjb/onap/sdc/sdc-verify-jobs.yaml index 6087f84c..53874360 100644 --- a/jjb/onap/sdc/sdc-verify-jobs.yaml +++ b/jjb/onap/sdc/sdc-verify-jobs.yaml @@ -30,6 +30,9 @@ - 'master': branch: '{stream}' jdk-version: java-11 + - 'istanbul': + branch: '{stream}' + jdk-version: java-11 - '20.2': branch: '{stream}' jdk-version: java-11 diff --git a/jjb/oransc/global-templates-oran-java.yaml b/jjb/oransc/global-templates-oran-java.yaml index 8a0fa35f..95a4f4d4 100644 --- a/jjb/oransc/global-templates-oran-java.yaml +++ b/jjb/oransc/global-templates-oran-java.yaml @@ -1,6 +1,6 @@ - job-template: name: 'oransc-{project-name}-verify-java' - node: oransc-ubuntu1804 + node: oransc-ubuntu2004 disabled: false concurrent: true @@ -29,6 +29,10 @@ name: MVN default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn description: Path to mvn executable + - string: + name: GO_PATH + default: '/usr/local/go/bin' + description: Path to go executable scm: - git-scm-gerrit: diff --git a/jjb/oransc/verify-jobs.sh b/jjb/oransc/verify-jobs.sh index b9af93be..0e7dbdc3 100755 --- a/jjb/oransc/verify-jobs.sh +++ b/jjb/oransc/verify-jobs.sh @@ -3,17 +3,72 @@ set -o errexit set -o nounset set -o pipefail -cd ${WORKSPACE} +cd $WORKSPACE +echo "Info: Update Java alternatives" +echo "----------------------------------------------------" +sudo /usr/bin/update-alternatives --install /usr/bin/java java "${JAVA_HOME}/bin/java" 1 +sudo /usr/bin/update-alternatives --install /usr/bin/javac javac "${JAVA_HOME}/bin/javac" 1 +sudo /usr/bin/update-alternatives --install /usr/bin/javadoc javadoc "${JAVA_HOME}/bin/javadoc" 1 +sudo /usr/bin/update-alternatives --install /usr/bin/jconsole jconsole "${JAVA_HOME}/bin/jconsole" 1 +sudo /usr/bin/update-alternatives --install /usr/lib/jvm/java-openjdk java_sdk_openjdk "${JAVA_HOME}" 1 +sudo /usr/bin/update-alternatives --set java "${JAVA_HOME}/bin/java" +sudo /usr/bin/update-alternatives --set javac "${JAVA_HOME}/bin/javac" +sudo /usr/bin/update-alternatives --set javadoc "${JAVA_HOME}/bin/javadoc" +sudo /usr/bin/update-alternatives --set jconsole "${JAVA_HOME}/bin/jconsole" +sudo /usr/bin/update-alternatives --set java_sdk_openjdk "${JAVA_HOME}" echo "Info: Java version" echo "----------------------------------------------------" -${JAVA_HOME}/bin/java -version +echo -e "\tJava version: $(java -version 2>&1 | head -n 1)" +echo -e "\tJava compiler version: $(javac -version)" +echo -e "\tJAVA_HOME set to: ${JAVA_HOME}" echo "----------------------------------------------------" echo "Downloading Maven $MVN_VERSION from $MVN_URL" wget -q $MVN_URL && unzip -qq apache-maven-${MVN_VERSION}-bin.zip echo "Info: Maven version" echo "----------------------------------------------------" -${MVN} -version +$MVN -version +echo "----------------------------------------------------" +echo "Downloading ONAP Maven XML for build process from oparent repo" +echo "----------------------------------------------------" +git clone "https://git.onap.org/oparent" $WORKSPACE/oparent +cd $WORKSPACE/oparent +# Check if a commitid parameter is given to specify a version of +# oparent repository to checkout. If commitid is not provided, the +# latest master version is used as default for backward +# compatibility for existing ONAP jobs. +set +o nounset +if [[ -v ${MVN_SETTINGS_XML_VERSION} ]]; then + git checkout "${MVN_SETTINGS_XML_VERSION}" +fi +set -o nounset + +# if MVN_PARAMS set then use them otherwise default to "" +LOCAL_MVN_PARAMS="" +set +o nounset +if [[ -n ${MVN_PARAMS} ]]; then + LOCAL_MVN_PARAMS=${MVN_PARAMS} +fi +set -o nounset + +# Copy Onap maven settings.xml to Jenkins home directory +if [ ! -d /home/jenkins/.m2 ]; then + mkdir -p /home/jenkins/.m2/ +fi +cp settings.xml /home/jenkins/.m2/settings.xml +cd $WORKSPACE + +POMFILE="-f $WORKSPACE/pom.xml" +set +o nounset +if [[ -n ${SUBDIRECTORY} ]]; then + POMFILE="-f $WORKSPACE/$SUBDIRECTORY/pom.xml" + echo "Setting pom.xml to use to $POMFILE" +fi +set -o nounset + +# Set PATH to go executable +export PATH=${PATH}:${GO_PATH} + echo "----------------------------------------------------" echo "Proceeding with unit test" echo "----------------------------------------------------" -${MVN} clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \ No newline at end of file +$MVN clean install -U -B $POMFILE -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn $LOCAL_MVN_PARAMS