From: Liam Fallon Date: Thu, 17 Jan 2019 09:14:02 +0000 (+0000) Subject: Add jjb jobs and comments for Policy X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F45%2F245%2F3;p=infra%2Fcicd.git Add jjb jobs and comments for Policy Change-Id: Iad577f89c25ce007d4bac19da17ff1d53719c55e Signed-off-by: Liam Fallon --- diff --git a/jjb/policy/policy-apex-pdp-push-upstream-jobs.yaml b/jjb/policy/policy-apex-pdp-push-upstream-jobs.yaml index e12624b1..88745267 100644 --- a/jjb/policy/policy-apex-pdp-push-upstream-jobs.yaml +++ b/jjb/policy/policy-apex-pdp-push-upstream-jobs.yaml @@ -1,4 +1,23 @@ --- +# ============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: policy-apex-pdp-push-upstream diff --git a/jjb/policy/policy-apex-pdp-rebase-jobs.yaml b/jjb/policy/policy-apex-pdp-rebase-jobs.yaml index a29aa5a4..2cbda198 100644 --- a/jjb/policy/policy-apex-pdp-rebase-jobs.yaml +++ b/jjb/policy/policy-apex-pdp-rebase-jobs.yaml @@ -1,4 +1,23 @@ --- +# ============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 # policy/apex-pdp project on ONAP Gerrit. - project: diff --git a/jjb/policy/policy-apex-pdp-verify-jobs.yaml b/jjb/policy/policy-apex-pdp-verify-jobs.yaml index bc048d9f..e7ebe119 100644 --- a/jjb/policy/policy-apex-pdp-verify-jobs.yaml +++ b/jjb/policy/policy-apex-pdp-verify-jobs.yaml @@ -1,7 +1,7 @@ --- # # ============LICENSE_START======================================================= -# Copyright (C) 2018 Nordix Foundation. +# 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. @@ -17,7 +17,7 @@ # # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END========================================================= -# + # this job gets triggered when a change is proposed to # policy/apex-pdp project on Nordix Gerrit. diff --git a/jjb/policy/policy-common-push-upstream-jobs.yaml b/jjb/policy/policy-common-push-upstream-jobs.yaml new file mode 100644 index 00000000..be8c1c6e --- /dev/null +++ b/jjb/policy/policy-common-push-upstream-jobs.yaml @@ -0,0 +1,28 @@ +--- +# ============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: policy-common-push-upstream + project: policy/common + project-name: policy-common + branch: master + jobs: + - '{project-name}-push-upstream' diff --git a/jjb/policy/policy-common-rebase-jobs.yaml b/jjb/policy/policy-common-rebase-jobs.yaml index 15fa9d78..bc968c72 100644 --- a/jjb/policy/policy-common-rebase-jobs.yaml +++ b/jjb/policy/policy-common-rebase-jobs.yaml @@ -1,4 +1,23 @@ --- +# ============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 # policy/common project on ONAP Gerrit. - project: diff --git a/jjb/policy/policy-common-verify-jobs.yaml b/jjb/policy/policy-common-verify-jobs.yaml index 8e0cd6f7..e0f701f7 100644 --- a/jjb/policy/policy-common-verify-jobs.yaml +++ b/jjb/policy/policy-common-verify-jobs.yaml @@ -1,7 +1,7 @@ --- # # ============LICENSE_START======================================================= -# Copyright (C) 2018 Nordix Foundation. +# 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. @@ -17,7 +17,7 @@ # # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END========================================================= -# + # this job gets triggered when a change is proposed to # policy/common project on Nordix Gerrit. @@ -27,8 +27,6 @@ project-name: policy-common stream: - - 'master': - branch: '{stream}' - 'nordix-dev': branch: '{stream}' diff --git a/jjb/policy/policy-distribution-push-upstream-jobs.yaml b/jjb/policy/policy-distribution-push-upstream-jobs.yaml new file mode 100644 index 00000000..36854f2b --- /dev/null +++ b/jjb/policy/policy-distribution-push-upstream-jobs.yaml @@ -0,0 +1,28 @@ +--- +# ============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: policy-distribution-push-upstream + project: policy/distribution + project-name: policy-distribution + branch: master + jobs: + - '{project-name}-push-upstream' diff --git a/jjb/policy/policy-distribution-rebase-jobs.yaml b/jjb/policy/policy-distribution-rebase-jobs.yaml index 48ac4eb9..0d8d5c4a 100644 --- a/jjb/policy/policy-distribution-rebase-jobs.yaml +++ b/jjb/policy/policy-distribution-rebase-jobs.yaml @@ -1,4 +1,23 @@ --- +# ============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 # policy/distribution project on ONAP Gerrit. - project: diff --git a/jjb/policy/policy-distribution-verify-jobs.yaml b/jjb/policy/policy-distribution-verify-jobs.yaml index d8f9480d..e9767d86 100644 --- a/jjb/policy/policy-distribution-verify-jobs.yaml +++ b/jjb/policy/policy-distribution-verify-jobs.yaml @@ -1,7 +1,7 @@ --- # # ============LICENSE_START======================================================= -# Copyright (C) 2018 Nordix Foundation. +# 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. @@ -17,7 +17,7 @@ # # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END========================================================= -# + # this job gets triggered when a change is proposed to # policy/distribution project on Nordix Gerrit. @@ -27,8 +27,6 @@ project-name: policy-distribution stream: - - 'master': - branch: '{stream}' - 'nordix-dev': branch: '{stream}'