Title: Run Component build steps in artifact build (S-002-2..10, S-002-12, S-002-13) · Issue #115 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Run Component build steps in artifact build (S-002-2..10, S-002-12, S-002-13) · Issue #115 · cloudfall-dev/cloudfall
X Title: Run Component build steps in artifact build (S-002-2..10, S-002-12, S-002-13) · Issue #115 · cloudfall-dev/cloudfall
Description: Builds part of spec S-002, docs/specs/002-component-build-steps.md (feature issue #86): the acceptance criteria below. Each needs a test that names its id (test_s002_
Open Graph Description: Builds part of spec S-002, docs/specs/002-component-build-steps.md (feature issue #86): the acceptance criteria below. Each needs a test that names its id (test_s002_
X Description: Builds part of spec S-002, docs/specs/002-component-build-steps.md (feature issue #86): the acceptance criteria below. Each needs a test that names its id (test_s002_<k>_..., or a proves: S-0...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/115
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Run Component build steps in artifact build (S-002-2..10, S-002-12, S-002-13)","articleBody":"Builds part of spec S-002, `docs/specs/002-component-build-steps.md` (feature issue #86): the acceptance criteria below. Each needs a test that names its id (`test_s002_\u003ck>_...`, or a `proves: S-002-2` comment line).\n\n- S-002-2: `artifact build --ref \u003csha>` for that Component produces a tarball containing `web/dist/index.html`, even though the repository's `.gitignore` lists `web/dist`\n- S-002-3: The same tarball contains no `web/node_modules/` entry and contains every file `git ls-files` lists at that commit\n- S-002-4: The metadata file next to the tarball has `spec.build.steps` listing both steps' `workingDirectory` and `command` in order, and `spec.build.tools` with the versions `node --version` and `pnpm --version` printed, and validates against `artifact.schema.json`\n- S-002-5: When a declared build tool is not on `PATH`, `artifact build` exits `ARTIFACT_BUILD_FAILED` with code `artifact_build_tool_missing` naming the tool, and no git clone runs\n- S-002-6: When a declared build tool prints a version older than its `buildTools` minimum, `artifact build` exits `ARTIFACT_BUILD_FAILED` with code `artifact_build_tool_unsupported` naming the tool and both versions\n- S-002-7: A build step that exits non-zero makes `artifact build` exit `ARTIFACT_BUILD_FAILED` with code `artifact_build_step_failed` naming the step and its exit code, and the output directory holds no new `.tar.gz` or `.json` file\n- S-002-8: A step that finishes but leaves an `artifact.include` path missing makes `artifact build` exit `ARTIFACT_BUILD_FAILED` with code `artifact_include_missing` and write no artifact\n- S-002-9: A step that prints to stdout leaves the stdout of `artifact build` a single valid JSON envelope\n- S-002-10: A build step sees `CI=true` and does not see a variable such as `HCLOUD_TOKEN` set in the controller's environment\n- S-002-12: `cloudfall deploy` of a built release puts `web/dist/index.html` under `\u003cinstallRoot>/releases/\u003crelease>/`, and `cloudfall rollback` to the previous release makes `\u003cinstallRoot>/current/web/dist/` that release's files\n- S-002-13: For a Component without `build`, `artifact build` packages the same file list as before this change and writes metadata with no `spec.build` key\n\nDepends on cloudfall-dev/cloudfall#113\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-10-27T07:53:48Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/115"}
| 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:329c925e-7fab-dc23-2f6d-e507f440f347 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E8E:2054A4:1A031AB:2212B4A:6B05597B |
| html-safe-nonce | a68f1141febcd567f86bd6f6a28e4a2c8192b79bc0630b249a771f1bc88316d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RThFOjIwNTRBNDoxQTAzMUFCOjIyMTJCNEE6NkIwNTU5N0IiLCJ2aXNpdG9yX2lkIjoiNjcxOTYwODgxODk0ODcyNTExNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c3231307f6e37e96b5e0326f74f733cd2a74a394be979d662442ef411b120c50 |
| hovercard-subject-tag | issue:6055140629 |
| 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/115/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9e4761ce784487e627b7d9c555e7ddd120a74f23c5d0a613ad99e2ce4c04c16b/cloudfall-dev/cloudfall/issues/115 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9e4761ce784487e627b7d9c555e7ddd120a74f23c5d0a613ad99e2ce4c04c16b/cloudfall-dev/cloudfall/issues/115 |
| og:image:alt | Builds part of spec S-002, docs/specs/002-component-build-steps.md (feature issue #86): the acceptance criteria below. Each needs a test that names its id (test_s002_ |
| 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