revamp cicd #404
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: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
env: | |
CC_ANSIBLE_SITE: /opt/site-config | |
steps: | |
- name: checkout chi-in-a-box | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- run: ./cc-ansible init | |
- run: ./cc-ansible install_deps | |
- run: ./cc-ansible bootstrap_servers | |
- run: ./cc-ansible deploy | |
- run: ./cc-ansible post-deploy |