Skip to content

Commit 85af8a7

Browse files
committed
add basic CI back in
1 parent c564034 commit 85af8a7

File tree

2 files changed

+60
-2
lines changed

2 files changed

+60
-2
lines changed

.github/workflows/ciab_ci.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
3+
on:
4+
push:
5+
branches:
6+
- 'stable/**'
7+
pull_request:
8+
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-22.04
13+
steps:
14+
- name: checkout chi-in-a-box
15+
uses: actions/checkout@v4
16+
with:
17+
submodules: true
18+
- name: Install uv
19+
uses: astral-sh/setup-uv@v5
20+
with:
21+
version: "0.6.4"
22+
- name: install python deps
23+
run: |
24+
uv venv .venv
25+
source .venv/bin/activate
26+
uv pip install \
27+
-r requirements.txt \
28+
git+https://github.com/openstack/kolla-ansible@unmaintained/2023.1
29+
kolla-ansible install-deps
30+
- name: generate kolla passwords
31+
run: |
32+
source .venv/bin/activate
33+
cp site-config/passwords.yml{.example,}
34+
kolla-genpwd -p site-config/passwords.yml
35+
- name: bootstrap servers
36+
run: |
37+
source .venv/bin/activate
38+
./cc-ansible --site site-config bootstrap-servers
39+
- name: prechecks
40+
run: |
41+
source .venv/bin/activate
42+
./cc-ansible --site site-config prechecks
43+
- name: pull
44+
run: |
45+
source .venv/bin/activate
46+
./cc-ansible --site site-config pull
47+
- name: genconfig
48+
run: |
49+
source .venv/bin/activate
50+
./cc-ansible --site site-config genconfig
51+
- name: deploy
52+
run: |
53+
source .venv/bin/activate
54+
./cc-ansible --site site-config deploy
55+
- name: post-deploy
56+
run: |
57+
source .venv/bin/activate
58+
./cc-ansible --site site-config post-deploy

site-config/inventory/host_vars/localhost

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
ansible_connection: local
55

66
network_interface: eth0
7-
neutron_external_interface: eth1
8-
kolla_external_vip_interface: eth2
7+
# kolla_external_vip_interface: eth1
8+
# neutron_external_interface: eth2

0 commit comments

Comments
 (0)