ci: parameterize deploy targets and gate production deployment #126

Open
fastie81 wants to merge 2 commits from ci/parameterize-deploy-targets into main
Owner

Summary

  • parameterize test and production deployment hosts and paths
  • keep test deployment on pushes to main
  • add version-tagged production deployment using existing prod compose/env files
  • gate production deployment with the Forgejo production environment

Validation

  • YAML parsed successfully
  • deployment job dependencies and conditions verified
  • no hard-coded SSH IPs remain in deployment commands

Production target: node3 / 192.168.10.52
Test target: node5 / 192.168.10.53

## Summary - parameterize test and production deployment hosts and paths - keep test deployment on pushes to main - add version-tagged production deployment using existing prod compose/env files - gate production deployment with the Forgejo `production` environment ## Validation - YAML parsed successfully - deployment job dependencies and conditions verified - no hard-coded SSH IPs remain in deployment commands Production target: node3 / 192.168.10.52 Test target: node5 / 192.168.10.53
ci: parameterize deploy targets and gate production deployment
Some checks failed
CI / test (push) Has been cancelled
CI / lint-frontend (push) Has been cancelled
CI / build-test (push) Has been cancelled
CI / deploy-test (push) Has been cancelled
CI / deploy-prod (push) Has been cancelled
CI / build-release (push) Has been cancelled
CI / test (pull_request) Has been cancelled
CI / lint-frontend (pull_request) Has been cancelled
CI / build-test (pull_request) Has been cancelled
CI / deploy-test (pull_request) Has been cancelled
CI / deploy-prod (pull_request) Has been cancelled
CI / build-release (pull_request) Has been cancelled
d8e0cfd296
ci: load deploy targets from Actions variables
All checks were successful
CI / test (push) Successful in 3m54s
CI / lint-frontend (push) Successful in 1m7s
CI / test (pull_request) Successful in 4m5s
CI / lint-frontend (pull_request) Successful in 1m5s
CI / build-test (push) Successful in 10m11s
CI / build-release (push) Has been skipped
CI / build-test (pull_request) Successful in 5m48s
CI / build-release (pull_request) Has been skipped
CI / deploy-test (push) Has been skipped
CI / deploy-prod (push) Has been skipped
CI / deploy-test (pull_request) Has been skipped
CI / deploy-prod (pull_request) Has been skipped
46c94b1869
All checks were successful
CI / test (push) Successful in 3m54s
CI / lint-frontend (push) Successful in 1m7s
CI / test (pull_request) Successful in 4m5s
Required
Details
CI / lint-frontend (pull_request) Successful in 1m5s
Required
Details
CI / build-test (push) Successful in 10m11s
CI / build-release (push) Has been skipped
CI / build-test (pull_request) Successful in 5m48s
CI / build-release (pull_request) Has been skipped
CI / deploy-test (push) Has been skipped
CI / deploy-prod (push) Has been skipped
CI / deploy-test (pull_request) Has been skipped
CI / deploy-prod (pull_request) Has been skipped
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin ci/parameterize-deploy-targets:ci/parameterize-deploy-targets
git switch ci/parameterize-deploy-targets
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fastie81/honbu-manager!126
No description provided.