This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
Set pod affinity to ensure locality with the database #42
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
check: | |
uses: ./.github/workflows/_check.yml | |
lint: | |
needs: check | |
if: needs.check.outputs.branch-pr == '' | |
uses: ./.github/workflows/_tox.yml | |
with: | |
tox: pre-commit,type-checking | |
test: | |
needs: check | |
if: needs.check.outputs.branch-pr == '' | |
strategy: | |
matrix: | |
python-version: ["3.11", "dev"] | |
fail-fast: false | |
uses: ./.github/workflows/_test.yml | |
with: | |
python-version: ${{ matrix.python-version }} | |
secrets: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
schema: | |
needs: check | |
if: needs.check.outputs.branch-pr == '' | |
uses: ./.github/workflows/_schema.yml | |
secrets: | |
APOLLO_STUDIO: ${{ secrets.APOLLO_STUDIO }} | |
container: | |
needs: check | |
if: needs.check.outputs.branch-pr == '' | |
uses: ./.github/workflows/_container.yml | |
permissions: | |
contents: read | |
packages: write | |
helm: | |
needs: check | |
if: needs.check.outputs.branch-pr == '' | |
uses: ./.github/workflows/_helm.yml | |
permissions: | |
contents: read | |
packages: write | |
dist: | |
needs: check | |
if: needs.check.outputs.branch-pr == '' | |
uses: ./.github/workflows/_dist.yml | |
release: | |
if: github.ref_type == 'tag' | |
needs: [dist] | |
uses: ./.github/workflows/_release.yml | |
permissions: | |
contents: write |