maas/.zuul.yaml
Scott Hussey 22483e9a15 (zuul) Add Docker image jobs
- Add check/gate jobs to build images
- Add post job to build and publish images

Change-Id: I9c09923996f2d6341f3b9fe3cb27eecc8ae79c64
2018-06-08 05:38:15 -05:00

108 lines
3.7 KiB
YAML

# 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.
- project:
check:
jobs:
- airship-maas-lint-ws
- airship-maas-lint-chart
- airship-maas-docker-build-gate
gate:
jobs:
- airship-maas-lint-ws
- airship-maas-lint-chart
- airship-maas-docker-build-gate
post:
jobs:
- airship-maas-docker-publish
- nodeset:
name: airship-maas-single-node
nodes:
- name: primary
label: ubuntu-xenial
- job:
name: airship-maas-lint-ws
description: |
Lints all files for trailing whitespace
run: tools/gate/playbooks/zuul-linter.yaml
timeout: 300
nodeset: airship-maas-single-node
- job:
name: airship-maas-lint-chart
files:
- ^charts/.*$
description: |
Lints Helm charts for validity
run: tools/gate/playbooks/helm-linter.yaml
timeout: 600
nodeset: airship-maas-single-node
- job:
name: airship-maas-docker-build-gate
timeout: 1800
run: tools/gate/playbooks/docker-image-build.yaml
nodeset: airship-maas-single-node
files:
- '^images/.*'
vars:
publish: false
tags:
dynamic:
patch_set: true
- job:
name: airship-maas-docker-publish
timeout: 1800
run: tools/gate/playbooks/docker-image-build.yaml
nodeset: airship-maas-single-node
secrets:
- airship_maas_quay_creds
irrelevant-files:
- '^images/.*'
vars:
publish: true
tags:
dynamic:
branch: true
commit: true
static:
- latest
- secret:
name: airship_maas_quay_creds
data:
username: !encrypted/pkcs1-oaep
- C3OlPbC72jwWy2KO224B+JoIThvsAhEvNG2USHtIISHWQPTod3fA2rDut28dopMoBiit4
qRK3V0e93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