mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
refactor: Split releases for Clients and Gateways (#5287)
- Removes version numbers from infra components (elixir/relay) - Removes version bumping from Rust workspace members that don't get published - Splits release publishing into `gateway-`, `headless-client-`, and `gui-client-` - Removes auto-deploying new infrastructure when a release is published. Use the Deploy Production workflow instead. Fixes #4397
This commit is contained in:
39
.github/workflows/deploy.yml
vendored
Normal file
39
.github/workflows/deploy.yml
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
name: Deploy Production
|
||||
run-name: Triggered by ${{ github.actor }} on ${{ github.event_name }}
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
confirmation:
|
||||
description: "Are you SURE you want to deploy all changes from the selected commit to production?"
|
||||
type: boolean
|
||||
tag:
|
||||
description: "Image tag to deploy. Defaults to the last commit SHA in the branch."
|
||||
type: string
|
||||
required: false
|
||||
|
||||
concurrency:
|
||||
group: "deploy-production-${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}"
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
# This is *not* run in CI on main in order to allow
|
||||
# breaking changes to be merged as administrator and have the
|
||||
# resulting CI green on main.
|
||||
# So run them here.
|
||||
compatibility-tests:
|
||||
uses: ./.github/workflows/_integration_tests.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
relay_image: 'us-east1-docker.pkg.dev/firezone-staging/firezone/relay'
|
||||
gateway_image: "ghcr.io/firezone/gateway"
|
||||
gateway_tag: "latest"
|
||||
client_image: "ghcr.io/firezone/client"
|
||||
client_tag: "latest"
|
||||
|
||||
deploy-production:
|
||||
if: ${{ inputs.confirmation }}
|
||||
needs: compatibility-tests
|
||||
secrets: inherit
|
||||
uses: ./.github/workflows/_deploy_production.yml
|
||||
with:
|
||||
tag: ${{ inputs.tag || github.sha }}
|
||||
Reference in New Issue
Block a user