fix: mask patroni during setup to prevent bootstrap crash-loop on re-deploy #3
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
| --- | |
| name: Molecule redeploy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - distro: ubuntu2404 | |
| tag: latest | |
| namespace: geerlingguy | |
| steps: | |
| - name: Set TERM environment variable | |
| run: echo "TERM=xterm" >> $GITHUB_ENV | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.14" | |
| - name: Install dependencies | |
| run: make bootstrap-dev | |
| - name: Run Molecule redeploy test | |
| run: make molecule-test-scenario MOLECULE_SCENARIO="redeploy" | |
| env: | |
| PY_COLORS: "1" | |
| ANSIBLE_FORCE_COLOR: "1" | |
| IMAGE_DISTRO: ${{ matrix.config.distro }} | |
| IMAGE_TAG: ${{ matrix.config.tag }} | |
| IMAGE_NAMESPACE: ${{ matrix.config.namespace }} |