Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -531,13 +531,15 @@ ifeval::["{build}" != "downstream"]
edpm_bootstrap_command: |
# This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream
set -euxo pipefail
curl -sL https://github.com/openstack-k8s-operators/repo-setup/archive/refs/heads/main.tar.gz | tar -xz
REPO_SETUP_URL="https://github.com/openstack-k8s-operators/repo-setup/archive/4552fa02b6bc28c542d6aa8bc0ec9d15291b5ff3.tar.gz"
mkdir -p repo-setup-dir
curl -sL "$REPO_SETUP_URL" | tar -xz -C repo-setup-dir --strip-components=1
python3 -m venv ./venv
PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-main
PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-dir
sudo ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
sudo dnf -y upgrade openstack-selinux
sudo rm -f /run/virtlogd.pid
sudo rm -rf repo-setup-main
sudo rm -rf repo-setup-dir
endif::[]
ifeval::["{build}" == "downstream"]
edpm_bootstrap_command: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,13 @@ ifeval::["{build}" != "downstream"]
edpm_bootstrap_command: |
# This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream
set -euxo pipefail
curl -sL https://github.com/openstack-k8s-operators/repo-setup/archive/refs/heads/main.tar.gz | tar -xz
REPO_SETUP_URL="https://github.com/openstack-k8s-operators/repo-setup/archive/4552fa02b6bc28c542d6aa8bc0ec9d15291b5ff3.tar.gz"
mkdir -p repo-setup-dir
curl -sL "$REPO_SETUP_URL" | tar -xz -C repo-setup-dir --strip-components=1
python3 -m venv ./venv
PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-main
PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-dir
sudo ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
sudo rm -rf repo-setup-main
sudo rm -rf repo-setup-dir
endif::[]

gather_facts: false
Expand Down
8 changes: 5 additions & 3 deletions docs_user/modules/proc_converting-object-storage-nodes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,15 @@ ifeval::["{build}" != "downstream"]
edpm_bootstrap_command: |
# This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream
set -euxo pipefail
curl -sL https://github.com/openstack-k8s-operators/repo-setup/archive/refs/heads/main.tar.gz | tar -xz
REPO_SETUP_URL="https://github.com/openstack-k8s-operators/repo-setup/archive/4552fa02b6bc28c542d6aa8bc0ec9d15291b5ff3.tar.gz"
mkdir -p repo-setup-dir
curl -sL "$REPO_SETUP_URL" | tar -xz -C repo-setup-dir --strip-components=1
python3 -m venv ./venv
PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-main
PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-dir
sudo ./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
sudo dnf -y upgrade openstack-selinux
sudo rm -f /run/virtlogd.pid
sudo rm -rf repo-setup-main
sudo rm -rf repo-setup-dir
endif::[]
ifeval::["{build}" == "downstream"]
rhc_release: 9.2
Expand Down
3 changes: 3 additions & 0 deletions tests/roles/common_defaults/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# sensitive data.
use_no_log: true

# URL for the repo-setup tarball, pinned to a specific SHA
repo_setup_url: "https://github.com/openstack-k8s-operators/repo-setup/archive/4552fa02b6bc28c542d6aa8bc0ec9d15291b5ff3.tar.gz"

# Network configuration for IPv4/IPv6 support
ipv6_enabled: false
internalapi_prefix: "172.17.0"
Expand Down
5 changes: 3 additions & 2 deletions tests/roles/dataplane_adoption/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ edpm_nodes:
edpm_bootstrap_command: |
# This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream
set -euxo pipefail
curl -sL https://github.com/openstack-k8s-operators/repo-setup/archive/refs/heads/main.tar.gz | tar -xz
mkdir -p repo-setup-dir
curl -sL "{{ repo_setup_url }}" | tar -xz -C repo-setup-dir --strip-components=1
python3 -m venv ./venv
PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-main
PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-dir
./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
{%+ if compute_adoption|bool +%}
# Exclude ceph-common-18.2.7|8|9 as it's pulling newer openssl not compatible
Expand Down
7 changes: 4 additions & 3 deletions tests/roles/swift_conversion/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ edpm_user: root
edpm_bootstrap_command: |
# This is a hack to deploy RDO Delorean repos to RHEL as if it were Centos 9 Stream
set -euxo pipefail
curl -sL https://github.com/openstack-k8s-operators/repo-setup/archive/refs/heads/main.tar.gz | tar -xz
mkdir -p repo-setup-dir
curl -sL "{{ repo_setup_url }}" | tar -xz -C repo-setup-dir --strip-components=1
python3 -m venv ./venv
PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-main
PBR_VERSION=0.0.0 ./venv/bin/pip install ./repo-setup-dir
./venv/bin/repo-setup current-podified -b antelope -d centos9 --stream
rm -rf repo-setup-main
rm -rf repo-setup-dir

swift_conversion_nodeset: |
apiVersion: dataplane.openstack.org/v1beta1
Expand Down
Loading