Use master version of dependencies
Use master branch of: * Kolla * Kolla ansible * Bifrost * IPA * OpenStack services * Requirements Also, use the infra docker registry mirror at port 8082 which does not have any path component in its URL, and so works with Docker CE. Depends-On: https://review.openstack.org/#/c/651254/ Change-Id: Icdb62aa0083d9272a08421138719cf5f6b52ec5a Story: 2001864 Task: 14316
This commit is contained in:
parent
c2a35ce211
commit
eda8246b7b
@ -8,7 +8,7 @@
|
|||||||
kolla_bifrost_source_url: "https://git.openstack.org/openstack/bifrost"
|
kolla_bifrost_source_url: "https://git.openstack.org/openstack/bifrost"
|
||||||
|
|
||||||
# Version (branch, tag, etc.) of Bifrost source code repository.
|
# Version (branch, tag, etc.) of Bifrost source code repository.
|
||||||
kolla_bifrost_source_version: "stable/rocky"
|
kolla_bifrost_source_version: "master"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Diskimage-builder configuration.
|
# Diskimage-builder configuration.
|
||||||
|
@ -11,7 +11,7 @@ ipa_build_images: False
|
|||||||
ipa_build_source_url: "https://git.openstack.org/openstack/ironic-python-agent"
|
ipa_build_source_url: "https://git.openstack.org/openstack/ironic-python-agent"
|
||||||
|
|
||||||
# Version of IPA source repository.
|
# Version of IPA source repository.
|
||||||
ipa_build_source_version: "stable/rocky"
|
ipa_build_source_version: "master"
|
||||||
|
|
||||||
# URL of IPA upper constraints file.
|
# URL of IPA upper constraints file.
|
||||||
ipa_build_upper_constraints_file_url:
|
ipa_build_upper_constraints_file_url:
|
||||||
@ -63,7 +63,7 @@ ipa_build_dib_git_elements: []
|
|||||||
ipa_images_kernel_name: "ipa.vmlinuz"
|
ipa_images_kernel_name: "ipa.vmlinuz"
|
||||||
|
|
||||||
# URL of Ironic deployment kernel image to download.
|
# URL of Ironic deployment kernel image to download.
|
||||||
ipa_kernel_upstream_url: "https://tarballs.openstack.org/ironic-python-agent/coreos/files/coreos_production_pxe-stable-rocky.vmlinuz"
|
ipa_kernel_upstream_url: "https://tarballs.openstack.org/ironic-python-agent/coreos/files/coreos_production_pxe.vmlinuz"
|
||||||
|
|
||||||
# URL of checksum of Ironic deployment kernel image.
|
# URL of checksum of Ironic deployment kernel image.
|
||||||
ipa_kernel_checksum_url: "{{ ipa_kernel_upstream_url }}.{{ ipa_kernel_checksum_algorithm }}"
|
ipa_kernel_checksum_url: "{{ ipa_kernel_upstream_url }}.{{ ipa_kernel_checksum_algorithm }}"
|
||||||
@ -75,7 +75,7 @@ ipa_kernel_checksum_algorithm: "sha256"
|
|||||||
ipa_images_ramdisk_name: "ipa.initramfs"
|
ipa_images_ramdisk_name: "ipa.initramfs"
|
||||||
|
|
||||||
# URL of Ironic deployment ramdisk image to download.
|
# URL of Ironic deployment ramdisk image to download.
|
||||||
ipa_ramdisk_upstream_url: "https://tarballs.openstack.org/ironic-python-agent/coreos/files/coreos_production_pxe_image-oem-stable-rocky.cpio.gz"
|
ipa_ramdisk_upstream_url: "https://tarballs.openstack.org/ironic-python-agent/coreos/files/coreos_production_pxe_image-oem.cpio.gz"
|
||||||
|
|
||||||
# URL of checksum of Ironic deployment ramdisk image.
|
# URL of checksum of Ironic deployment ramdisk image.
|
||||||
ipa_ramdisk_checksum_url: "{{ ipa_ramdisk_upstream_url }}.{{ ipa_ramdisk_checksum_algorithm }}"
|
ipa_ramdisk_checksum_url: "{{ ipa_ramdisk_upstream_url }}.{{ ipa_ramdisk_checksum_algorithm }}"
|
||||||
|
@ -13,7 +13,7 @@ kolla_source_url: "https://git.openstack.org/openstack/kolla"
|
|||||||
|
|
||||||
# Version (branch, tag, etc.) of Kolla source code repository if type is
|
# Version (branch, tag, etc.) of Kolla source code repository if type is
|
||||||
# 'source'.
|
# 'source'.
|
||||||
kolla_source_version: "stable/rocky"
|
kolla_source_version: "master"
|
||||||
|
|
||||||
# Path to virtualenv in which to install kolla.
|
# Path to virtualenv in which to install kolla.
|
||||||
kolla_venv: "{{ virtualenv_path ~ '/kolla' }}"
|
kolla_venv: "{{ virtualenv_path ~ '/kolla' }}"
|
||||||
@ -35,7 +35,7 @@ kolla_ansible_source_url: "https://git.openstack.org/openstack/kolla-ansible"
|
|||||||
|
|
||||||
# Version (branch, tag, etc.) of Kolla Ansible source code repository if type
|
# Version (branch, tag, etc.) of Kolla Ansible source code repository if type
|
||||||
# is 'source'.
|
# is 'source'.
|
||||||
kolla_ansible_source_version: "stable/rocky"
|
kolla_ansible_source_version: "master"
|
||||||
|
|
||||||
# Path to virtualenv in which to install kolla-ansible.
|
# Path to virtualenv in which to install kolla-ansible.
|
||||||
kolla_ansible_venv: "{{ lookup('env', 'KOLLA_VENV_PATH') | default(lookup('env', 'PWD') ~ '/venvs/kolla-ansible', true) }}"
|
kolla_ansible_venv: "{{ lookup('env', 'KOLLA_VENV_PATH') | default(lookup('env', 'PWD') ~ '/venvs/kolla-ansible', true) }}"
|
||||||
@ -71,7 +71,7 @@ kolla_docker_registry_username:
|
|||||||
kolla_docker_registry_password:
|
kolla_docker_registry_password:
|
||||||
|
|
||||||
# Kolla OpenStack release version. This should be a Docker image tag.
|
# Kolla OpenStack release version. This should be a Docker image tag.
|
||||||
kolla_openstack_release: "rocky"
|
kolla_openstack_release: "master"
|
||||||
|
|
||||||
# Dict mapping names of sources to their definitions for
|
# Dict mapping names of sources to their definitions for
|
||||||
# kolla_install_type=source. See kolla.common.config for details.
|
# kolla_install_type=source. See kolla.common.config for details.
|
||||||
@ -291,8 +291,6 @@ kolla_overcloud_inventory_top_level_group_map:
|
|||||||
kolla_overcloud_inventory_kolla_top_level_groups:
|
kolla_overcloud_inventory_kolla_top_level_groups:
|
||||||
- "control"
|
- "control"
|
||||||
- "network"
|
- "network"
|
||||||
- "inner-compute"
|
|
||||||
- "external-compute"
|
|
||||||
- "compute"
|
- "compute"
|
||||||
- "monitoring"
|
- "monitoring"
|
||||||
- "storage"
|
- "storage"
|
||||||
@ -315,7 +313,7 @@ kolla_enable_tls_external: "no"
|
|||||||
kolla_openstack_logging_debug: "False"
|
kolla_openstack_logging_debug: "False"
|
||||||
|
|
||||||
# Upper constraints file for installation of Kolla.
|
# Upper constraints file for installation of Kolla.
|
||||||
kolla_upper_constraints_file: "https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky"
|
kolla_upper_constraints_file: "https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt"
|
||||||
|
|
||||||
# User account to use for Kolla SSH access.
|
# User account to use for Kolla SSH access.
|
||||||
kolla_ansible_user: kolla
|
kolla_ansible_user: kolla
|
||||||
|
@ -32,7 +32,6 @@ monitoring
|
|||||||
|
|
||||||
[etcd:children]
|
[etcd:children]
|
||||||
control
|
control
|
||||||
compute
|
|
||||||
|
|
||||||
[influxdb:children]
|
[influxdb:children]
|
||||||
monitoring
|
monitoring
|
||||||
@ -84,6 +83,13 @@ control
|
|||||||
[qdrouterd:children]
|
[qdrouterd:children]
|
||||||
control
|
control
|
||||||
|
|
||||||
|
[monasca-agent:children]
|
||||||
|
compute
|
||||||
|
control
|
||||||
|
monitoring
|
||||||
|
network
|
||||||
|
storage
|
||||||
|
|
||||||
[monasca:children]
|
[monasca:children]
|
||||||
monitoring
|
monitoring
|
||||||
|
|
||||||
@ -167,6 +173,10 @@ control
|
|||||||
[aodh:children]
|
[aodh:children]
|
||||||
control
|
control
|
||||||
|
|
||||||
|
[cyborg:children]
|
||||||
|
control
|
||||||
|
compute
|
||||||
|
|
||||||
[congress:children]
|
[congress:children]
|
||||||
control
|
control
|
||||||
|
|
||||||
|
@ -15,9 +15,6 @@
|
|||||||
[glance-api:children]
|
[glance-api:children]
|
||||||
glance
|
glance
|
||||||
|
|
||||||
[glance-registry:children]
|
|
||||||
glance
|
|
||||||
|
|
||||||
# Nova
|
# Nova
|
||||||
[nova-api:children]
|
[nova-api:children]
|
||||||
nova
|
nova
|
||||||
@ -73,6 +70,9 @@ neutron
|
|||||||
[neutron-infoblox-ipam-agent:children]
|
[neutron-infoblox-ipam-agent:children]
|
||||||
neutron
|
neutron
|
||||||
|
|
||||||
|
[neutron-metering-agent:children]
|
||||||
|
neutron
|
||||||
|
|
||||||
[ironic-neutron-agent:children]
|
[ironic-neutron-agent:children]
|
||||||
neutron
|
neutron
|
||||||
|
|
||||||
@ -195,9 +195,21 @@ murano
|
|||||||
murano
|
murano
|
||||||
|
|
||||||
# Monasca
|
# Monasca
|
||||||
|
[monasca-agent-collector:children]
|
||||||
|
monasca-agent
|
||||||
|
|
||||||
|
[monasca-agent-forwarder:children]
|
||||||
|
monasca-agent
|
||||||
|
|
||||||
|
[monasca-agent-statsd:children]
|
||||||
|
monasca-agent
|
||||||
|
|
||||||
[monasca-api:children]
|
[monasca-api:children]
|
||||||
monasca
|
monasca
|
||||||
|
|
||||||
|
[monasca-grafana:children]
|
||||||
|
monasca
|
||||||
|
|
||||||
[monasca-log-api:children]
|
[monasca-log-api:children]
|
||||||
monasca
|
monasca
|
||||||
|
|
||||||
@ -277,6 +289,12 @@ solum
|
|||||||
[solum-conductor:children]
|
[solum-conductor:children]
|
||||||
solum
|
solum
|
||||||
|
|
||||||
|
[solum-application-deployment:children]
|
||||||
|
solum
|
||||||
|
|
||||||
|
[solum-image-builder:children]
|
||||||
|
solum
|
||||||
|
|
||||||
# Mistral
|
# Mistral
|
||||||
[mistral-api:children]
|
[mistral-api:children]
|
||||||
mistral
|
mistral
|
||||||
@ -287,6 +305,9 @@ mistral
|
|||||||
[mistral-engine:children]
|
[mistral-engine:children]
|
||||||
mistral
|
mistral
|
||||||
|
|
||||||
|
[mistral-event-engine:children]
|
||||||
|
mistral
|
||||||
|
|
||||||
# Ceilometer
|
# Ceilometer
|
||||||
[ceilometer-central:children]
|
[ceilometer-central:children]
|
||||||
ceilometer
|
ceilometer
|
||||||
@ -297,6 +318,9 @@ ceilometer
|
|||||||
[ceilometer-compute:children]
|
[ceilometer-compute:children]
|
||||||
compute
|
compute
|
||||||
|
|
||||||
|
[ceilometer-ipmi:children]
|
||||||
|
compute
|
||||||
|
|
||||||
# Aodh
|
# Aodh
|
||||||
[aodh-api:children]
|
[aodh-api:children]
|
||||||
aodh
|
aodh
|
||||||
@ -310,6 +334,16 @@ aodh
|
|||||||
[aodh-notifier:children]
|
[aodh-notifier:children]
|
||||||
aodh
|
aodh
|
||||||
|
|
||||||
|
# Cyborg
|
||||||
|
[cyborg-api:children]
|
||||||
|
cyborg
|
||||||
|
|
||||||
|
[cyborg-agent:children]
|
||||||
|
compute
|
||||||
|
|
||||||
|
[cyborg-conductor:children]
|
||||||
|
cyborg
|
||||||
|
|
||||||
# Congress
|
# Congress
|
||||||
[congress-api:children]
|
[congress-api:children]
|
||||||
congress
|
congress
|
||||||
@ -447,9 +481,6 @@ vitrage
|
|||||||
[vitrage-graph:children]
|
[vitrage-graph:children]
|
||||||
vitrage
|
vitrage
|
||||||
|
|
||||||
[vitrage-collector:children]
|
|
||||||
vitrage
|
|
||||||
|
|
||||||
[vitrage-ml:children]
|
[vitrage-ml:children]
|
||||||
vitrage
|
vitrage
|
||||||
|
|
||||||
@ -489,3 +520,6 @@ monitoring
|
|||||||
|
|
||||||
[prometheus-openstack-exporter:children]
|
[prometheus-openstack-exporter:children]
|
||||||
monitoring
|
monitoring
|
||||||
|
|
||||||
|
[prometheus-elasticsearch-exporter:children]
|
||||||
|
elasticsearch
|
||||||
|
@ -59,7 +59,3 @@ ansible_python_interpreter={{ kolla_ansible_target_venv }}/bin/python
|
|||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
[compute:children]
|
|
||||||
inner-compute
|
|
||||||
external-compute
|
|
||||||
|
@ -5,7 +5,7 @@ disable_selinux_do_reboot: false
|
|||||||
|
|
||||||
# Use the OpenStack infra's Dockerhub mirror.
|
# Use the OpenStack infra's Dockerhub mirror.
|
||||||
docker_registry_mirrors:
|
docker_registry_mirrors:
|
||||||
- "http://{{ zuul_site_mirror_fqdn }}:8081/registry-1.docker/"
|
- "http://{{ zuul_site_mirror_fqdn }}:8082/"
|
||||||
|
|
||||||
kolla_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['git.openstack.org/openstack/kolla'].src_dir }}"
|
kolla_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['git.openstack.org/openstack/kolla'].src_dir }}"
|
||||||
kolla_source_version: "{{ zuul.projects['git.openstack.org/openstack/kolla'].checkout }}"
|
kolla_source_version: "{{ zuul.projects['git.openstack.org/openstack/kolla'].checkout }}"
|
||||||
|
@ -5,7 +5,7 @@ disable_selinux_do_reboot: false
|
|||||||
|
|
||||||
# Use the OpenStack infra's Dockerhub mirror.
|
# Use the OpenStack infra's Dockerhub mirror.
|
||||||
docker_registry_mirrors:
|
docker_registry_mirrors:
|
||||||
- "http://{{ zuul_site_mirror_fqdn }}:8081/registry-1.docker/"
|
- "http://{{ zuul_site_mirror_fqdn }}:8082/"
|
||||||
|
|
||||||
{% if not is_previous_release | default(false) %}
|
{% if not is_previous_release | default(false) %}
|
||||||
kolla_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['git.openstack.org/openstack/kolla'].src_dir }}"
|
kolla_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['git.openstack.org/openstack/kolla'].src_dir }}"
|
||||||
|
@ -71,13 +71,13 @@
|
|||||||
- block:
|
- block:
|
||||||
- name: Perform testing of the VMs in the overcloud prior to upgrade
|
- name: Perform testing of the VMs in the overcloud prior to upgrade
|
||||||
shell:
|
shell:
|
||||||
cmd: dev/overcloud-test.sh > {{ logs_dir }}/ansible/overcloud-test-vm-pre-upgrade
|
cmd: dev/overcloud-test-vm.sh > {{ logs_dir }}/ansible/overcloud-test-vm-pre-upgrade
|
||||||
chdir: "{{ previous_kayobe_src_dir }}"
|
chdir: "{{ previous_kayobe_src_dir }}"
|
||||||
|
|
||||||
- name: Perform testing of the baremetal machines in the overcloud prior to upgrade
|
- name: Perform testing of the baremetal machines in the overcloud prior to upgrade
|
||||||
shell:
|
shell:
|
||||||
cmd: dev/overcloud-test-baremetal.sh > {{ logs_dir }}/ansible/overcloud-test-bm-pre-upgrade
|
cmd: dev/overcloud-test-baremetal.sh > {{ logs_dir }}/ansible/overcloud-test-bm-pre-upgrade
|
||||||
chdir: "{{ kayobe_src_dir }}"
|
chdir: "{{ previous_kayobe_src_dir }}"
|
||||||
|
|
||||||
# Upgrade Kayobe, and use it to perform an upgrade of the control plane.
|
# Upgrade Kayobe, and use it to perform an upgrade of the control plane.
|
||||||
|
|
||||||
@ -85,14 +85,6 @@
|
|||||||
shell:
|
shell:
|
||||||
cmd: "{{ kayobe_src_dir }}/dev/overcloud-upgrade.sh > {{ logs_dir }}/ansible/overcloud-upgrade"
|
cmd: "{{ kayobe_src_dir }}/dev/overcloud-upgrade.sh > {{ logs_dir }}/ansible/overcloud-upgrade"
|
||||||
|
|
||||||
# FIXME(mgoddard): The nova-compute service does not seem to be correctly
|
|
||||||
# handling the SIGHUP after being upgraded, leading to "In shutdown, no new
|
|
||||||
# events can be scheduled" errors when booting an instance.
|
|
||||||
- name: Workaround for SIGHUP issue - restart nova-compute service
|
|
||||||
shell:
|
|
||||||
cmd: docker restart nova_compute
|
|
||||||
become: true
|
|
||||||
|
|
||||||
# Perform a smoke test against the upgraded current release.
|
# Perform a smoke test against the upgraded current release.
|
||||||
|
|
||||||
- name: Perform testing of VMs in the upgraded overcloud
|
- name: Perform testing of VMs in the upgraded overcloud
|
||||||
|
@ -5,7 +5,7 @@ disable_selinux_do_reboot: false
|
|||||||
|
|
||||||
# Use the OpenStack infra's Dockerhub mirror.
|
# Use the OpenStack infra's Dockerhub mirror.
|
||||||
docker_registry_mirrors:
|
docker_registry_mirrors:
|
||||||
- "http://{{ zuul_site_mirror_fqdn }}:8081/registry-1.docker/"
|
- "http://{{ zuul_site_mirror_fqdn }}:8082/"
|
||||||
|
|
||||||
kolla_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['git.openstack.org/openstack/kolla'].src_dir }}"
|
kolla_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['git.openstack.org/openstack/kolla'].src_dir }}"
|
||||||
kolla_source_version: "{{ zuul.projects['git.openstack.org/openstack/kolla'].checkout }}"
|
kolla_source_version: "{{ zuul.projects['git.openstack.org/openstack/kolla'].checkout }}"
|
||||||
|
@ -3,6 +3,10 @@
|
|||||||
# Ansible is run directly on the controller.
|
# Ansible is run directly on the controller.
|
||||||
disable_selinux_do_reboot: false
|
disable_selinux_do_reboot: false
|
||||||
|
|
||||||
|
# Use the OpenStack infra's Dockerhub mirror.
|
||||||
|
docker_registry_mirrors:
|
||||||
|
- "http://{{ zuul_site_mirror_fqdn }}:8082/"
|
||||||
|
|
||||||
{% if not is_previous_release | default(false) %}
|
{% if not is_previous_release | default(false) %}
|
||||||
kolla_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['git.openstack.org/openstack/kolla'].src_dir }}"
|
kolla_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['git.openstack.org/openstack/kolla'].src_dir }}"
|
||||||
kolla_source_version: "{{ zuul.projects['git.openstack.org/openstack/kolla'].checkout }}"
|
kolla_source_version: "{{ zuul.projects['git.openstack.org/openstack/kolla'].checkout }}"
|
||||||
@ -18,16 +22,3 @@ overcloud_host_image_workaround_resolv_enabled: false
|
|||||||
# Use the CI infra's PyPI mirror.
|
# Use the CI infra's PyPI mirror.
|
||||||
pip_local_mirror: true
|
pip_local_mirror: true
|
||||||
pip_index_url: "http://{{ zuul_site_mirror_fqdn }}/pypi/simple"
|
pip_index_url: "http://{{ zuul_site_mirror_fqdn }}/pypi/simple"
|
||||||
|
|
||||||
{% if previous_release == "pike" %}
|
|
||||||
# kayobe-config-dev in queens changed to use overlay by default. Specify
|
|
||||||
# devicemapper explicitly to avoid changing.
|
|
||||||
docker_storage_driver: devicemapper
|
|
||||||
docker_storage_volume_thinpool_size: 45%VG
|
|
||||||
|
|
||||||
# NOTE(mgoddard): Use a loopback-mounted LVM volume for docker storage since
|
|
||||||
# the overlay driver doesn't work with the ansible template module until
|
|
||||||
# ansible 2.4.0, and this is required by bifrost.
|
|
||||||
seed_lvm_group_data_disks:
|
|
||||||
- /dev/loop0
|
|
||||||
{% endif %}
|
|
||||||
|
@ -61,19 +61,6 @@
|
|||||||
src: bifrost-overrides.yml.j2
|
src: bifrost-overrides.yml.j2
|
||||||
dest: "{{ previous_kayobe_config_src_dir }}/etc/kayobe/kolla/config/bifrost/bifrost.yml"
|
dest: "{{ previous_kayobe_config_src_dir }}/etc/kayobe/kolla/config/bifrost/bifrost.yml"
|
||||||
|
|
||||||
- block:
|
|
||||||
# NOTE(mgoddard): Create a loopback device backed by a file for docker
|
|
||||||
# storage. We do this since the overlay driver doesn't work with the
|
|
||||||
# ansible template module until ansible 2.4.0, and this is required by
|
|
||||||
# bifrost.
|
|
||||||
- name: Ensure a docker storage backing file exists
|
|
||||||
command: truncate -s 20G /tmp/docker-storage
|
|
||||||
|
|
||||||
- name: Ensure the docker storage loopback device is created
|
|
||||||
command: losetup /dev/loop0 /tmp/docker-storage
|
|
||||||
become: true
|
|
||||||
when: previous_release == "pike"
|
|
||||||
|
|
||||||
# NOTE(mgoddard): The kayobe dev config by default expects a bridge -
|
# NOTE(mgoddard): The kayobe dev config by default expects a bridge -
|
||||||
# breth1 - to exist on the seed with an IP address of 192.168.33.5.
|
# breth1 - to exist on the seed with an IP address of 192.168.33.5.
|
||||||
- name: Ensure all-in-one network bridge interface exists
|
- name: Ensure all-in-one network bridge interface exists
|
||||||
|
15
tox.ini
15
tox.ini
@ -18,7 +18,7 @@ setenv =
|
|||||||
OS_STDERR_CAPTURE=1
|
OS_STDERR_CAPTURE=1
|
||||||
OS_TEST_TIMEOUT=60
|
OS_TEST_TIMEOUT=60
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky}
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands = stestr run {posargs}
|
commands = stestr run {posargs}
|
||||||
@ -37,7 +37,7 @@ commands =
|
|||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky}
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
@ -59,6 +59,13 @@ commands =
|
|||||||
[testenv:molecule]
|
[testenv:molecule]
|
||||||
# Molecule only supports python 2.7 and 3.6.
|
# Molecule only supports python 2.7 and 3.6.
|
||||||
basepython = python2
|
basepython = python2
|
||||||
|
# Use stable/rocky upper-constraints for molecule since pytest 3.10 fails with
|
||||||
|
# the following error:
|
||||||
|
# AttributeError: 'Config' object has no attribute 'cache'
|
||||||
|
deps =
|
||||||
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky}
|
||||||
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
-r{toxinidir}/doc/requirements.txt
|
||||||
whitelist_externals =
|
whitelist_externals =
|
||||||
bash
|
bash
|
||||||
commands =
|
commands =
|
||||||
@ -109,7 +116,7 @@ commands =
|
|||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky}
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands = sphinx-build -W -b html doc/source doc/build/html
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||||
@ -121,7 +128,7 @@ commands = oslo_debug_helper {posargs}
|
|||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky}
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
|
@ -33,6 +33,9 @@
|
|||||||
pre-run: playbooks/kayobe-tox-molecule/pre.yml
|
pre-run: playbooks/kayobe-tox-molecule/pre.yml
|
||||||
timeout: 3600
|
timeout: 3600
|
||||||
required-projects:
|
required-projects:
|
||||||
|
# Use stable/rocky upper-constraints for molecule since pytest 3.10 fails
|
||||||
|
# with the following error:
|
||||||
|
# AttributeError: 'Config' object has no attribute 'cache'
|
||||||
- name: openstack/requirements
|
- name: openstack/requirements
|
||||||
override-checkout: stable/rocky
|
override-checkout: stable/rocky
|
||||||
vars:
|
vars:
|
||||||
@ -59,11 +62,8 @@
|
|||||||
- name: openstack/kayobe
|
- name: openstack/kayobe
|
||||||
- name: openstack/kayobe-config-dev
|
- name: openstack/kayobe-config-dev
|
||||||
- name: openstack/kolla
|
- name: openstack/kolla
|
||||||
override-checkout: stable/rocky
|
|
||||||
- name: openstack/kolla-ansible
|
- name: openstack/kolla-ansible
|
||||||
override-checkout: stable/rocky
|
|
||||||
- name: openstack/requirements
|
- name: openstack/requirements
|
||||||
override-checkout: stable/rocky
|
|
||||||
- name: openstack/tenks
|
- name: openstack/tenks
|
||||||
irrelevant-files:
|
irrelevant-files:
|
||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
@ -95,15 +95,12 @@
|
|||||||
- name: openstack/kayobe
|
- name: openstack/kayobe
|
||||||
- name: openstack/kayobe-config-dev
|
- name: openstack/kayobe-config-dev
|
||||||
- name: openstack/kolla
|
- name: openstack/kolla
|
||||||
override-checkout: stable/rocky
|
|
||||||
- name: openstack/kolla-ansible
|
- name: openstack/kolla-ansible
|
||||||
override-checkout: stable/rocky
|
|
||||||
- name: openstack/requirements
|
- name: openstack/requirements
|
||||||
override-checkout: stable/rocky
|
|
||||||
- name: openstack/tenks
|
- name: openstack/tenks
|
||||||
vars:
|
vars:
|
||||||
# Name of the release to upgrade from.
|
# Name of the release to upgrade from.
|
||||||
previous_release: queens
|
previous_release: rocky
|
||||||
irrelevant-files:
|
irrelevant-files:
|
||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
- ^doc/.*
|
- ^doc/.*
|
||||||
@ -133,11 +130,8 @@
|
|||||||
- name: openstack/kayobe
|
- name: openstack/kayobe
|
||||||
- name: openstack/kayobe-config-dev
|
- name: openstack/kayobe-config-dev
|
||||||
- name: openstack/kolla
|
- name: openstack/kolla
|
||||||
override-checkout: stable/rocky
|
|
||||||
- name: openstack/kolla-ansible
|
- name: openstack/kolla-ansible
|
||||||
override-checkout: stable/rocky
|
|
||||||
- name: openstack/requirements
|
- name: openstack/requirements
|
||||||
override-checkout: stable/rocky
|
|
||||||
irrelevant-files:
|
irrelevant-files:
|
||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
- ^doc/.*
|
- ^doc/.*
|
||||||
@ -168,14 +162,11 @@
|
|||||||
- name: openstack/kayobe
|
- name: openstack/kayobe
|
||||||
- name: openstack/kayobe-config-dev
|
- name: openstack/kayobe-config-dev
|
||||||
- name: openstack/kolla
|
- name: openstack/kolla
|
||||||
override-checkout: stable/queens
|
|
||||||
- name: openstack/kolla-ansible
|
- name: openstack/kolla-ansible
|
||||||
override-checkout: stable/queens
|
|
||||||
- name: openstack/requirements
|
- name: openstack/requirements
|
||||||
override-checkout: stable/queens
|
|
||||||
vars:
|
vars:
|
||||||
# Name of the release to upgrade from.
|
# Name of the release to upgrade from.
|
||||||
previous_release: pike
|
previous_release: rocky
|
||||||
irrelevant-files:
|
irrelevant-files:
|
||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
- ^doc/.*
|
- ^doc/.*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user