From: rokenny Date: Wed, 27 Feb 2019 12:56:29 +0000 (+0000) Subject: Add rebase/push jobs for APPC X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=1ff13493424582f591081fde16a9eda1a5b607cc;p=infra%2Fcicd.git Add rebase/push jobs for APPC Change-Id: I1808cf3d518b1bee28d97431c8f87fa7f78ae813 Signed-off-by: rokenny --- diff --git a/jjb/appc/appc-cdt-push-upstream-jobs.yaml b/jjb/appc/appc-cdt-push-upstream-jobs.yaml new file mode 100644 index 000000000..a2b27ead7 --- /dev/null +++ b/jjb/appc/appc-cdt-push-upstream-jobs.yaml @@ -0,0 +1,31 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2018-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: appc-cdt-push-upstream + project: appc/cdt + project-name: appc-cdt + stream: + - master: + branch: '{stream}' + + jobs: + - '{project-name}-{stream}-push-upstream' diff --git a/jjb/appc/appc-cdt-rebase-jobs.yaml b/jjb/appc/appc-cdt-rebase-jobs.yaml new file mode 100644 index 000000000..bfc421187 --- /dev/null +++ b/jjb/appc/appc-cdt-rebase-jobs.yaml @@ -0,0 +1,35 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2018-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 a change is merged to +# appc/cdt project on ONAP Gerrit. +- project: + name: appc-cdt-rebase + project: appc/cdt + project-name: appc-cdt + + stream: + - master: + branch: '{stream}' +# - casablanca: +# branch: '{stream}' + + jobs: + - '{project-name}-{stream}-rebase' diff --git a/jjb/appc/appc-deployment-push-upstream-jobs.yaml b/jjb/appc/appc-deployment-push-upstream-jobs.yaml new file mode 100644 index 000000000..939bb575e --- /dev/null +++ b/jjb/appc/appc-deployment-push-upstream-jobs.yaml @@ -0,0 +1,31 @@ +--- +# ============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: appc-deployment-push-upstream + project: appc/deployment + project-name: appc-deployment + stream: + - master: + branch: '{stream}' + + jobs: + - '{project-name}-{stream}-push-upstream' diff --git a/jjb/appc/appc-deployment-rebase-jobs.yaml b/jjb/appc/appc-deployment-rebase-jobs.yaml new file mode 100644 index 000000000..288038539 --- /dev/null +++ b/jjb/appc/appc-deployment-rebase-jobs.yaml @@ -0,0 +1,35 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2018-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 a change is merged to +# appc/deployment project on ONAP Gerrit. +- project: + name: appc-deployment-rebase + project: appc/deployment + project-name: appc-deployment + + stream: + - master: + branch: '{stream}' +# - casablanca: +# branch: '{stream}' + + jobs: + - '{project-name}-{stream}-rebase' diff --git a/jjb/appc/appc-parent-push-upstream-jobs.yaml b/jjb/appc/appc-parent-push-upstream-jobs.yaml new file mode 100644 index 000000000..a3ae79c68 --- /dev/null +++ b/jjb/appc/appc-parent-push-upstream-jobs.yaml @@ -0,0 +1,31 @@ +--- +# ============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: appc-parent-push-upstream + project: appc/parent + project-name: appc-parent + stream: + - master: + branch: '{stream}' + + jobs: + - '{project-name}-{stream}-push-upstream' diff --git a/jjb/appc/appc-parent-rebase-jobs.yaml b/jjb/appc/appc-parent-rebase-jobs.yaml new file mode 100644 index 000000000..a9410c8fe --- /dev/null +++ b/jjb/appc/appc-parent-rebase-jobs.yaml @@ -0,0 +1,35 @@ +--- +# ============LICENSE_START======================================================= +# Copyright (C) 2018-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 a change is merged to +# appc/parent project on ONAP Gerrit. +- project: + name: appc-parent-rebase + project: appc/parent + project-name: appc-parent + + stream: + - master: + branch: '{stream}' +# - casablanca: +# branch: '{stream}' + + jobs: + - '{project-name}-{stream}-rebase' diff --git a/jjb/appc/appc-push-upstream-jobs.yaml b/jjb/appc/appc-push-upstream-jobs.yaml new file mode 100644 index 000000000..45b143641 --- /dev/null +++ b/jjb/appc/appc-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: appc-push-upstream + project: appc + project-name: appc + + stream: + - master: + branch: '{stream}' +# - casablanca: +# branch: '{stream}' + + jobs: + - '{project-name}-{stream}-push-upstream' diff --git a/jjb/appc/appc-rebase-jobs.yaml b/jjb/appc/appc-rebase-jobs.yaml new file mode 100644 index 000000000..707a46d92 --- /dev/null +++ b/jjb/appc/appc-rebase-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 a change is merged to +# appc project on ONAP Gerrit. + +- project: + name: appc-rebase + project: appc + project-name: appc + stream: + - master: + branch: '{stream}' +# - casablanca: +# branch: '{stream}' + jobs: + - '{project-name}-{stream}-rebase'