- job-template: name: 'gate-{name}-{distro}{pkg-service}{job-suffix}' project-type: freestyle defaults: global description: '{name} {pkg-service} {distro} gate job' disabled: false concurrent: true node: trusty-devstack-cz5608 || xenial-devstack-cz5680 parameters: - bool: name: KEEP_VM_ALIVE - string: name: MURANO_DEPLOYMENT_REF - string: name: OVERRIDE_PROJECT default: '{repository}' properties: - zeromq-event builders: - shell: | #!/bin/bash git clone https://git.openstack.org/openstack/murano-deployment . if [[ -n "$MURANO_DEPLOYMENT_REF" ]]; then git fetch https://review.openstack.org/openstack/murano-deployment $MURANO_DEPLOYMENT_REF && git checkout FETCH_HEAD fi export DISTR_NAME='{distro}' export PACKAGES_SERVICE='{pkg-service}' if [[ $ZUUL_REF =~ "juno" || $ZUUL_REF =~ "kilo" ]]; then echo 'Using old CI strategy' else export EXECUTE_TESTS_BY_TAG='{tests}' fi bash ./murano-ci/scripts/start_gate.sh publishers: - collect-report - collect-gate-artifacts - archive-artifacts - job-template: name: 'heartbeat-{name}-{distro}' project-type: freestyle defaults: global description: '{name} {distro} heartbeat job' disabled: false concurrent: true node: trusty-devstack-cz5608 || xenial-devstack-cz5680 triggers: - timed: "H */3 * * *" parameters: - bool: name: KEEP_VM_ALIVE - string: name: MURANO_DEPLOYMENT_REF - string: name: OVERRIDE_PROJECT default: '{repository}' properties: - zeromq-event builders: - shell: | #!/bin/bash git clone https://git.openstack.org/openstack/murano-deployment . if [[ -n "$MURANO_DEPLOYMENT_REF" ]]; then git fetch https://review.openstack.org/openstack/murano-deployment $MURANO_DEPLOYMENT_REF && git checkout FETCH_HEAD fi export OVERRIDE_URL=https://git.openstack.org export OVERRIDE_BRANCH=master export DISTR_NAME='{distro}' export EXECUTE_TESTS_BY_TAG='{tests}' export SAVE_IMAGE='no' # 'yes' # Temporary workaround until Murano CI upgrade bash ./murano-ci/scripts/start_gate.sh publishers: - collect-report - collect-heartbeat-artifacts - archive-artifacts - email-on-unstable-build - job-template: name: 'coverage-{name}-{distro}' project-type: freestyle defaults: global description: '{name} {distro} coverage job' disabled: false concurrent: true node: trusty-devstack-cz5608 || xenial-devstack-cz5680 triggers: - timed: "H */3 * * *" parameters: - bool: name: KEEP_VM_ALIVE - string: name: MURANO_DEPLOYMENT_REF - string: name: OVERRIDE_PROJECT default: '{repository}' properties: - zeromq-event builders: - shell: | #!/bin/bash git clone https://git.openstack.org/openstack/murano-deployment . if [[ -n "$MURANO_DEPLOYMENT_REF" ]]; then git fetch https://review.openstack.org/openstack/murano-deployment $MURANO_DEPLOYMENT_REF && git checkout FETCH_HEAD fi export OVERRIDE_URL=https://git.openstack.org export OVERRIDE_BRANCH=master export DISTR_NAME='{distro}' export EXECUTE_TESTS_BY_TAG='{tests}' export WITH_COVERAGE='true' bash ./murano-ci/scripts/start_gate.sh publishers: - collect-report - collect-coverage-artifacts - archive-artifacts - email-on-unstable-build - project: name: murano distro: ubuntu job-suffix: - '' pkg-service: - '' repository: openstack/murano tests: 'gate' jobs: - 'hook-{name}-rtfd' - 'gate-{name}-{distro}{pkg-service}{job-suffix}' - 'heartbeat-{name}-{distro}' - 'coverage-{name}-{distro}' - project: name: murano-dashboard distro: ubuntu job-suffix: - '' repository: openstack/murano-dashboard tests: '' pkg-service: - '' jobs: - 'gate-{name}-{distro}{pkg-service}{job-suffix}' - 'heartbeat-{name}-{distro}' - project: name: murano-agent pkg-service: '' distro: - ubuntu - debian job-suffix: - '' - '-nv' repository: openstack/murano-agent tests: 'gate' jobs: - 'gate-{name}-{distro}{pkg-service}{job-suffix}' - 'heartbeat-{name}-{distro}' - project: name: murano-client distro: ubuntu job-suffix: - '' pkg-service: - '' repository: openstack/python-muranoclient tests: '' jobs: - 'gate-{name}-{distro}{pkg-service}{job-suffix}'