93778c36fb
This commit introduces a non-voting job to lint Helm charts against the latest version of Helm toolkit from OpenStack-Helm Infra. This job should serve as an indicator of when it's safe to advance the version of Helm toolkit used by Airship. Additionally, this commit modifies all Helm chart lint jobs to run on each commit, regardless of the files modified by a change. This should not introduce a noticeable difference in CI runtime, as these jobs execute quicker than the tox jobs. Change-Id: I43e9ef816317d20277bd951b97fd059ec472a234
116 lines
4.0 KiB
YAML
116 lines
4.0 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-chart-build-gate
|
|
- airship-maas-chart-build-latest-htk
|
|
- airship-maas-docker-build-gate
|
|
gate:
|
|
jobs:
|
|
- airship-maas-lint-ws
|
|
- airship-maas-chart-build-gate
|
|
- 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-chart-build-gate
|
|
description: Build charts using pinned Helm toolkit.
|
|
run: tools/gate/playbooks/helm-linter.yaml
|
|
timeout: 600
|
|
nodeset: airship-maas-single-node
|
|
|
|
- job:
|
|
name: airship-maas-chart-build-latest-htk
|
|
description: Build charts using latest Helm toolkit.
|
|
voting: false
|
|
run: tools/gate/playbooks/helm-linter.yaml
|
|
timeout: 600
|
|
nodeset: airship-maas-single-node
|
|
vars:
|
|
HTK_COMMIT: master
|
|
|
|
- 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
|
|
qRK3V0e93LsjfiVLYgdxnlkNcKH6iNk6YT6pkCGx5veVHUxJcfl+x0EAFwK0sEMHjLxvN
|
|
3nahnLQG67WUDGdz0lMFnDG8pLU/tOzD9E5rNnbZOYjyVdmWXWVHIQGkwnK7fTkLbBCfu
|
|
KQR2DfmbqNcXMAQpsAM7himvYcRO/Fh18bO0ebsNscV2C31KhZgBnmtnaYu7wJvTh2W9+
|
|
rCFpKzBwJlnD97KfMv4ZlWwSH9QvwUC2UO/vcED9yZDwVFHU5okwI0QSwLyoGRs7T+Flc
|
|
Rwk8xGghJDgcxRjH7HHS3pDHaB1kZucEN+g10o2IRFLUcS4w2zYPrXfOZDWKymsvdkUW8
|
|
4XRuqSAuDdTHcjDk7aKpnySb0hDcVf5zNNFA7GqLajkBmaH59fKx1MjNocO3KmpHQ6yb+
|
|
TTIn4aK8xh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