feat: playbook to update the letsencrypt certificate on the ocp cluster #150
Workflow file for this run
This file contains 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
--- | |
name: Pull Request Test | |
on: | |
push: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
install-requirements: | |
name: Test installation of the project requirements | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: [ 3.11 ] | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v3 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
cache: pip | |
- name: Install python requirements | |
run: | | |
pip install -r requirements.txt | |
pip install -r molecule/requirements.txt | |
ansible-galaxy collection install -r collections/requirements.yml --upgrade | |
- name: Print configuration versions | |
run: | | |
pip freeze | |
ansible-galaxy collection list | |
# - name: Run role tests | |
# run: | | |
# molecule test --scenario-name github | |
kind-test: | |
name: Test Kind Deployment | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
kind_version: [v0.20.0] | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v3 | |
- name: Deploy kind | |
run: | | |
curl -Lo ./kind/kind https://kind.sigs.k8s.io/dl/${{ matrix.kind_version }}/kind-linux-amd64 | |
chmod 755 kind | |
./kind/registry.sh install --registry-name kind-registry.local | |
./kind/kind.sh install --registry-name kind-registry.local | |
... |