feat!: replaces rpm-ostree keepalived install with podman quadlet, modernizes haproxy config #109
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
| name: CI | |
| on: # yamllint disable-line rule:truthy | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| - edited | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: .python-version | |
| - name: Setup Terraform | |
| uses: hashicorp/setup-terraform@v3 | |
| with: | |
| terraform_wrapper: false | |
| - name: Pull | |
| run: make -j pull | |
| - name: Lint | |
| run: make lint | |
| - name: Check PR title | |
| uses: amannn/action-semantic-pull-request@v6 | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Extract Makefile variables | |
| run: eval "$(make -q vars/github)" | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: .python-version | |
| - name: Create container image context | |
| run: make build/context | |
| - name: Build container image | |
| uses: ./.github/actions/container-image | |
| with: | |
| image: ${{ env.MAKEFILE_CONTAINER_IMAGE }} | |
| tags: ${{ env.MAKEFILE_CI_IMAGE_TAG }} | |
| context: ${{ env.MAKEFILE_BUILD_CONTEXT }} | |
| ci: | |
| name: CI | |
| runs-on: ubuntu-latest | |
| if: always() | |
| needs: | |
| - lint | |
| - build | |
| steps: | |
| - run: exit 1 | |
| # see https://stackoverflow.com/a/67532120/4907315 | |
| if: >- | |
| ${{ | |
| contains(needs.*.result, 'failure') || | |
| contains(needs.*.result, 'cancelled') | |
| }} |