Skip to content

Commit a8ba390

Browse files
committed
Add 2025.1 buildpack
1 parent 61eb159 commit a8ba390

File tree

6 files changed

+52
-0
lines changed

6 files changed

+52
-0
lines changed

.github/workflows/pull-request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
container:
17+
- stn-deploy-2025.1
1718
- stn-deploy-2024.2
1819
- stn-deploy-2024.1
1920
#- stn-deploy-master

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
container:
17+
- stn-deploy-2025.1
1718
- stn-deploy-2024.2
1819
- stn-deploy-2024.1
1920
# - stn-deploy-master

stn-deploy-2025.1/Dockerfile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
FROM rockylinux/rockylinux:9
2+
3+
RUN dnf -y update && \
4+
dnf -y install gcc git iputils jq libffi-devel openssl-devel perl-Digest-SHA procps-ng python3.12 python3.12-devel python3.12-pip python3-libselinux rsync sshpass unzip wget which && \
5+
dnf clean all && \
6+
rm -rf /var/cache/yum
7+
8+
# checkout kolla-ansible
9+
RUN git clone -b stable/2025.1 https://opendev.org/openstack/kolla-ansible.git /tmp/kolla-ansible
10+
11+
# patch kolla-ansible if needed
12+
ADD patches /tmp/patches
13+
RUN cd /tmp/kolla-ansible && git apply --allow-empty -v /tmp/patches/*.patch
14+
15+
RUN cd /tmp/kolla-ansible && \
16+
pip3.12 install --no-cache-dir --upgrade pip && \
17+
pip3.12 install --no-cache-dir -r requirements.txt && \
18+
pip3.12 install --no-cache-dir openstackclient
19+
20+
# install patched kolla-ansible
21+
RUN pip3.12 install --no-cache-dir /tmp/kolla-ansible
22+
23+
# create config file dirs
24+
RUN mkdir -p /etc/kolla && \
25+
mkdir -p /etc/ansible
26+
27+
# copy ansible.cfg to container
28+
COPY assets/ansible.cfg /etc/ansible/ansible.cfg
29+
30+
# install openstack.cloud collection
31+
RUN ansible-galaxy collection install openstack.cloud
32+
33+
# Install kolla-ansible dependencies
34+
RUN kolla-ansible install-deps
35+
36+
WORKDIR /deploy
37+

stn-deploy-2025.1/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.0.1
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[defaults]
2+
forks = 20
3+
timeout = 60
4+
display_skipped_hosts = False
5+
gathering = smart
6+
fact_caching = jsonfile
7+
fact_caching_connection = /tmp/ansible-facts
8+
inject_facts_as_vars = False
9+
10+
[ssh_connection]
11+
pipelining = True
12+

stn-deploy-2025.1/patches/00-empty.patch

Whitespace-only changes.

0 commit comments

Comments
 (0)