Title: Document deploying from CI: GitHub Actions with an SSH key and the sops age key · Issue #89 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Document deploying from CI: GitHub Actions with an SSH key and the sops age key · Issue #89 · cloudfall-dev/cloudfall
X Title: Document deploying from CI: GitHub Actions with an SSH key and the sops age key · Issue #89 · cloudfall-dev/cloudfall
Description: Problem Found while setting up Abecra's staging on 2026-10-19. Every guide (docs/getting-started.md, docs/operator-guide.md, docs/secrets-guide.md) runs Cloudfall from an operator's machine: SOPS_AGE_KEY_FILE=~/.config/cloudfall/age.key,...
Open Graph Description: Problem Found while setting up Abecra's staging on 2026-10-19. Every guide (docs/getting-started.md, docs/operator-guide.md, docs/secrets-guide.md) runs Cloudfall from an operator's machine: SOPS_A...
X Description: Problem Found while setting up Abecra's staging on 2026-10-19. Every guide (docs/getting-started.md, docs/operator-guide.md, docs/secrets-guide.md) runs Cloudfall from an operator's machine...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/89
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Document deploying from CI: GitHub Actions with an SSH key and the sops age key","articleBody":"## Problem\n\nFound while setting up Abecra's staging on 2026-10-19. Every guide (`docs/getting-started.md`, `docs/operator-guide.md`, `docs/secrets-guide.md`) runs Cloudfall from an operator's machine: `SOPS_AGE_KEY_FILE=~/.config/cloudfall/age.key`, the operator's SSH agent, `ansible-playbook` on their PATH. Nothing says how to run `artifact build` and `cloudfall deploy` from a pipeline on merge to `main`, which is how most teams expect a staging environment to update.\n\nThe questions a team has to answer alone today:\n\n- which secrets the runner needs (an SSH private key for the declared `ssh.user`, the age key, `known_hosts` for the server) and how to scope them (a GitHub environment per Cloudfall environment)\n- the toolchain to install (`uv`, `ansible-playbook` >= 2.21.0, `git` >= 2.24.0, `sops`) and the versions `required_tools` will check\n- where artifacts and receipts go: `tmp/artifacts`, `tmp/deployments` are on the runner and disappear with it, so the receipts that make deploys auditable are lost unless they are uploaded or committed\n- how an approval (`Application.spec.approval: manual`) maps onto a CI job without an agent approving its own deploy\n- that `cloudfall deploy` needs a release id from `artifact build`, and that `artifact build` is `cloudfall-engine`, not `cloudfall` (or the `build_artifact` MCP tool)\n\n## Proposal\n\nA `docs/ci-deploy-guide.md` with one worked GitHub Actions workflow, tested against a real project:\n\n- `on: push` to `main` in the fleet repository and `workflow_dispatch` with a `ref` input; app repositories trigger it with `repository_dispatch`\n- secrets: `CLOUDFALL_SSH_KEY`, `CLOUDFALL_KNOWN_HOSTS`, `SOPS_AGE_KEY` in a GitHub environment named after the Cloudfall environment, with required reviewers for production\n- steps: install the pinned toolchain, `secrets render`, `artifact build --ref`, `deploy --release --yes`, upload `tmp/deployments` as a workflow artifact (or commit receipts back, if the project wants them in git)\n- a note on the age key: one key per environment, so a staging runner cannot decrypt production secrets\n\nIf the guide shows that `artifact build` belongs in the `cloudfall` CLI (one tool for CI to install and pin), that is a follow-up issue.\n\n## Alternatives\n\n- A Cloudfall-published reusable action: less copy-paste, but one more artifact to version; the guide comes first either way\n\n## Acceptance\n\n- The guide's workflow, copied into a fresh project with the three secrets set, deploys a component on push and the run uploads its release and deployment receipts\n- The guide shows that a runner holding only the staging age key cannot render production secrets\n- `getting-started.md` links the guide\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-10-19T18:01:52Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/89"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7994dcc0-a71b-d196-528a-ee89defbfc55 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C4F6:34675C:FBF7CB:1586A06:6B055C11 |
| html-safe-nonce | 8580ee2a980efd18f569f7667b213b34b7ac07b7ad1c12ccb4b134ddc0e16436 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEY2OjM0Njc1QzpGQkY3Q0I6MTU4NkEwNjo2QjA1NUMxMSIsInZpc2l0b3JfaWQiOiIyODI3NDE3NTk0NTUyOTk4OTI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 91f08aa53d2afd500ee294295d89b8de6ac2b5698e6b5c2026020b5d323f8e5e |
| hovercard-subject-tag | issue:5928926549 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/89/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fcdc99bd16a15bdfe5906e37ee66066148d2aad5e675b4f683e0e7897f07871a/cloudfall-dev/cloudfall/issues/89 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fcdc99bd16a15bdfe5906e37ee66066148d2aad5e675b4f683e0e7897f07871a/cloudfall-dev/cloudfall/issues/89 |
| og:image:alt | Problem Found while setting up Abecra's staging on 2026-10-19. Every guide (docs/getting-started.md, docs/operator-guide.md, docs/secrets-guide.md) runs Cloudfall from an operator's machine: SOPS_A... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10dff83edfd4f3617a7792a152d44991587b434c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width