project-config/jenkins/jobs/openstack-helm.yaml
Tin Lam cf7ce6c354 Fix a cyclic CRD problem
This patch set moves all common libraries and toolkit from OpenStack-Helm
to OpenStack-Helm-Infra, and updates the zuul-cloner call. This allows OS-H
to zuul-clone from a centralized repo, OS-H-Infra.  Previously, OS-H-Infra
can have dependencies on OS-H for the helm-toolkit, but OS-H is also
dependent on the OS-H-Infra for the infrastructure-related charts --
causing a potential cyclical dependencies.

Change-Id: Ic61cdc8391bfd3b5b205a0bde354eef7407c6f48
2017-07-05 23:35:47 -05:00

40 lines
990 B
YAML

- job-template:
name: 'gate-openstack-helm{sub}-{integration}-{type}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 100
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- zuul-git-prep
- install-distro-packages
- shell: |
#!/bin/bash -xe
export INTEGRATION={integration}
export INTEGRATION_TYPE={type}
export SUB={sub}
export GATE_ENVIRONMENT=zuul
TOOLKIT_TMP=$HOME/infra
mkdir -p $TOOLKIT_TMP
if [ "$SUB" != "-infra" ] ; then
/usr/zuul-env/bin/zuul-cloner \
--cache-dir /opt/git \
--workspace $TOOLKIT_TMP \
git://git.openstack.org \
openstack/openstack-helm-infra
fi
tools/gate/setup_gate.sh {node}
publishers:
- devstack-logs
- console-log