9ebb2e7f0f
Tests · Go / test (push) Successful in 2m31s
Tests · Integration / integration (pull_request) Successful in 2m23s
Tests · Go / test (pull_request) Successful in 2m50s
Tests · UI / test (push) Successful in 13m2s
Tests · UI / test (pull_request) Successful in 13m22s
Switches the `name:` field on every workflow to the bulleted style: Tests · Go (go-unit.yaml) Tests · UI (ui-test.yaml) Tests · Integration (integration.yaml) Deploy · Dev (dev-deploy.yaml) Build · Prod (prod-build.yaml) Deploy · Prod (deploy-prod.yaml) File names stay the same so existing path filters and any URL references continue to work. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
name: Deploy · Prod
|
|
|
|
# Placeholder for the production rollout workflow. Today it only proves
|
|
# the manual entry point works; the actual `docker save | ssh prod
|
|
# docker load` + remote `docker compose up -d` pipeline is wired in
|
|
# once the production host, SSH credentials, and DNS are decided.
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
image_tag:
|
|
description: "Image tag to deploy (commit-<sha12>, produced by prod-build.yaml)"
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
steps:
|
|
- name: Announce target
|
|
run: |
|
|
echo "Would deploy image tag: ${{ inputs.image_tag }}"
|
|
echo "TODO:"
|
|
echo " 1. Download galaxy-images-${{ inputs.image_tag }} from prod-build artifacts."
|
|
echo " 2. scp the .tar.gz bundles to the production host."
|
|
echo " 3. ssh prod 'docker load -i ...' for backend / gateway / engine."
|
|
echo " 4. ssh prod 'docker compose -f /opt/galaxy/docker-compose.yml up -d'."
|
|
echo " 5. Probe https://api.galaxy.com/healthz and roll back on failure."
|