loci/playbooks/vars.yaml
Vladimir Kozhukalov 6aa92e029d Stop building Ubuntu Focal images for master
Master branch is not compatible with Ubuntu Focal.

Some projects like Octavia recently bumped
the minimal required python version to 3.9 while
the default python3 version in Focal is 3.8.

Also Nova requires Libvirt/Qemu newer than the
default versions on Ubuntu Focal.

See for example:
https://review.opendev.org/c/openstack/octavia/+/915970
https://review.opendev.org/c/openstack/nova/+/887255

Change-Id: Ida62539a250554e776eaae3fdf283716b98f8298
2024-04-25 17:01:22 -05:00

59 lines
2.2 KiB
YAML

docker_insecure_registries:
- 172.17.0.1:5000
# Setting reuse_requirements to True will use the most recent
# requirements build from the gate registry. This can save bandwidth
# and time. However, it introduces a gate race condition if a change
# is posted that updates requirements. We set to false to prefer
# correctness to speed.
reuse_requirements: False
# Override Zuul inference of source directory from project name to always
# use "loci".
loci_src_dir: "src/opendev.org/openstack/loci"
distros:
- name: ubuntu_focal
image: ubuntu:focal
release: "2023.1"
buildargs:
base:
UBUNTU_URL: http://{{ zuul_site_mirror_fqdn }}/ubuntu/
CLOUD_ARCHIVE_URL: http://{{ zuul_site_mirror_fqdn }}/ubuntu-cloud-archive/
CEPH_URL: http://{{ zuul_site_mirror_fqdn }}/ceph-deb-quincy/
ALLOW_UNAUTHENTICATED: "true"
PIP_INDEX_URL: http://{{ zuul_site_mirror_fqdn }}/pypi/simple
PIP_TRUSTED_HOST: "{{ zuul_site_mirror_fqdn }}"
project:
PROJECT: "{{ project }}"
PROJECT_REPO: http://172.17.0.1/git/openstack/{{ project }}
PROJECT_REF: "stable/2023.1"
WHEELS: 172.17.0.1:5000/loci/requirements:2023.1-ubuntu_focal
FROM: base:ubuntu_focal
requirements:
PROJECT: requirements
PROJECT_REPO: http://172.17.0.1/git/openstack/requirements
PROJECT_REF: "stable/2023.1"
FROM: base:ubuntu_focal
- name: ubuntu_jammy
image: ubuntu:jammy
release: master
buildargs:
base:
UBUNTU_URL: http://{{ zuul_site_mirror_fqdn }}/ubuntu/
CLOUD_ARCHIVE_URL: http://{{ zuul_site_mirror_fqdn }}/ubuntu-cloud-archive/
ALLOW_UNAUTHENTICATED: "true"
PIP_INDEX_URL: http://{{ zuul_site_mirror_fqdn }}/pypi/simple
PIP_TRUSTED_HOST: "{{ zuul_site_mirror_fqdn }}"
project:
PROJECT: "{{ project }}"
PROJECT_REPO: http://172.17.0.1/git/openstack/{{ project }}
WHEELS: 172.17.0.1:5000/loci/requirements:master-ubuntu_jammy
FROM: base:ubuntu_jammy
requirements:
PROJECT: requirements
PROJECT_REPO: http://172.17.0.1/git/openstack/requirements
FROM: base:ubuntu_jammy