From 9ba197023314390bb44deef5313e758a3d6d2a73 Mon Sep 17 00:00:00 2001 From: "robert.tomczyk@est.tech" Date: Thu, 2 May 2019 09:56:31 +0100 Subject: [PATCH 1/1] Add rebase/push jobs for ONAP project so/docker-config Change-Id: Ie83f387d16def5324cf14ed6423ddc593d4f30d4 --- .../so-docker-config-push-upstream-jobs.yaml | 33 ++++++++++++++++++ jjb/so/so-docker-config-rebase-jobs.yaml | 34 +++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 jjb/so/so-docker-config-push-upstream-jobs.yaml create mode 100644 jjb/so/so-docker-config-rebase-jobs.yaml 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 00000000..44a591ac --- /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 00000000..e49fe180 --- /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 -- 2.25.1