From: Andrew Fenner Date: Tue, 4 Aug 2020 08:06:40 +0000 (+0000) Subject: Merge "Modify ONAP verify job to include k8s deployment" X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=d1f624a27b65afbabbcb482e91ea833b2e140193;hp=c20596c579688e12eeef94653064ef43be4ebecd;p=infra%2Fcicd.git Merge "Modify ONAP verify job to include k8s deployment" --- diff --git a/jjb/onap/uds/uds-daily-build-package-promote.yaml b/jjb/onap/uds/uds-daily-build-package-promote.yaml index 95f07687..abb60204 100644 --- a/jjb/onap/uds/uds-daily-build-package-promote.yaml +++ b/jjb/onap/uds/uds-daily-build-package-promote.yaml @@ -24,6 +24,8 @@ branches: 20.2, master project_directories: sdc, sdc-customization project_versions: + mvn_params: '-DskipTests -Pdocker' + # mvn_params: '-DskipTests -Pdocker' # re-enable when unit tests pass mvn_settings_xml_version: docker_images: ' uds/sdc-cassandra-init, @@ -76,6 +78,7 @@ project_versions: '{project_versions}' - git-parameters - maven-parameters: + mvn_params: '{mvn_params}' mvn_settings_xml_version: '{mvn_settings_xml_version}' - artifact_parameters: artifact_paths: '{artifact_paths}' @@ -154,6 +157,24 @@ property-file: $WORKSPACE/build.properties triggers: - timed: "@midnight" + - gerrit: + server-name: 'Nordix Gerrit' + trigger-on: + - change-merged-event + - comment-added-contains-event: + comment-contains-value: 'remerge' + projects: + - project-compare-type: 'PLAIN' + project-pattern: 'onap/sdc' + branches: + - branch-compare-type: 'PLAIN' + branch-pattern: '20.2' + - project-compare-type: 'PLAIN' + project-pattern: 'local/onap/uds/sdc-customization' + branches: + - branch-compare-type: 'PLAIN' + branch-pattern: 'master' + wrappers: - openstack: single-use: True diff --git a/jjb/onap/uds/uds-macros.yaml b/jjb/onap/uds/uds-macros.yaml index 802643b7..186f6911 100644 --- a/jjb/onap/uds/uds-macros.yaml +++ b/jjb/onap/uds/uds-macros.yaml @@ -70,7 +70,7 @@ description: Path to mvn executable - string: name: MVN_PARAMS - default: -Pdocker + default: '{mvn_params}' description: Maven build parameters - string: name: MVN_SETTINGS_XML_VERSION diff --git a/jjb/opendev/openstack-murano/openstack-murano-push-upstream-jobs.yml b/jjb/opendev/openstack-murano/openstack-murano-push-upstream-jobs.yml new file mode 100644 index 00000000..6344b15e --- /dev/null +++ b/jjb/opendev/openstack-murano/openstack-murano-push-upstream-jobs.yml @@ -0,0 +1,26 @@ +--- +# ============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========================================================= +# +- project: + name: openstack-murano-push-upstream + project: openstack/murano + project-name: openstack-murano + + jobs: + - 'opendev-{project-name}-push-upstream' diff --git a/jjb/opendev/openstack-murano/openstack-murano-rebase-jobs.yml b/jjb/opendev/openstack-murano/openstack-murano-rebase-jobs.yml new file mode 100644 index 00000000..527dce3e --- /dev/null +++ b/jjb/opendev/openstack-murano/openstack-murano-rebase-jobs.yml @@ -0,0 +1,26 @@ +--- +# ============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========================================================= +# +- project: + name: openstack-murano-rebase + project: openstack/murano + project-name: openstack-murano + + jobs: + - 'opendev-{project-name}-rebase'