Remove all rocky related config/conditionals/tests as tripleo rocky is EOL
Rocky is now EOL since [1][2] so this removes all the rocky related tests or conditionals. Related reviews in topic branch tripleo-ci-reduce-rocky [3]. [1] https://review.opendev.org/c/openstack/releases/+/774244 [2] http://lists.openstack.org/pipermail/openstack-discuss/2021-March/020912.html [3] https://review.opendev.org/q/topic:tripleo-ci-reduce-rocky Change-Id: Ibb602d1a2e3bd62463ad8861e66c23248f037923
This commit is contained in:
parent
9c734b154a
commit
7b8d8ecfca
|
@ -1,288 +0,0 @@
|
|||
---
|
||||
node:
|
||||
prefix:
|
||||
- mf03f
|
||||
- rhos-ci
|
||||
- '37'
|
||||
- rdo
|
||||
- rmgr
|
||||
tmp:
|
||||
node_prefix: '{{ node.prefix | reject("none") | join("-") }}-'
|
||||
hostname_prefix: '{{ hostname.prefix | reject("none") | join("-") }}-'
|
||||
anchors:
|
||||
- https://repos.fedorapeople.org/repos/openstack/openstack-rocky/rdo-release-rocky.rpm
|
||||
- https://trunk.rdoproject.org/centos7-rocky/
|
||||
product:
|
||||
rpmrepo:
|
||||
CentOS: https://repos.fedorapeople.org/repos/openstack/openstack-rocky/rdo-release-rocky.rpm
|
||||
Fedora: https://repos.fedorapeople.org/repos/openstack/openstack-rocky/rdo-release-rocky.rpm
|
||||
RedHat: https://repos.fedorapeople.org/repos/openstack/openstack-rocky/rdo-release-rocky.rpm
|
||||
repo_type: delorean
|
||||
name: rdo
|
||||
short_name: rdo
|
||||
full_version: rocky
|
||||
repo:
|
||||
delorean_mgt_pin_version: current-passed-ci
|
||||
delorean:
|
||||
repo_file: delorean.repo
|
||||
CentOS:
|
||||
'7': https://trunk.rdoproject.org/centos7-rocky/
|
||||
RedHat:
|
||||
'7.6': https://trunk.rdoproject.org/centos7-rocky/
|
||||
'7.5': https://trunk.rdoproject.org/centos7-rocky/
|
||||
'7.4': https://trunk.rdoproject.org/centos7-rocky/
|
||||
'7.3': https://trunk.rdoproject.org/centos7-rocky/
|
||||
'7.2': https://trunk.rdoproject.org/centos7-rocky/
|
||||
'7.0': https://trunk.rdoproject.org/centos7-rocky/
|
||||
'7.1': https://trunk.rdoproject.org/centos7-rocky/
|
||||
delorean_deps:
|
||||
repo_file: delorean-deps.repo
|
||||
CentOS:
|
||||
'7': https://trunk.rdoproject.org/centos7-rocky/delorean-deps.repo
|
||||
RedHat:
|
||||
'7.6': https://trunk.rdoproject.org/centos7-rocky/delorean-deps.repo
|
||||
'7.5': https://trunk.rdoproject.org/centos7-rocky/delorean-deps.repo
|
||||
'7.4': https://trunk.rdoproject.org/centos7-rocky/delorean-deps.repo
|
||||
'7.3': https://trunk.rdoproject.org/centos7-rocky/delorean-deps.repo
|
||||
'7.2': https://trunk.rdoproject.org/centos7-rocky/delorean-deps.repo
|
||||
'7.0': https://trunk.rdoproject.org/centos7-rocky/delorean-deps.repo
|
||||
'7.1': https://trunk.rdoproject.org/centos7-rocky/delorean-deps.repo
|
||||
delorean_pin_version: current-passed-ci
|
||||
version:
|
||||
major: 8
|
||||
minor: 0
|
||||
code_name: rocky
|
||||
build: last_known_good
|
||||
config:
|
||||
enable_epel: y
|
||||
short_repo: dln
|
||||
workaround:
|
||||
set_key_encrypted_volumes: true
|
||||
hostname:
|
||||
prefix:
|
||||
- nh1nv
|
||||
- rmgr
|
||||
instack_user_home: /home/stack
|
||||
job:
|
||||
archive:
|
||||
- /var/log/
|
||||
- /etc/yum.repos.d
|
||||
- /etc/selinux
|
||||
- /root/
|
||||
- /var/lib/mysql
|
||||
- /etc/nova
|
||||
- /etc/ceilometer
|
||||
- /etc/cinder
|
||||
- /etc/glance
|
||||
- /etc/keystone
|
||||
- /etc/neutron
|
||||
- /etc/swift
|
||||
- /etc/heat
|
||||
- /etc/libvirt
|
||||
- /etc/rabbitmq
|
||||
- /etc/ntp
|
||||
- /etc/puppet
|
||||
- /etc/qpid
|
||||
- /etc/qpidd.conf
|
||||
- /home/stack/.instack/install-undercloud.log
|
||||
- /home/stack/stackrc
|
||||
- /home/stack/*.log
|
||||
- /home/stack/*.json
|
||||
- /home/stack/*.conf
|
||||
- /home/stack/deploy-overcloudrc
|
||||
- /home/stack/network-environment.yaml
|
||||
- /home/stack/tempest/*.xml
|
||||
- /home/stack/tempest/*.log
|
||||
- /home/stack/tempest/etc/*.conf
|
||||
- /usr/share/openstack-tripleo-heat-templates
|
||||
gzip_logs: true
|
||||
artifact_url: https://ci.centos.org/artifacts/rdo
|
||||
rsync_path: rdo@artifacts.ci.centos.org::rdo
|
||||
rsync_logs: true
|
||||
provisioner:
|
||||
remote_user: stack
|
||||
network:
|
||||
type: none
|
||||
network_list:
|
||||
external:
|
||||
subnet_cidr: ''
|
||||
subnet_gateway: ''
|
||||
allocation_end: ''
|
||||
allocation_start: ''
|
||||
url: http://admin.ci.centos.org:8080/
|
||||
type: centosci
|
||||
ram_gb: 32
|
||||
node_count: 1
|
||||
nodes:
|
||||
host0:
|
||||
remote_user: stack
|
||||
name: host0
|
||||
groups:
|
||||
- provisioned
|
||||
- virthost
|
||||
arch: x86_64
|
||||
key_file: /home/rhos-ci/rdo-ci-public.pem
|
||||
distro:
|
||||
version: 7
|
||||
name: centos
|
||||
installer:
|
||||
topology_name: minimal_no_ceph
|
||||
remote_user: stack
|
||||
network:
|
||||
auto_assign_floating_ip: false
|
||||
name: nova
|
||||
plugin: ml2
|
||||
overcloud_dns: 192.168.122.1
|
||||
isolation: none
|
||||
variant: vxlan
|
||||
label: myphysnet
|
||||
external:
|
||||
vlan:
|
||||
bridge: br-myphysnet
|
||||
tag: ''
|
||||
provider_network_type: flat
|
||||
ha: false
|
||||
type: neutron
|
||||
deploy:
|
||||
type: templates
|
||||
command: --templates
|
||||
firewall:
|
||||
rules:
|
||||
- ' -A INPUT -m state --state ESTABLISHED,RELATED -m comment --comment "001 QA
|
||||
incoming related session exist the host interface MGMT" -j ACCEPT'
|
||||
- ' -A INPUT -p tcp -m tcp --dport 22 -m comment --comment "002 QA incoming SSH"
|
||||
-j ACCEPT'
|
||||
- ' -A INPUT -p icmp -m comment --comment "003 QA incoming ICMP" -j ACCEPT'
|
||||
- ' -A INPUT -i lo -m comment --comment "004 QA incoming loopback" -j ACCEPT'
|
||||
- ' -A INPUT -p udp --sport 53 -m comment --comment "005 QA incoming DNS" -j ACCEPT'
|
||||
- ' -A INPUT -p udp --sport 123 -m comment --comment "006 QA incoming NTP" -j
|
||||
ACCEPT'
|
||||
- ' -P INPUT DROP'
|
||||
network_restart: true
|
||||
post_action:
|
||||
- none
|
||||
tempest:
|
||||
skip_file: rdoci-rdo-liberty-rdo-manager
|
||||
test_white_regex: .*smoke
|
||||
enabled: true
|
||||
cirros_alt:
|
||||
url: http://download.cirros-cloud.net/0.3.6/
|
||||
name: cirros-0.3.6-x86_64-disk.img_alt
|
||||
id: cirros-0.3.6-x86_64-disk.img_alt
|
||||
cirros:
|
||||
url: http://download.cirros-cloud.net/0.3.6/
|
||||
name: cirros-0.3.6-x86_64-disk.img
|
||||
id: cirros-0.3.6-x86_64-disk.img
|
||||
dir: tempest
|
||||
images:
|
||||
7-director:
|
||||
files:
|
||||
- no_op
|
||||
version: last_known_good
|
||||
8-director:
|
||||
files:
|
||||
- no_op
|
||||
dib_dir: /home/stack/DIB
|
||||
updates:
|
||||
enabled: false
|
||||
env:
|
||||
type: virthost
|
||||
custom_deploy:
|
||||
type: none
|
||||
command: ''
|
||||
nodes:
|
||||
blockstorage:
|
||||
nova_list_type: cinderstorage
|
||||
scale: 0
|
||||
type: Cinder-Storage
|
||||
flavor: baremetal
|
||||
compute:
|
||||
nova_list_type: compute
|
||||
scale: 1
|
||||
type: Compute
|
||||
flavor: baremetal
|
||||
node_cpu: 1
|
||||
undercloud_node_cpu: 2
|
||||
tester:
|
||||
remote_user: root
|
||||
cephstorage:
|
||||
nova_list_type: cephstorage
|
||||
scale: 0
|
||||
type: Ceph-Storage
|
||||
flavor: baremetal
|
||||
node_mem: 6144
|
||||
undercloud_node_mem: 8192
|
||||
controller:
|
||||
nova_list_type: controller
|
||||
remote_user: heat-admin
|
||||
flavor: baremetal
|
||||
scale: 1
|
||||
swiftstorage:
|
||||
nova_list_type: swiftstorage
|
||||
scale: 0
|
||||
type: Swift-Storage
|
||||
flavor: baremetal
|
||||
node_count: 2
|
||||
type: rdo-manager
|
||||
validate:
|
||||
keystone_endpoint: http://127.0.0.1:5000/v2.0/
|
||||
image:
|
||||
url: http://mirror.pnl.gov/fedora/linux/releases/21/Cloud/Images/x86_64/
|
||||
user: fedora
|
||||
id: Fedora-Cloud-Base-20141203-21.x86_64.qcow2
|
||||
admin_tenant_name: admin
|
||||
tenant_network_name: private
|
||||
admin_username: admin
|
||||
instance_name: khaleesi
|
||||
admin_password: redhat
|
||||
key_name: instance-key
|
||||
router_name: ext-to-int
|
||||
overcloud_images: build
|
||||
short_type: rmgr
|
||||
distro:
|
||||
epel_release: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||
name: centos
|
||||
centos:
|
||||
'7.0':
|
||||
repos: []
|
||||
full_version: '7'
|
||||
short_name: c
|
||||
latest_version: 7
|
||||
version:
|
||||
major: '7'
|
||||
minor: '0'
|
||||
short_version: '70'
|
||||
images:
|
||||
fedora:
|
||||
'20':
|
||||
remote_file_server: http://dl.fedoraproject.org/pub/alt/openstack/20/x86_64/
|
||||
remote_user: fedora
|
||||
guest_image_name: Fedora-x86_64-20-20140618-sda.qcow2
|
||||
'21':
|
||||
remote_file_server: http://mirror.pnl.gov/fedora/linux/releases/21/Cloud/Images/x86_64/
|
||||
remote_user: fedora
|
||||
guest_image_name: Fedora-Cloud-Base-20141203-21.x86_64.qcow2
|
||||
centos:
|
||||
'7':
|
||||
remote_file_server: http://cloud.centos.org/centos/7/devel/
|
||||
remote_user: cloud-user
|
||||
guest_image_name: CentOS-7-x86_64-GenericCloud-GA-7.0.1406_01.qcow2
|
||||
config:
|
||||
ntp_server_ip: 212.199.182.150
|
||||
ntp_server: 0.rhel.pool.ntp.org
|
||||
initial_boot_timeout: 180
|
||||
reboot_delay: 1
|
||||
workarounds:
|
||||
enabled: true
|
||||
base_dir: /home/rhos-ci/workspace/trown-poc-quickstart-gate-ha
|
||||
hw_env:
|
||||
floating_ip_cidr: 192.0.2.0/24
|
||||
floating_ip_start: 192.0.2.50
|
||||
env_type: virt
|
||||
floating_ip_end: 192.0.2.100
|
||||
physical_network: datacentre
|
||||
network_gateway: 192.0.2.1
|
||||
libvirt_type: qemu
|
||||
network_cidr: 192.168.0.0/24
|
||||
ExternalNetworkVlanID: null
|
||||
network_type: flat
|
|
@ -283,7 +283,7 @@ RELEASE=$2
|
|||
# fact.
|
||||
if [ -z "$RELEASE" ]; then
|
||||
|
||||
RELEASE=rocky
|
||||
RELEASE=train
|
||||
|
||||
fi
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ extra_args: >-
|
|||
{% if release not in ['newton', 'ocata', 'pike'] %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
{% endif %}
|
||||
{% if release not in ['newton','ocata','pike','queens','rocky','stein','train'] -%}
|
||||
{% if release not in ['newton','ocata','pike','queens','stein','train'] -%}
|
||||
--disable-validations
|
||||
{%- endif -%}
|
||||
|
||||
|
@ -143,7 +143,7 @@ rsyslog_forwarding: false
|
|||
browbeat_config_file: browbeat-minimal-ci.yaml.j2
|
||||
|
||||
baremetal_provision: >-
|
||||
{% if release in ['newton','ocata','pike','queens','rocky','stein','train'] -%}
|
||||
{% if release in ['newton','ocata','pike','queens','stein','train'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# Run an undercloud without glance or nova
|
||||
undercloud_enable_nova: >-
|
||||
{% if release in ['newton','ocata','pike','queens','rocky','stein', 'train'] -%}
|
||||
{% if release in ['newton','ocata','pike','queens','stein', 'train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
step_glance_upload: >-
|
||||
{% if release in ['newton','ocata','pike','queens','rocky','stein', 'train'] -%}
|
||||
{% if release in ['newton','ocata','pike','queens','stein', 'train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
|
|
@ -59,7 +59,7 @@ network_isolation: true
|
|||
network_isolation_type: "multiple-nics"
|
||||
network_isolation_args: >-
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-isolation-absolute.yaml
|
||||
{% if not release in ['newton','ocata','pike','queens','rocky','stein','train','ussuri','victoria'] -%}
|
||||
{% if not release in ['newton','ocata','pike','queens','stein','train','ussuri','victoria'] -%}
|
||||
--networks-file {{ overcloud_templates_path }}/ci/network_data.yaml
|
||||
-e {{ working_dir }}/overcloud-networks-deployed.yaml
|
||||
{% endif %}
|
||||
|
@ -77,7 +77,7 @@ extra_args: >-
|
|||
{% if release not in ['newton', 'ocata', 'pike'] %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
{% endif %}
|
||||
{% if release not in ['newton','ocata','pike','queens','rocky','stein','train'] -%}
|
||||
{% if release not in ['newton','ocata','pike','queens','stein','train'] -%}
|
||||
--disable-validations
|
||||
{%- endif -%}
|
||||
|
||||
|
@ -135,7 +135,7 @@ test_ping: >-
|
|||
|
||||
# Settings for os_tempest
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'rocky', 'stein'] -%}
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
@ -203,13 +203,13 @@ tempest_extra_config: {'compute_feature_enabled.config_drive': 'True'}
|
|||
|
||||
# Run an undercloud without glance or nova
|
||||
undercloud_enable_nova: >-
|
||||
{% if release in ['newton','ocata','pike','queens','rocky','stein', 'train'] -%}
|
||||
{% if release in ['newton','ocata','pike','queens','stein', 'train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
baremetal_provision: >-
|
||||
{% if release in ['newton','ocata','pike','queens','rocky','stein','train'] -%}
|
||||
{% if release in ['newton','ocata','pike','queens','stein','train'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
|
@ -217,7 +217,7 @@ baremetal_provision: >-
|
|||
|
||||
# Provision composable networks prior to creating the heat stack
|
||||
network_provision: >-
|
||||
{% if release in ['newton','ocata','pike','queens','rocky','stein','train','ussuri','victoria'] -%}
|
||||
{% if release in ['newton','ocata','pike','queens','stein','train','ussuri','victoria'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
|
|
|
@ -53,7 +53,7 @@ undercloud_clean_nodes: >-
|
|||
{%- endif -%}
|
||||
|
||||
baremetal_provision: >-
|
||||
{% if release in ['newton','ocata','pike','queens','rocky','stein','train', 'ussuri'] -%}
|
||||
{% if release in ['newton','ocata','pike','queens','stein','train', 'ussuri'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
|
@ -85,7 +85,7 @@ extra_args: >-
|
|||
{% if release not in ['newton', 'ocata', 'pike'] %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
{% endif %}
|
||||
{% if release not in ['newton','ocata','pike','queens','rocky','stein','train', 'ussuri'] -%}
|
||||
{% if release not in ['newton','ocata','pike','queens','stein','train', 'ussuri'] -%}
|
||||
--disable-validations
|
||||
{%- endif -%}
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
|
@ -145,7 +145,7 @@ test_ping: >-
|
|||
# Settings for os_tempest
|
||||
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'rocky', 'stein'] -%}
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
|
|
@ -8,24 +8,19 @@ containerized_undercloud: false
|
|||
# to specify a different install command for >= Stein since we dropped the
|
||||
# python-tripleoclient integration
|
||||
undercloud_install_cmd: >-
|
||||
{% if containerized_undercloud|bool or release in ['ocata', 'pike', 'queens', 'rocky'] -%}
|
||||
{% if containerized_undercloud|bool or release in ['ocata', 'pike', 'queens'] -%}
|
||||
openstack undercloud install
|
||||
{%- else -%}
|
||||
instack-undercloud
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_rpm_dependencies: >-
|
||||
{% if containerized_undercloud|bool or release in ['ocata', 'pike', 'queens', 'rocky'] -%}
|
||||
{% if containerized_undercloud|bool or release in ['ocata', 'pike', 'queens'] -%}
|
||||
python-tripleoclient
|
||||
{%- else -%}
|
||||
instack-undercloud python-tripleoclient
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_install_cli_options: >-
|
||||
{% if release in ['rocky'] -%}
|
||||
--use-heat=False
|
||||
{%- endif -%}
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
tempest_cloud_name: 'undercloud'
|
||||
test_ping: false
|
||||
|
|
|
@ -76,7 +76,7 @@ test_ping: false
|
|||
# Settings for os_tempest
|
||||
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'rocky', 'stein'] -%}
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
|
|
@ -22,7 +22,7 @@ containerized_overcloud: >-
|
|||
true
|
||||
{%- endif -%}
|
||||
undercloud_check_idempotency: >-
|
||||
{% if release not in ['ocata','pike','queens', 'rocky'] -%}
|
||||
{% if release not in ['ocata','pike','queens'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
|
@ -90,14 +90,14 @@ extra_args: >-
|
|||
|
||||
# Run an undercloud without glance or nova
|
||||
undercloud_enable_nova: >-
|
||||
{% if release in ['queens','rocky','stein', 'train'] -%}
|
||||
{% if release in ['queens','stein', 'train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
baremetal_provision: >-
|
||||
{% if release in ['queens','rocky','stein','train'] -%}
|
||||
{% if release in ['queens','stein','train'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
|
@ -166,7 +166,7 @@ tempest_workers: 3
|
|||
# Settings for os_tempest
|
||||
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'rocky', 'stein'] -%}
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
|
|
@ -163,7 +163,7 @@ tempest_workers: 3
|
|||
# Settings specific to os_tempest
|
||||
# Settings for os_tempest
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'rocky', 'stein'] -%}
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
|
|
@ -19,7 +19,7 @@ container_args: >-
|
|||
{% if release in ['pike','queens'] -%}
|
||||
-e {{ overcloud_templates_path }}/environments/docker.yaml
|
||||
{%- endif -%}
|
||||
{% if release in ['ocata', 'pike', 'queens', 'rocky'] %}
|
||||
{% if release in ['ocata', 'pike', 'queens'] %}
|
||||
-e {{ working_dir }}/containers-default-parameters.yaml
|
||||
{% else %}
|
||||
-e {{ working_dir }}/containers-prepare-parameter.yaml
|
||||
|
|
|
@ -69,7 +69,7 @@ test_ping: false
|
|||
# os_tempest configuration
|
||||
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'rocky', 'stein'] -%}
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
@ -86,7 +86,7 @@ test_regex: ''
|
|||
|
||||
# Run an undercloud without glance or nova
|
||||
undercloud_enable_nova: >-
|
||||
{% if release in ['newton','ocata','pike','queens','rocky','stein','train'] -%}
|
||||
{% if release in ['newton','ocata','pike','queens','stein','train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
|
|
@ -38,7 +38,7 @@ telemetry_args: >-
|
|||
extra_args: >-
|
||||
{% if release == 'pike' -%}
|
||||
-e {{ overcloud_templates_path }}/environments/services-docker/neutron-ovn.yaml
|
||||
{%- elif release in ['queens','rocky'] -%}
|
||||
{%- elif release in ['queens'] -%}
|
||||
-e {{ overcloud_templates_path }}/environments/services/neutron-ovn-ha.yaml
|
||||
{%- else -%}
|
||||
-e {{ overcloud_templates_path }}/environments/services/neutron-ovs.yaml
|
||||
|
@ -93,7 +93,7 @@ overcloud_container_cli: >-
|
|||
# Settings for os_tempest
|
||||
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'rocky', 'stein'] -%}
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
|
|
@ -40,7 +40,7 @@ container_args: >-
|
|||
{% if release in ['pike','queens'] -%}
|
||||
-e {{ overcloud_templates_path }}/environments/docker.yaml
|
||||
{%- endif -%}
|
||||
{% if release in ['ocata', 'pike', 'queens', 'rocky'] %}
|
||||
{% if release in ['ocata', 'pike', 'queens'] %}
|
||||
-e {{ working_dir }}/containers-default-parameters.yaml
|
||||
{% else %}
|
||||
-e {{ working_dir }}/containers-prepare-parameter.yaml
|
||||
|
|
|
@ -68,12 +68,12 @@ extra_args: >-
|
|||
{% if release not in ['newton', 'ocata', 'pike'] %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
{% endif %}
|
||||
{% if release not in ['newton','ocata','pike','queens','rocky','stein','train'] -%}
|
||||
{% if release not in ['newton','ocata','pike','queens','stein','train'] -%}
|
||||
--disable-validations
|
||||
{%- endif -%}
|
||||
|
||||
baremetal_provision: >-
|
||||
{% if release in ['queens','rocky','stein','train'] -%}
|
||||
{% if release in ['queens','stein','train'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
|
@ -124,7 +124,7 @@ config_download_args: >-
|
|||
# Tempest configuration, keep always at the end of the file
|
||||
test_ping: false
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'rocky', 'stein'] -%}
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
@ -194,7 +194,7 @@ tempest_run_concurrency: 4
|
|||
|
||||
# Run an undercloud without glance or nova
|
||||
undercloud_enable_nova: >-
|
||||
{% if release in ['queens','rocky','stein', 'train'] -%}
|
||||
{% if release in ['queens','stein', 'train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
|
|
@ -13,7 +13,7 @@ overcloud_update: true
|
|||
# with some work on the image building side to get meaningful
|
||||
# from-to combination of images.
|
||||
container_registry_file: >-
|
||||
{% if release not in ['queens','rocky','stein'] -%}
|
||||
{% if release not in ['queens','stein'] -%}
|
||||
''
|
||||
{%- else -%}
|
||||
containers-default-parameters.yaml
|
||||
|
|
|
@ -122,12 +122,7 @@ tempest_extra_config:
|
|||
load_balancer.region: 'regionOne'
|
||||
load_balancer.enabled_provider_drivers: '"amphora:The Octavia Amphora driver.,octavia:Deprecated alias of the Octavia Amphora driver.,ovn:Octavia OVN driver."'
|
||||
|
||||
undercloud_container_cli: >-
|
||||
{% if release in ['rocky'] -%}
|
||||
docker
|
||||
{%- else -%}
|
||||
podman
|
||||
{%- endif -%}
|
||||
undercloud_container_cli: podman
|
||||
|
||||
# the variable is only used in overcloud-deploy role
|
||||
# for stein and beyond, so it's safe to set it to podman,
|
||||
|
|
|
@ -77,8 +77,8 @@ artcl_gen_docs: true
|
|||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- "{% if release not in ['queens', 'rocky', 'stein', 'train'] -%}ipa_prep{%- else -%}novajoin_prep{%- endif -%}"
|
||||
- "{% if release not in ['queens', 'rocky', 'stein', 'train'] -%}install_ipa{%- else -%}install_novajoin{%- endif -%}"
|
||||
- "{% if release not in ['queens', 'stein', 'train'] -%}ipa_prep{%- else -%}novajoin_prep{%- endif -%}"
|
||||
- "{% if release not in ['queens', 'stein', 'train'] -%}install_ipa{%- else -%}install_novajoin{%- endif -%}"
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
|
@ -91,8 +91,8 @@ artcl_create_docs_payload:
|
|||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- "{% if release not in ['queens', 'rocky', 'stein', 'train'] -%}ipa_prep{%- else -%}novajoin_prep{%- endif -%}"
|
||||
- "{% if release not in ['queens', 'rocky', 'stein', 'train'] -%}install_ipa{%- else -%}install_novajoin{%- endif -%}"
|
||||
- "{% if release not in ['queens', 'stein', 'train'] -%}ipa_prep{%- else -%}novajoin_prep{%- endif -%}"
|
||||
- "{% if release not in ['queens', 'stein', 'train'] -%}install_ipa{%- else -%}install_novajoin{%- endif -%}"
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
|
@ -128,7 +128,7 @@ test_ping: >-
|
|||
|
||||
# Settings for os_tempest
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'rocky', 'stein', 'train'] -%}
|
||||
{% if release not in ['pike', 'queens', 'stein', 'train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
@ -184,7 +184,7 @@ novajoin_read_timeout: 60
|
|||
|
||||
# This switches between a deployment with novajoin or using ansible-tripleo-ipa
|
||||
undercloud_enable_novajoin: >-
|
||||
{% if release in ['queens', 'rocky', 'stein', 'train'] -%}
|
||||
{% if release in ['queens', 'stein', 'train'] -%}
|
||||
True
|
||||
{%- else -%}
|
||||
False
|
||||
|
|
|
@ -37,7 +37,7 @@ tempest_whitelist:
|
|||
|
||||
# Settings for os_tempest
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'rocky', 'stein'] -%}
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
@ -54,10 +54,4 @@ tempest_test_whitelist: >-
|
|||
{%- endif -%}
|
||||
|
||||
tempest_run_concurrency: 2
|
||||
|
||||
standalone_container_cli: >-
|
||||
{% if release in ['rocky'] -%}
|
||||
docker
|
||||
{%- else -%}
|
||||
podman
|
||||
{%- endif -%}
|
||||
standalone_container_cli: podman
|
||||
|
|
|
@ -12,12 +12,7 @@ vxlan_networking: false
|
|||
standalone_role: Standalone.yaml
|
||||
|
||||
# docker / podman configuration
|
||||
standalone_container_cli: >-
|
||||
{% if release in ['rocky'] -%}
|
||||
docker
|
||||
{%- else -%}
|
||||
podman
|
||||
{%- endif -%}
|
||||
standalone_container_cli: podman
|
||||
|
||||
# NOTE(mwhahaha): we only care about ha -> ha upgrades. We switched to
|
||||
# pacemaker enabled in Ussuri, so the upgrade from Train -> Ussuri is non-HA
|
||||
|
@ -32,7 +27,7 @@ standalone_upgrade: true
|
|||
test_ping: false
|
||||
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'rocky', 'stein'] -%}
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
|
|
@ -49,9 +49,4 @@ tempest_test_whitelist:
|
|||
- 'ironic_tempest_plugin.tests.api.admin.test_deploy_templates.TestDeployTemplatesNegative'
|
||||
- 'ironic_tempest_plugin.tests.api.admin.test_deploy_templates.TestDeployTemplatesOldAPI'
|
||||
|
||||
standalone_container_cli: >-
|
||||
{% if release in ['rocky'] -%}
|
||||
docker
|
||||
{%- else -%}
|
||||
podman
|
||||
{%- endif -%}
|
||||
standalone_container_cli: podman
|
||||
|
|
|
@ -21,12 +21,7 @@ standalone_role: Standalone.yaml
|
|||
standalone_custom_env_files:
|
||||
- /usr/share/openstack-tripleo-heat-templates/environments/low-memory-usage.yaml
|
||||
|
||||
standalone_container_cli: >-
|
||||
{% if release in ['rocky'] -%}
|
||||
docker
|
||||
{%- else -%}
|
||||
podman
|
||||
{%- endif -%}
|
||||
standalone_container_cli: podman
|
||||
# We need to selectively re-enable the globally blacklisted octavia tempest
|
||||
# plugin.
|
||||
tempest_private_net_seg_id: ''
|
||||
|
|
|
@ -37,12 +37,7 @@ tempest_whitelist:
|
|||
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps'
|
||||
- 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern'
|
||||
|
||||
standalone_container_cli: >-
|
||||
{% if release in ['rocky'] -%}
|
||||
docker
|
||||
{%- else -%}
|
||||
podman
|
||||
{%- endif -%}
|
||||
standalone_container_cli: podman
|
||||
|
||||
# Release file override
|
||||
docker_registry_namespace: tripleomaster
|
||||
|
|
|
@ -60,7 +60,7 @@ undercloud_clean_nodes: >-
|
|||
{%- endif -%}
|
||||
|
||||
baremetal_provision: >-
|
||||
{% if release in ['newton','ocata','pike','queens','rocky','stein','train', 'ussuri'] -%}
|
||||
{% if release in ['newton','ocata','pike','queens','stein','train', 'ussuri'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
|
@ -83,7 +83,7 @@ extra_args: >-
|
|||
{% if release not in ['newton', 'ocata', 'pike'] %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
{% endif %}
|
||||
{% if release not in ['newton','ocata','pike','queens','rocky','stein','train', 'ussuri'] -%}
|
||||
{% if release not in ['newton','ocata','pike','queens','stein','train', 'ussuri'] -%}
|
||||
--disable-validations
|
||||
{%- endif -%}
|
||||
|
||||
|
@ -143,7 +143,7 @@ test_ping: >-
|
|||
|
||||
# Settings for os_tempest
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'rocky', 'stein'] -%}
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
release: rocky
|
||||
dlrn_hash_tag: current-tripleo
|
||||
docker_image_tag: "{{ dlrn_hash|default(dlrn_hash_tag) }}"
|
||||
overcloud_image_url: https://images.rdoproject.org/{{ release }}/rdo_trunk/{{ dlrn_hash|default(dlrn_hash_tag) }}/overcloud-full.tar
|
||||
ipa_image_url: https://images.rdoproject.org/{{ release }}/rdo_trunk/{{ dlrn_hash|default(dlrn_hash_tag) }}/ironic-python-agent.tar
|
||||
|
||||
overcloud_as_undercloud: true
|
||||
update_images: true
|
||||
images:
|
||||
- name: overcloud-full
|
||||
url: "{{ overcloud_image_url }}"
|
||||
type: tar
|
||||
- name: ipa_images
|
||||
url: "{{ ipa_image_url }}"
|
||||
type: tar
|
||||
inject_images:
|
||||
- "ironic-python-agent.initramfs"
|
||||
- "ironic-python-agent.kernel"
|
||||
- "overcloud-full.qcow2"
|
||||
- "overcloud-full.initrd"
|
||||
- "overcloud-full.vmlinuz"
|
||||
|
||||
repos:
|
||||
- type: generic
|
||||
reponame: delorean
|
||||
filename: delorean.repo
|
||||
baseurl: https://trunk.rdoproject.org/centos7-{{ release }}/{{ dlrn_hash_path|default(dlrn_hash_tag, true) }}/
|
||||
priority: 20
|
||||
|
||||
- type: file
|
||||
filename: delorean-deps.repo
|
||||
down_url: https://trunk.rdoproject.org/centos7-{{ release }}/delorean-deps.repo
|
||||
|
||||
- type: package
|
||||
pkg_name: centos-release-ceph-luminous
|
||||
custom_cmd: 'sudo yum install -y --enablerepo=extras'
|
||||
|
||||
repo_cmd_after: |
|
||||
sudo yum-config-manager --save --setopt centos-ceph-luminous.gpgcheck=0
|
||||
sudo yum repolist;
|
||||
{% if repo_setup_run_update|default(true)|bool %}
|
||||
sudo yum update -y
|
||||
{% endif %}
|
||||
|
||||
undercloud_rpm_dependencies: >-
|
||||
python-tripleoclient
|
||||
ceph-ansible
|
|
@ -1,49 +0,0 @@
|
|||
release: rocky
|
||||
dlrn_hash_tag: current-tripleo-rdo
|
||||
docker_image_tag: "{{ dlrn_hash|default(dlrn_hash_tag) }}"
|
||||
overcloud_image_url: https://images.rdoproject.org/{{ release }}/rdo_trunk/{{ dlrn_hash|default(dlrn_hash_tag) }}/overcloud-full.tar
|
||||
ipa_image_url: https://images.rdoproject.org/{{ release }}/rdo_trunk/{{ dlrn_hash|default(dlrn_hash_tag) }}/ironic-python-agent.tar
|
||||
|
||||
overcloud_as_undercloud: true
|
||||
update_images: true
|
||||
images:
|
||||
- name: overcloud-full
|
||||
url: "{{ overcloud_image_url }}"
|
||||
type: tar
|
||||
- name: ipa_images
|
||||
url: "{{ ipa_image_url }}"
|
||||
type: tar
|
||||
inject_images:
|
||||
- "ironic-python-agent.initramfs"
|
||||
- "ironic-python-agent.kernel"
|
||||
- "overcloud-full.qcow2"
|
||||
- "overcloud-full.initrd"
|
||||
- "overcloud-full.vmlinuz"
|
||||
|
||||
repos:
|
||||
- type: generic
|
||||
reponame: delorean
|
||||
filename: delorean.repo
|
||||
baseurl: https://trunk.rdoproject.org/centos7-{{ release }}/{{ dlrn_hash_path|default(dlrn_hash_tag, true) }}/
|
||||
priority: 20
|
||||
|
||||
- type: file
|
||||
filename: delorean-deps.repo
|
||||
down_url: https://trunk.rdoproject.org/centos7-{{ release }}/delorean-deps.repo
|
||||
|
||||
- type: package
|
||||
pkg_name: centos-release-ceph-luminous
|
||||
custom_cmd: 'sudo yum install -y --enablerepo=extras'
|
||||
|
||||
repo_cmd_after: |
|
||||
sudo yum remove -y centos-release-ceph-hammer || true
|
||||
sudo yum remove -y centos-release-ceph-jewel || true
|
||||
sudo yum-config-manager --save --setopt centos-ceph-luminous.gpgcheck=0
|
||||
sudo yum repolist;
|
||||
{% if repo_setup_run_update|default(true)|bool %}
|
||||
sudo yum update -y
|
||||
{% endif %}
|
||||
|
||||
undercloud_rpm_dependencies: >-
|
||||
python-tripleoclient
|
||||
ceph-ansible
|
|
@ -1,118 +0,0 @@
|
|||
devmode: true
|
||||
overcloud_as_undercloud: true
|
||||
use_specific_hash: true
|
||||
docker_registry_host: "{{ job.build_container_images|default(false)|bool | ternary('127.0.0.1:5001', 'docker.io') }}"
|
||||
docker_registry_namespace: tripleorocky
|
||||
delorean_hash_label: &promotion-testing-tag "{{ dlrn_hash|default(dlrn_hash_tag) }}"
|
||||
docker_image_tag: *promotion-testing-tag
|
||||
|
||||
images:
|
||||
- name: overcloud-full
|
||||
url: "{{ overcloud_image_url }}"
|
||||
type: tar
|
||||
- name: ipa_images
|
||||
url: "{{ ipa_image_url }}"
|
||||
type: tar
|
||||
inject_images:
|
||||
- "ironic-python-agent.initramfs"
|
||||
- "ironic-python-agent.kernel"
|
||||
- "overcloud-full.qcow2"
|
||||
- "overcloud-full.initrd"
|
||||
- "overcloud-full.vmlinuz"
|
||||
release: rocky
|
||||
dlrn_hash_tag: consistent
|
||||
overcloud_image_url: https://images.rdoproject.org/rocky/rdo_trunk/current-tripleo/overcloud-full.tar
|
||||
ipa_image_url: https://images.rdoproject.org/rocky/rdo_trunk/current-tripleo/ironic-python-agent.tar
|
||||
repo_cmd_before: |
|
||||
sudo rm -rf /etc/yum.repos.d/delorean*;
|
||||
sudo rm -rf /etc/yum.repos.d/*.rpmsave;
|
||||
sudo yum clean all;
|
||||
sudo yum-config-manager --disable "*"
|
||||
if [ -e /etc/ci/mirror_info.sh ]; then
|
||||
source /etc/ci/mirror_info.sh
|
||||
else
|
||||
# Otherwise, fallback to official mirrors provided by CentOS.
|
||||
export NODEPOOL_CENTOS_MIRROR={{ lookup('env','NODEPOOL_CENTOS_MIRROR')|default('http://mirror.centos.org/centos', true) }}
|
||||
export NODEPOOL_BUILDLOGS_CENTOS_PROXY=https://buildlogs.centos.org
|
||||
export NODEPOOL_RDO_PROXY=https://trunk.rdoproject.org
|
||||
fi
|
||||
rdo_dlrn=`curl --silent ${NODEPOOL_RDO_PROXY}/centos7-rocky/{{ dlrn_hash_path|default(dlrn_hash_tag, true) }}/delorean.repo -S 2>>~/dlrn_repo_curl_errors.log | grep baseurl | cut -d= -f2`
|
||||
if [[ -z "$rdo_dlrn" ]]; then
|
||||
echo "Failed to parse dlrn hash"
|
||||
exit 1
|
||||
fi
|
||||
export RDO_DLRN_REPO=${rdo_dlrn/https:\/\/trunk.rdoproject.org/$NODEPOOL_RDO_PROXY}
|
||||
|
||||
repos:
|
||||
- type: generic
|
||||
reponame: delorean
|
||||
filename: delorean.repo
|
||||
priority: 20
|
||||
baseurl: $RDO_DLRN_REPO
|
||||
|
||||
- type: generic
|
||||
reponame: delorean-rocky-deps
|
||||
filename: delorean-rocky-deps.repo
|
||||
baseurl: ${NODEPOOL_RDO_PROXY}/centos7-rocky/deps/latest/
|
||||
|
||||
- type: generic
|
||||
reponame: delorean-rocky-build-deps
|
||||
filename: delorean-rocky-build-deps.repo
|
||||
baseurl: ${NODEPOOL_RDO_PROXY}/centos7-rocky/build-deps/latest/
|
||||
enabled: 0
|
||||
|
||||
# CentOS related repos
|
||||
- type: generic
|
||||
reponame: quickstart-centos-base
|
||||
filename: quickstart-centos-base.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/os/x86_64/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-updates
|
||||
filename: quickstart-centos-updates.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/updates/x86_64/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-extras
|
||||
filename: quickstart-centos-extras.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/extras/x86_64/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-qemu
|
||||
filename: quickstart-centos-qemu.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/virt/x86_64/kvm-common/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-ceph-luminous
|
||||
filename: quickstart-centos-ceph-luminous.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/storage/x86_64/ceph-luminous/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-opstools
|
||||
filename: quickstart-centos-opstools.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/opstools/x86_64/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos7-rt
|
||||
filename: quickstart-centos7-rt.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/rt/x86_64/
|
||||
enabled: 0
|
||||
|
||||
repo_cmd_after: |
|
||||
sudo yum install -y yum-plugin-priorities;
|
||||
{% if not enable_opstools_repo|default(false)|bool %}sudo yum-config-manager --save --setopt quickstart-centos-opstools.enabled=0;
|
||||
{%endif %}
|
||||
sudo yum-config-manager --disable rdo-qemu-ev;
|
||||
sudo rpm -e epel-release || true;
|
||||
sudo yum remove -y rdo-release centos-release-ceph-* centos-release-openstack-* centos-release-qemu-ev || true;
|
||||
sudo rm -rf /etc/yum.repos.d/CentOS-OpenStack-*.repo /etc/yum.repos.d/CentOS-Ceph-*.repo /etc/yum.repos.d/CentOS-QEMU-EV.repo;
|
||||
sudo rm -rf /etc/yum.repos.d/*.rpmsave;
|
||||
sudo yum repolist;
|
||||
sudo yum clean metadata
|
||||
{% if repo_setup_run_update|default(true)|bool %}
|
||||
sudo yum update -y
|
||||
{% endif %}
|
||||
|
||||
undercloud_rpm_dependencies: >-
|
||||
python-tripleoclient
|
||||
ceph-ansible
|
|
@ -1,140 +0,0 @@
|
|||
devmode: true
|
||||
overcloud_as_undercloud: true
|
||||
use_specific_hash: true
|
||||
docker_registry_host: trunk.registry.rdoproject.org
|
||||
docker_registry_namespace: tripleorocky
|
||||
delorean_hash_label: &promotion-testing-tag "{{ dlrn_hash|default(dlrn_hash_tag) }}"
|
||||
docker_image_tag: *promotion-testing-tag
|
||||
dlrn_hash_tag_newest: current
|
||||
|
||||
images:
|
||||
- name: overcloud-full
|
||||
url: "{{ overcloud_image_url }}"
|
||||
type: tar
|
||||
- name: ipa_images
|
||||
url: "{{ ipa_image_url }}"
|
||||
type: tar
|
||||
inject_images:
|
||||
- "ironic-python-agent.initramfs"
|
||||
- "ironic-python-agent.kernel"
|
||||
- "overcloud-full.qcow2"
|
||||
- "overcloud-full.initrd"
|
||||
- "overcloud-full.vmlinuz"
|
||||
release: rocky
|
||||
dlrn_hash_tag: tripleo-ci-testing
|
||||
overcloud_image_url: https://images.rdoproject.org/rocky/rdo_trunk/current-tripleo/overcloud-full.tar
|
||||
ipa_image_url: https://images.rdoproject.org/rocky/rdo_trunk/current-tripleo/ironic-python-agent.tar
|
||||
repo_cmd_before: |
|
||||
sudo rm -rf /etc/yum.repos.d/delorean*;
|
||||
sudo rm -rf /etc/yum.repos.d/*.rpmsave;
|
||||
sudo yum clean all;
|
||||
sudo yum-config-manager --disable "*"
|
||||
sudo yum-config-manager --enable gating-repo || true;
|
||||
if [ -e /etc/ci/mirror_info.sh ]; then
|
||||
source /etc/ci/mirror_info.sh
|
||||
else
|
||||
# Otherwise, fallback to official mirrors provided by CentOS.
|
||||
export NODEPOOL_CENTOS_MIRROR={{ lookup('env','NODEPOOL_CENTOS_MIRROR')|default('http://mirror.centos.org/centos', true) }}
|
||||
export NODEPOOL_BUILDLOGS_CENTOS_PROXY=https://buildlogs.centos.org
|
||||
export NODEPOOL_RDO_PROXY=https://trunk.rdoproject.org
|
||||
fi
|
||||
rdo_dlrn=`curl --silent ${NODEPOOL_RDO_PROXY}/centos7-rocky/{{ dlrn_hash_path|default(dlrn_hash_tag, true) }}/delorean.repo -S 2>>~/dlrn_repo_curl_errors.log | grep baseurl | cut -d= -f2`
|
||||
if [[ -z "$rdo_dlrn" ]]; then
|
||||
echo "Failed to parse dlrn hash"
|
||||
exit 1
|
||||
fi
|
||||
export RDO_DLRN_REPO=${rdo_dlrn/https:\/\/trunk.rdoproject.org/$NODEPOOL_RDO_PROXY}
|
||||
|
||||
repos:
|
||||
- type: generic
|
||||
reponame: delorean
|
||||
filename: delorean.repo
|
||||
priority: 20
|
||||
baseurl: $RDO_DLRN_REPO
|
||||
|
||||
- type: generic
|
||||
reponame: delorean-rocky-deps
|
||||
filename: delorean-rocky-deps.repo
|
||||
baseurl: ${NODEPOOL_RDO_PROXY}/centos7-rocky/deps/latest/
|
||||
|
||||
- type: generic
|
||||
reponame: delorean-rocky-build-deps
|
||||
filename: delorean-rocky-build-deps.repo
|
||||
baseurl: ${NODEPOOL_RDO_PROXY}/centos7-rocky/build-deps/latest/
|
||||
enabled: 0
|
||||
|
||||
# CentOS related repos
|
||||
- type: generic
|
||||
reponame: quickstart-centos-base
|
||||
filename: quickstart-centos-base.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/os/x86_64/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-updates
|
||||
filename: quickstart-centos-updates.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/updates/x86_64/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-extras
|
||||
filename: quickstart-centos-extras.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/extras/x86_64/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-qemu
|
||||
filename: quickstart-centos-qemu.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/virt/x86_64/kvm-common/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-ceph-luminous
|
||||
filename: quickstart-centos-ceph-luminous.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/storage/x86_64/ceph-luminous/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-opstools
|
||||
filename: quickstart-centos-opstools.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/opstools/x86_64/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-cr
|
||||
filename: quickstart-centos-cr.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/cr/x86_64/
|
||||
enabled: 0
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos7-rt
|
||||
filename: quickstart-centos7-rt.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/rt/x86_64/
|
||||
enabled: 0
|
||||
|
||||
repo_cmd_after: |
|
||||
sudo yum install -y yum-plugin-priorities;
|
||||
{% if not enable_opstools_repo|default(false)|bool %}sudo yum-config-manager --save --setopt quickstart-centos-opstools.enabled=0;
|
||||
{%endif %}
|
||||
{% if enable_centos_cr_repo|default(false)|bool %}
|
||||
yum-config-manager --enable quickstart-centos-cr
|
||||
{% endif %}
|
||||
sudo yum-config-manager --disable rdo-qemu-ev;
|
||||
sudo rpm -e epel-release || true;
|
||||
sudo yum remove -y rdo-release centos-release-ceph-* centos-release-openstack-* centos-release-qemu-ev || true;
|
||||
sudo rm -rf /etc/yum.repos.d/CentOS-OpenStack-*.repo /etc/yum.repos.d/CentOS-Ceph-*.repo /etc/yum.repos.d/CentOS-QEMU-EV.repo;
|
||||
sudo rm -rf /etc/yum.repos.d/*.rpmsave;
|
||||
sudo yum repolist;
|
||||
sudo yum clean metadata
|
||||
{% if repo_setup_run_update|default(true)|bool %}
|
||||
sudo yum update -y
|
||||
{% endif %}
|
||||
|
||||
undercloud_rpm_dependencies: >-
|
||||
python-tripleoclient
|
||||
ceph-ansible
|
||||
|
||||
# Setting base_image_url and base_image_path to overwrite DIB_LOCAL_IMAGE in
|
||||
# the diskimage-builder
|
||||
base_image_url: https://images.rdoproject.org/base/centos7/CentOS-7-x86_64-GenericCloud-1901.qcow2
|
||||
base_image_path: "{{ ansible_user_dir }}/Centos-7-x86_64-GenericCloud-1901.qcow2"
|
||||
|
||||
# baseos settings
|
||||
baseos_undercloud_image_url: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1901.qcow2
|
||||
baseos_image: centos
|
||||
baseos_image_type: qcow2
|
||||
baseos_md5sum: "26c52282b53e6fe746fbfd5542421675 CentOS-7-x86_64-GenericCloud-1901.qcow2"
|
|
@ -1,153 +0,0 @@
|
|||
devmode: true
|
||||
overcloud_as_undercloud: true
|
||||
images:
|
||||
- name: overcloud-full
|
||||
url: "{{ overcloud_image_url }}"
|
||||
type: tar
|
||||
- name: ipa_images
|
||||
url: "{{ ipa_image_url }}"
|
||||
type: tar
|
||||
inject_images:
|
||||
- "ironic-python-agent.initramfs"
|
||||
- "ironic-python-agent.kernel"
|
||||
- "overcloud-full.qcow2"
|
||||
- "overcloud-full.initrd"
|
||||
- "overcloud-full.vmlinuz"
|
||||
release: rocky
|
||||
dlrn_hash_tag: current-tripleo
|
||||
dlrn_hash_tag_newest: current
|
||||
docker_registry_host: "{{ job.build_container_images|default(false)|bool | ternary('127.0.0.1:5001', job.alt_container_registry|default('trunk.registry.rdoproject.org')) }}"
|
||||
docker_registry_namespace: tripleorocky
|
||||
docker_image_tag: "{{ dlrn_hash|default(dlrn_hash_tag) }}"
|
||||
overcloud_image_url: https://images.rdoproject.org/rocky/rdo_trunk/current-tripleo/overcloud-full.tar
|
||||
ipa_image_url: https://images.rdoproject.org/rocky/rdo_trunk/current-tripleo/ironic-python-agent.tar
|
||||
repo_cmd_before: |
|
||||
sudo rm -rf /etc/yum.repos.d/delorean*;
|
||||
sudo rm -rf /etc/yum.repos.d/*.rpmsave;
|
||||
sudo yum clean all;
|
||||
sudo yum-config-manager --disable "*"
|
||||
# In https://review.opendev.org/c/765834 a release specific gating-repo is created.
|
||||
# The release specifc gating repo is copied to gating.repo for consistency across ci
|
||||
# The original file is backed up for logging purposes. Upgrade jobs will run with
|
||||
# two releases.
|
||||
sudo cp -f /etc/yum.repos.d/gating-repo-{{ release }}.repo /etc/yum.repos.d/gating.repo || true;
|
||||
sudo sed -i -e "s/gating-repo-{{ release }}/gating-repo/" /etc/yum.repos.d/gating.repo || true;
|
||||
sudo mv /etc/yum.repos.d/gating-repo-{{ release }}.repo /etc/yum.repos.d/gating-repo-{{ release }}.repo_previous || true;
|
||||
sudo yum-config-manager --enable gating-repo || true;
|
||||
if [ -e /etc/ci/mirror_info.sh ]; then
|
||||
source /etc/ci/mirror_info.sh
|
||||
else
|
||||
# Otherwise, fallback to official mirrors provided by CentOS.
|
||||
export NODEPOOL_CENTOS_MIRROR={{ lookup('env','NODEPOOL_CENTOS_MIRROR')|default('http://mirror.centos.org/centos', true) }}
|
||||
export NODEPOOL_BUILDLOGS_CENTOS_PROXY=https://buildlogs.centos.org
|
||||
export NODEPOOL_RDO_PROXY=https://trunk.rdoproject.org
|
||||
fi
|
||||
rdo_dlrn=`curl --silent ${NODEPOOL_RDO_PROXY}/centos7-rocky/{{ dlrn_hash_path_newest|default(dlrn_hash_tag_newest, true) }}/delorean.repo -S 2>>~/dlrn_repo_curl_errors.log | grep baseurl | cut -d= -f2`
|
||||
tripleo_dlrn=`curl --silent ${NODEPOOL_RDO_PROXY}/centos7-rocky/{{ dlrn_hash_path|default(dlrn_hash_tag, true) }}/delorean.repo -S 2>>~/dlrn_repo_curl_errors.log | grep baseurl | cut -d= -f2`
|
||||
if [[ -z "$rdo_dlrn" || -z "$tripleo_dlrn" ]]; then
|
||||
echo "Failed to parse dlrn hash"
|
||||
exit 1
|
||||
fi
|
||||
export RDO_DLRN_REPO=${rdo_dlrn/https:\/\/trunk.rdoproject.org/$NODEPOOL_RDO_PROXY}
|
||||
export TRIPLEO_DLRN_REPO=${tripleo_dlrn/https:\/\/trunk.rdoproject.org/$NODEPOOL_RDO_PROXY}
|
||||
|
||||
repos:
|
||||
# RDO repos
|
||||
- type: generic
|
||||
reponame: delorean
|
||||
filename: delorean.repo
|
||||
priority: 20
|
||||
baseurl: $TRIPLEO_DLRN_REPO
|
||||
|
||||
- type: generic
|
||||
reponame: delorean-current
|
||||
filename: delorean-current.repo
|
||||
baseurl: $RDO_DLRN_REPO
|
||||
priority: 10
|
||||
includepkgs:
|
||||
- ansible-role-container-registry
|
||||
- ansible-role-tripleo*
|
||||
- ansible-tripleo-ipsec
|
||||
- instack
|
||||
- instack-undercloud
|
||||
- openstack-tripleo-*
|
||||
- os-apply-config
|
||||
- os-collect-config
|
||||
- os-net-config
|
||||
- os-refresh-config
|
||||
- puppet-*
|
||||
- python*-tripleo*
|
||||
- python*-paunch*
|
||||
|
||||
- type: generic
|
||||
reponame: delorean-rocky-deps
|
||||
filename: delorean-rocky-deps.repo
|
||||
baseurl: ${NODEPOOL_RDO_PROXY}/centos7-rocky/deps/latest/
|
||||
|
||||
- type: generic
|
||||
reponame: delorean-rocky-build-deps
|
||||
filename: delorean-rocky-build-deps.repo
|
||||
baseurl: ${NODEPOOL_RDO_PROXY}/centos7-rocky/build-deps/latest/
|
||||
enabled: 0
|
||||
|
||||
# CentOS related repos
|
||||
- type: generic
|
||||
reponame: quickstart-centos-base
|
||||
filename: quickstart-centos-base.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/os/x86_64/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-updates
|
||||
filename: quickstart-centos-updates.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/updates/x86_64/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-extras
|
||||
filename: quickstart-centos-extras.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/extras/x86_64/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-qemu
|
||||
filename: quickstart-centos-qemu.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/virt/x86_64/kvm-common/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-ceph-luminous
|
||||
filename: quickstart-centos-ceph-luminous.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/storage/x86_64/ceph-luminous/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos-opstools
|
||||
filename: quickstart-centos-opstools.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/opstools/x86_64/
|
||||
|
||||
- type: generic
|
||||
reponame: quickstart-centos7-rt
|
||||
filename: quickstart-centos7-rt.repo
|
||||
baseurl: ${NODEPOOL_CENTOS_MIRROR}/7/rt/x86_64/
|
||||
enabled: 0
|
||||
|
||||
repo_cmd_after: |
|
||||
sudo yum install -y yum-plugin-priorities;
|
||||
{% if not enable_opstools_repo|default(false)|bool %}sudo yum-config-manager --save --setopt quickstart-centos-opstools.enabled=0;
|
||||
{%endif %}
|
||||
sudo yum-config-manager --disable rdo-qemu-ev;
|
||||
sudo rpm -e epel-release || true;
|
||||
sudo yum remove -y rdo-release centos-release-ceph-* centos-release-openstack-* centos-release-qemu-ev || true;
|
||||
sudo rm -rf /etc/yum.repos.d/CentOS-OpenStack-*.repo /etc/yum.repos.d/CentOS-Ceph-*.repo /etc/yum.repos.d/CentOS-QEMU-EV.repo;
|
||||
sudo rm -rf /etc/yum.repos.d/*.rpmsave;
|
||||
sudo yum repolist;
|
||||
sudo yum clean metadata
|
||||
{% if repo_setup_run_update|default(true)|bool %}
|
||||
sudo yum update -y
|
||||
{% endif %}
|
||||
|
||||
undercloud_rpm_dependencies: >-
|
||||
python-tripleoclient
|
||||
ceph-ansible
|
||||
|
||||
# baseos settings
|
||||
baseos_undercloud_image_url: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1901.qcow2
|
||||
baseos_image: centos
|
||||
baseos_image_type: qcow2
|
||||
baseos_md5sum: "26c52282b53e6fe746fbfd5542421675 CentOS-7-x86_64-GenericCloud-1901.qcow2"
|
|
@ -9,7 +9,6 @@ stable:
|
|||
- pike
|
||||
- ocata
|
||||
- queens
|
||||
- rocky
|
||||
- stein
|
||||
- train
|
||||
repo_cmd_before: |
|
||||
|
|
Loading…
Reference in New Issue