Voyager 1 retired: a push to master no longer deploys
Test and deploy / test (push) Successful in 55s
Test and deploy / test (push) Successful in 55s
Its database was deleted on 2026-10-09; a deploy would start it on an empty one. The deploy job is removed (tests still run), and homelab's ~/bin/deploy-usenet-indexer refuses voyager 1 deploys (voyager 2 deploys from branch rebuild with deploy-rebuild). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7c43abd230
commit
7880633467
1 file changed
+5
-22
@@ -1,9 +1,8 @@
|
|||||||
# Tests every push; a push to master that passes is deployed to homelab.
|
# Tests every push. Voyager 1 (this branch) is retired since 2026-10-11: its
|
||||||
#
|
# database was deleted on 2026-10-09, and a push to master no longer deploys.
|
||||||
# Deploying: the job SSHes to homelab with DEPLOY_SSH_KEY. That key may only
|
# Voyager 2 (branch rebuild) has its own workflow and deploy
|
||||||
# run ~/bin/deploy-usenet-indexer (a forced command in authorized_keys),
|
# (deploy/README.md there); homelab's ~/bin/deploy-usenet-indexer refuses
|
||||||
# which fetches the commit from this repo, builds the image, runs the
|
# voyager 1 deploys too.
|
||||||
# migrations and recreates the app services (never postgres or redis).
|
|
||||||
name: Test and deploy
|
name: Test and deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -63,19 +62,3 @@ jobs:
|
|||||||
- name: Test
|
- name: Test
|
||||||
run: node ace test
|
run: node ace test
|
||||||
|
|
||||||
deploy:
|
|
||||||
needs: test
|
|
||||||
if: github.ref == 'refs/heads/master'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Deploy to homelab
|
|
||||||
env:
|
|
||||||
DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
|
||||||
DEPLOY_KNOWN_HOSTS: ${{ secrets.DEPLOY_KNOWN_HOSTS }}
|
|
||||||
run: |
|
|
||||||
install -m 700 -d ~/.ssh
|
|
||||||
printf '%s\n' "$DEPLOY_SSH_KEY" > ~/.ssh/deploy_key
|
|
||||||
chmod 600 ~/.ssh/deploy_key
|
|
||||||
printf '%s\n' "$DEPLOY_KNOWN_HOSTS" > ~/.ssh/known_hosts
|
|
||||||
ssh -i ~/.ssh/deploy_key -o IdentitiesOnly=yes -o BatchMode=yes \
|
|
||||||
daan@10.206.0.175 "deploy ${{ github.sha }}"
|
|
||||||
Reference in new issue
Block a user