File tree Expand file tree Collapse file tree 6 files changed +52
-0
lines changed Expand file tree Collapse file tree 6 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 14
14
strategy :
15
15
matrix :
16
16
container :
17
+ - stn-deploy-2025.1
17
18
- stn-deploy-2024.2
18
19
- stn-deploy-2024.1
19
20
# - stn-deploy-master
Original file line number Diff line number Diff line change 14
14
strategy :
15
15
matrix :
16
16
container :
17
+ - stn-deploy-2025.1
17
18
- stn-deploy-2024.2
18
19
- stn-deploy-2024.1
19
20
# - stn-deploy-master
Original file line number Diff line number Diff line change
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
+
Original file line number Diff line number Diff line change
1
+ 0.0.1
Original file line number Diff line number Diff line change
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
+
You can’t perform that action at this time.
0 commit comments