Files
firezone/.github/workflows/cd.yml
Jamil ec5c433f5b feat(ci): use larger runners for all jobs (#9646)
Append `-xlarge` to the previous runner labels to match new larger
runners.
2025-06-23 14:23:22 -07:00

53 lines
1.4 KiB
YAML

name: Continuous Delivery
on:
# Used for debugging the workflow by manually calling it
workflow_dispatch:
push:
branches:
- main
jobs:
# Builds images that match what's default in docker-compose.yml for
# local development.
build-dev-images:
uses: ./.github/workflows/_build_artifacts.yml
secrets: inherit
with:
image_prefix: "dev"
stage: "debug"
profile: "debug"
# Builds debug images with release binaries for compatibility tests in case the merge_group was skipped.
build-test-images:
uses: ./.github/workflows/_build_artifacts.yml
secrets: inherit
with:
image_prefix: "debug"
stage: "debug"
profile: "release"
# Re-run CI checks to make sure everything's green, since "Merging as administrator"
# won't trigger these in the merge group.
ci:
uses: ./.github/workflows/ci.yml
secrets: inherit
with:
profile: "release"
stage: "release"
notify:
needs: ci
runs-on: ubuntu-22.04-xlarge
steps:
- name: Send 'checks-passed' event
env:
GH_TOKEN: ${{ secrets.INFRA_REPOSITORY_TOKEN }}
run: |
gh api \
--method POST \
--header "Accept: application/vnd.github+json" \
--header "X-GitHub-Api-Version: 2022-11-28" \
/repos/firezone/infra/dispatches \
--raw-field "event_type=checks-passed" \
--field "client_payload[sha]=${{ github.sha }}"