Deploy versioned binaries to shared release runtime
Demo CI / check (push) Successful in 8s

This commit is contained in:
demo-ci committed 2026-10-09 02:33:35 +00:00
1 parent b48afc7881
commit 7ba25bd997
12 files changed
+45 -166

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ concurrency:
cancel-in-progress: false
jobs:
check:
runs-on: demo-build
runs-on: go-build
timeout-minutes: 30
services:
buildkit:
+4 -5
View File
@@ -18,26 +18,25 @@ concurrency:
jobs:
build:
if: ${{ inputs.operation == 'release' }}
runs-on: demo-build
runs-on: go-build
timeout-minutes: 30
services:
buildkit:
image: mirror.gcr.io/moby/buildkit@sha256:f8a833b2de9d68e27f0815e4a737abdfaf8a2e4c615650557df11025101557b4
steps:
- name: Build and publish private immutable candidate
- name: Build and archive immutable binary candidate
env:
GITEA_TOKEN: ${{ gitea.token }}
GITEA_REPOSITORY: ${{ gitea.repository }}
SOURCE_SHA: ${{ gitea.sha }}
REGISTRY_TOKEN: ${{ secrets.DEMO_REGISTRY_PUSH_TOKEN }}
run: python3 /opt/ci/pipeline.py build
deploy:
needs: [build]
if: ${{ always() && ((inputs.operation == 'release' && needs.build.result == 'success') || inputs.operation == 'rollback') }}
runs-on: demo-deploy
runs-on: release-deploy
timeout-minutes: 15
steps:
- name: Verify actual runtime image and deploy
- name: Verify binary and restart only this project in shared release
env:
GITEA_REPOSITORY: ${{ gitea.repository }}
SOURCE_SHA: ${{ gitea.sha }}