052f28a9a2
python3 -m venv is always expected to work while virtualenv_python might attempt to use a virtualenv binary script. We already make sure that python3-venv is installed in the ara_api pre-requirements. Fixes: https://github.com/ansible-community/ara/issues/43 Change-Id: I0994cd99e24f9a23d0dfeb66e8b838ced7aed948
222 lines
8.1 KiB
YAML
222 lines
8.1 KiB
YAML
- job:
|
|
name: ara-tox-py3
|
|
parent: tox
|
|
nodeset: ubuntu-bionic
|
|
vars:
|
|
tox_envlist: py3
|
|
|
|
- job:
|
|
name: ara-tox-linters
|
|
parent: tox
|
|
nodeset: ubuntu-bionic
|
|
vars:
|
|
tox_envlist: linters
|
|
|
|
- job:
|
|
name: ansible-role-ara-tests-base
|
|
parent: base
|
|
vars:
|
|
ara_tests_cleanup: false
|
|
integration_ansible_name: "{{ ansible_user_dir }}/src/github.com/ansible/ansible"
|
|
integration_ansible_version: null
|
|
pre-run: tests/role-integration-pre.yaml
|
|
run: playbooks/ara_tests.yaml
|
|
post-run: tests/ara_tests_post.yaml
|
|
|
|
- job:
|
|
name: ansible-role-ara-tests-fedora-devel
|
|
parent: ansible-role-ara-tests-base
|
|
nodeset: fedora-latest
|
|
required-projects:
|
|
- name: github.com/ansible/ansible
|
|
override-checkout: devel
|
|
|
|
- job:
|
|
name: ansible-role-ara-tests-fedora-2.7
|
|
parent: ansible-role-ara-tests-base
|
|
nodeset: fedora-latest
|
|
required-projects:
|
|
- name: github.com/ansible/ansible
|
|
override-checkout: stable-2.7
|
|
|
|
- job:
|
|
name: ansible-role-ara-tests-ubuntu-2.6
|
|
parent: ansible-role-ara-tests-base
|
|
nodeset: ubuntu-bionic
|
|
required-projects:
|
|
- name: github.com/ansible/ansible
|
|
override-checkout: stable-2.6
|
|
|
|
- job:
|
|
name: ansible-role-ara-api-base
|
|
parent: base
|
|
files:
|
|
- ara/*
|
|
- playbooks/*
|
|
- roles/*
|
|
- tests/*
|
|
- .zuul.d/*
|
|
- setup.py
|
|
- setup.cfg
|
|
- requirements.txt
|
|
- test-requirements.txt
|
|
pre-run: tests/role-integration-pre.yaml
|
|
run: playbooks/ara_api.yaml
|
|
vars:
|
|
ara_tests_cleanup: false
|
|
ara_api_source: "{{ ansible_user_dir }}/src/opendev.org/recordsansible/ara"
|
|
ara_api_version: HEAD
|
|
ansible_python_interpreter: /usr/bin/python3
|
|
|
|
- job:
|
|
name: ansible-role-ara-api-ubuntu
|
|
parent: ansible-role-ara-api-base
|
|
nodeset: ubuntu-bionic
|
|
|
|
- job:
|
|
name: ansible-role-ara-api-fedora
|
|
parent: ansible-role-ara-api-base
|
|
nodeset: fedora-latest
|
|
|
|
# TODO: the install-docker role assumes running on Ubuntu
|
|
- job:
|
|
name: ansible-role-ara-api-ubuntu-postgresql
|
|
parent: ansible-role-ara-api-base
|
|
nodeset: ubuntu-bionic
|
|
roles:
|
|
- zuul: zuul/zuul-jobs
|
|
pre-run: tests/install_docker.yaml
|
|
run: tests/with_postgresql.yaml
|
|
post-run: tests/ara_tests_post.yaml
|
|
|
|
- job:
|
|
name: ansible-role-ara-web-base
|
|
parent: base
|
|
files:
|
|
# ara
|
|
- ara/*
|
|
- playbooks/*
|
|
- roles/*
|
|
- tests/*
|
|
- .zuul.d/*
|
|
- setup.py
|
|
- setup.cfg
|
|
- requirements.txt
|
|
- test-requirements.txt
|
|
# ara-web
|
|
- src/.*
|
|
- public/.*
|
|
- package.json
|
|
- package-lock.json
|
|
required-projects:
|
|
- recordsansible/ara-web
|
|
run: playbooks/ara_web.yaml
|
|
post-run: tests/role-ara-web-post.yaml
|
|
vars:
|
|
ara_web_source: "{{ ansible_user_dir }}/src/opendev.org/recordsansible/ara-web"
|
|
ara_web_api_server: "https://api.demo.recordsansible.org"
|
|
ansible_python_interpreter: /usr/bin/python3
|
|
|
|
- job:
|
|
name: ansible-role-ara-web-ubuntu
|
|
parent: ansible-role-ara-web-base
|
|
nodeset: ubuntu-bionic
|
|
|
|
- job:
|
|
name: ansible-role-ara-web-fedora
|
|
parent: ansible-role-ara-web-base
|
|
nodeset: fedora-latest
|
|
|
|
- secret:
|
|
name: ara_git_mirror_credentials
|
|
data:
|
|
user: git
|
|
host: github.com
|
|
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
|
|
ssh_key: !encrypted/pkcs1-oaep
|
|
- FhYdGQG7cKUDlV6bLODBL3TkptqHi/TiZTon5diBgGng0FeqbBpbKnDJdzCC0xa+oFCvN
|
|
hJeZejxfJJ+fJ0FbSdV+PSC+uG7WwOLgdB3Cn1hl5MwP+LV4xKbYMT8mgL3LGW2OS/PMN
|
|
mJ0lZVO0KKr156nszp8XKR1fppjKkQcVX8N+w+ioCAqJ3sZECgLpILJ/37L9C4tGIkF+W
|
|
Py65UI2h9b3en9AUwW1NMvYO9SpnOCS3q18ogL2tLcl4YMKRzAXwB0VM/iI4SYcmMUC8s
|
|
gPiCbqyKjZpJ235PX56UXVwuRTQf2Bd7V3812QPjhJvdze2KAf/GlTGrqkcPVXOB5Cwv/
|
|
bzEMBEvm/zRcWczmI9BZ8J9Yto4/wneugKTsEHcJfS7kobDAhIvvWs2zAYTEwXGhgFCRB
|
|
/3wcPvBeswgL796s5eHlxYqZD4qscfc/VKoNqpmF6AnNX3mOC7V3dqHRrt33yQpvss8cF
|
|
aukI0ywJ/NBu62Fq36mE15ciOgKTaWjKjScz3CqXR59ERNoEJ/QYywxcoGhRFfKxEC8Cp
|
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HTMTI
|
|
VATkbphVuVYV5NQmQPjE41t0uM/aH2MOP5DAg2UN1z6N/PQAMtqhCbRmo0D40SVT7qafp
|
|
lYLaYrX0oyksfUHxA5/puDc7/saTykaId+eAsLS5HfkdkE+iwXFnnBz3lVYGmIPPwTEk8
|
|
BgWyjHt84Bfxoy6FRCaRHWlVWGfxEp2JxhmgVLfNwZMNnmvmhBqm8lKY9baaaY=
|
|
|
|
- job:
|
|
name: ara-upload-git-mirror
|
|
parent: upload-git-mirror
|
|
description: Mirrors recordsansible/ara to ansible-community/ara
|
|
allowed-projects: recordsansible/ara
|
|
vars:
|
|
git_mirror_repository: ansible-community/ara
|
|
secrets:
|
|
- name: git_mirror_credentials
|
|
secret: ara_git_mirror_credentials
|
|
pass-to-parent: true
|
|
|
|
- project:
|
|
vars:
|
|
rtd_webhook_id: '49230'
|
|
templates:
|
|
- docs-on-readthedocs
|
|
check:
|
|
jobs:
|
|
- ansible-role-ara-tests-fedora-2.7
|
|
- ansible-role-ara-tests-fedora-devel:
|
|
voting: false
|
|
- ansible-role-ara-tests-ubuntu-2.6
|
|
- ansible-role-ara-api-ubuntu
|
|
- ansible-role-ara-api-fedora
|
|
- ansible-role-ara-api-ubuntu-postgresql
|
|
- ansible-role-ara-web-ubuntu
|
|
- ansible-role-ara-web-fedora
|
|
- ara-tox-linters
|
|
- ara-tox-py3
|
|
gate:
|
|
jobs:
|
|
- ansible-role-ara-tests-fedora-2.7
|
|
- ansible-role-ara-tests-ubuntu-2.6
|
|
- ansible-role-ara-api-ubuntu
|
|
- ansible-role-ara-api-fedora
|
|
- ansible-role-ara-api-ubuntu-postgresql
|
|
- ansible-role-ara-web-ubuntu
|
|
- ansible-role-ara-web-fedora
|
|
- ara-tox-linters
|
|
- ara-tox-py3
|
|
post:
|
|
jobs:
|
|
- ara-upload-git-mirror
|