File tree 2 files changed +22
-8
lines changed
build_containers/templates
2 files changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ openstack tcib container image build \
49
49
{% endfor %}
50
50
{% endif %}
51
51
--tcib-extra tcib_release={{ ansible_distribution_major_version }} \
52
- --tcib-extra tcib_python_version={{ (ansible_distribution_major_version is version(' 9 ' , ' <' )) | ternary (' 3.6 ' , ' 3.9 ' ) }} \
52
+ --tcib-extra tcib_python_version={{ (ansible_distribution_major_version is version(' 10 ' , ' <' )) | ternary (' 3.9 ' , ' 3.12 ' ) }} \
53
53
{% if cifmw_build_containers_install_from_source | bool %}
54
54
--tcib-extra tcib_package= \
55
55
{% endif %}
Original file line number Diff line number Diff line change 8
8
become : " {{ not cifmw_repo_setup_output.startswith(ansible_user_dir) }}"
9
9
when :
10
10
- mirror_path.stat.exists
11
- ansible.builtin.shell : |
12
- set -o pipefail
13
- source /etc/ci/mirror_info.sh
14
- sed -i -e "s|https://trunk.rdoproject.org|$NODEPOOL_RDO_PROXY|g" *.repo
15
- sed -i -e "s|http://mirror.stream.centos.org|$NODEPOOL_CENTOS_MIRROR|g" *.repo
16
- args :
17
- chdir : " {{ cifmw_repo_setup_output }}"
11
+ block :
12
+ - name : Use RDO proxy mirrors
13
+ ansible.builtin.shell : |
14
+ set -o pipefail
15
+ source /etc/ci/mirror_info.sh
16
+ sed -i -e "s|https://trunk.rdoproject.org|$NODEPOOL_RDO_PROXY|g" *.repo
17
+ args :
18
+ chdir : " {{ cifmw_repo_setup_output }}"
19
+
20
+ # TODO(rlandy) remove when CentOS 10 mirrors exist on Nodepool Hosts
21
+ # mirror ref: http://mirror.regionone.vexxhost-nodepool-sf.rdoproject.org/centos-stream/
22
+ - name : Use RDO CentOS mirrors (remove CentOS 10 conditional when Nodepool mirrors exist)
23
+ when :
24
+ - ansible_distribution | lower == 'centos'
25
+ - ansible_distribution_major_version is not version('10', '==')
26
+ ansible.builtin.shell : |
27
+ set -o pipefail
28
+ source /etc/ci/mirror_info.sh
29
+ sed -i -e "s|http://mirror.stream.centos.org|$NODEPOOL_CENTOS_MIRROR|g" *.repo
30
+ args :
31
+ chdir : " {{ cifmw_repo_setup_output }}"
You can’t perform that action at this time.
0 commit comments