From: robert.tomczyk@est.tech Date: Thu, 2 May 2019 08:56:31 +0000 (+0100) Subject: Add rebase/push jobs for ONAP project so/docker-config X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F88%2F1088%2F2;p=infra%2Fcicd.git Add rebase/push jobs for ONAP project so/docker-config Change-Id: Ie83f387d16def5324cf14ed6423ddc593d4f30d4 --- diff --git a/jjb/so/so-docker-config-push-upstream-jobs.yaml b/jjb/so/so-docker-config-push-upstream-jobs.yaml new file mode 100644 index 000000000..44a591ac1 --- /dev/null +++ b/jjb/so/so-docker-config-push-upstream-jobs.yaml @@ -0,0 +1,33 @@ +--- +# ============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========================================================= + +# this job gets triggered when push-upstream is commented on a change on Nordix Gerrit. +- project: + name: so-docker-config-push-upstream + project: so/docker-config + project-name: so-docker-config + + stream: + - master: + branch: '{stream}' + - dublin: + branch: '{stream}' + + jobs: + - '{project-name}-{stream}-push-upstream' diff --git a/jjb/so/so-docker-config-rebase-jobs.yaml b/jjb/so/so-docker-config-rebase-jobs.yaml new file mode 100644 index 000000000..e49fe1809 --- /dev/null +++ b/jjb/so/so-docker-config-rebase-jobs.yaml @@ -0,0 +1,34 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2018 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 +# so/docker-config project on ONAP Gerrit. + +- project: + name: so-docker-config-rebase + project: so/docker-config + project-name: so-docker-config + stream: + - master: + branch: '{stream}' + - dublin: + branch: '{stream}' + + jobs: + - '{project-name}-{stream}-rebase' \ No newline at end of file