feat: initial deploy pipeline and target1 host alias

This commit is contained in:
2026-09-18 20:11:55 +02:00
commit 91767279e6
3 changed files with 23 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
steps:
- name: show-deployment-request
image: alpine:3.20
commands:
- echo "Deployment requested:"
- echo " ARTIFACT=$ARTIFACT"
- echo " TARGET=$TARGET"
- test -n "$ARTIFACT" || (echo "ERROR: ARTIFACT param missing" && exit 1)
- test -n "$TARGET" || (echo "ERROR: TARGET param missing" && exit 1)
- test -f "hosts/$TARGET" || (echo "ERROR: unknown host alias '$TARGET'" && exit 1)
- echo "Resolved host alias '$TARGET':"
- cat "hosts/$TARGET"
when:
event: deployment