Provision of resources in a popular cloud providers for PostgreSQL cluster deployment #1301
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: Molecule | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- distro: debian12 | |
tag: latest | |
namespace: geerlingguy | |
- distro: debian11 | |
tag: latest | |
namespace: geerlingguy | |
- distro: ubuntu2204 | |
tag: latest | |
namespace: geerlingguy | |
- distro: ubuntu2004 | |
tag: latest | |
namespace: geerlingguy | |
- distro: rockylinux8 | |
tag: latest | |
namespace: geerlingguy | |
- distro: rockylinux9 | |
tag: latest | |
namespace: geerlingguy | |
- distro: almalinux8 | |
tag: latest | |
namespace: glillico | |
- distro: almalinux9 | |
tag: latest | |
namespace: glillico | |
- distro: oraclelinux8 | |
tag: latest | |
namespace: glillico | |
- distro: oraclelinux9 | |
tag: latest | |
namespace: glillico | |
- distro: centosstream9 | |
tag: latest | |
namespace: glillico | |
- distro: centosstream8 | |
tag: latest | |
namespace: glillico | |
steps: | |
- name: Set TERM environment variable | |
run: echo "TERM=xterm" >> $GITHUB_ENV | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: make bootstrap-dev | |
- name: Run Molecule tests | |
run: make molecule-test | |
env: | |
PY_COLORS: "1" | |
ANSIBLE_FORCE_COLOR: "1" | |
IMAGE_DISTRO: ${{ matrix.config.distro }} | |
IMAGE_TAG: ${{ matrix.config.tag }} | |
IMAGE_NAMESPACE: ${{ matrix.config.namespace }} |