airshipctl/zuul.d/projects.yaml
Roman Gorshunov 5b862d81c3 CI: run gate runner only on request and on merge
The airshipctl gate runner consumes 16GB RAM VM node. Currently we have
insufficient compute capacity to run it on every patch set change.

This patch set makes gate runner run only on request and on Zuul gate
(pre-merge) to reduce workload imposed onto community CI.

Request to run airshipctl gate runner is a comment
"check experimental"
left to a patch set in Gerrit.

Change-Id: I5cb2a80b5cdc9dd025249e313d29eab62cbb3446
2020-11-10 14:07:00 +01:00

51 lines
1.8 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:
vars:
sphinx_build_dir: docs/build
check:
jobs:
- openstack-tox-docs: &docs
files:
- ^docs/.*$
- airship-airshipctl-golint
- airship-airshipctl-lint
- airship-airshipctl-unit
- airship-airshipctl-roles-test
- airship-airshipctl-check-github-issues
- airship-airshipctl-build-image
- airship-airshipctl-validate-site-docs
# - airship-airshipctl-functional-existing-k8s TODO: Enable this when functional tests exist, and a cluster is up
- airship-airshipctl-gate-script-runner-azuretest
experimental:
jobs:
- airship-airshipctl-gate-script-runner
gate:
jobs:
- openstack-tox-docs: *docs
- airship-airshipctl-lint
- airship-airshipctl-unit
- airship-airshipctl-build-image
- airship-airshipctl-validate-site-docs
- airship-airshipctl-gate-script-runner
# - airship-airshipctl-functional-existing-k8s TODO: Enable this when functional tests exist, and a cluster is up
post:
jobs:
- airship-airshipctl-publish-image
- airship-airshipctl-upload-git-mirror
promote:
jobs:
- promote-airship-project-docs: *docs
- airship-airshipctl-update-github-issues