Ciab minimal/2023.1 kvm #6
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
on: | |
push: | |
branches: | |
- 'stable/**' | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: checkout chi-in-a-box | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
version: "0.6.4" | |
- name: install python deps | |
run: | | |
uv venv .venv | |
source .venv/bin/activate | |
uv pip install \ | |
-r requirements.txt \ | |
git+https://github.com/openstack/kolla-ansible@unmaintained/2023.1 | |
- name: generate kolla passwords | |
run: | | |
cp site-config/passwords.yml{.example,} | |
.venv/bin/kolla-genpwd -p site-config/passwords.yml | |
- name: bootstrap servers | |
run: | | |
source .venv/bin/activate | |
./cc-ansible --site site-config bootstrap-servers | |
- name: prechecks | |
run: | | |
source .venv/bin/activate | |
./cc-ansible --site site-config prechecks | |
- name: pull | |
run: | | |
source .venv/bin/activate | |
./cc-ansible --site site-config pull | |
- name: genconfig | |
run: | | |
source .venv/bin/activate | |
./cc-ansible --site site-config genconfig | |
- name: deploy | |
run: | | |
source .venv/bin/activate | |
./cc-ansible --site site-config deploy | |
- name: post-deploy | |
run: | | |
source .venv/bin/activate | |
./cc-ansible --site site-config post-deploy |