Add rebase/push jobs for ONAP project so/docker-config 88/1088/2
authorrobert.tomczyk@est.tech <robert.x.tomczyk@gmail.com>
Thu, 2 May 2019 08:56:31 +0000 (09:56 +0100)
committerrobert.tomczyk@est.tech <robert.x.tomczyk@gmail.com>
Thu, 2 May 2019 09:36:09 +0000 (10:36 +0100)
Change-Id: Ie83f387d16def5324cf14ed6423ddc593d4f30d4

jjb/so/so-docker-config-push-upstream-jobs.yaml [new file with mode: 0644]
jjb/so/so-docker-config-rebase-jobs.yaml [new file with mode: 0644]

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 (file)
index 0000000..44a591a
--- /dev/null
@@ -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 (file)
index 0000000..e49fe18
--- /dev/null
@@ -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