-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
Strategic Portfolio Work
-
3
-
False
-
-
False
-
-
-
CoreOS East - 274, CoreOS East - 275
-
0
For easier pipeline integration and finger compatibility, support having `cosa build` use the new container native path to build the `ostree` artifact rather than the previous direct `rpm-ostree compose tree` path.
Instead of extending the hacky and complex cmd-build bash script, I'd say let's instead integrate this at the `coreos-assembler.go` level. The container native path renders a lot of code in `cmd-build` obsolete.
Roughly:
- Add a new e.g. `cosa buildoci` command. What that command would do is essentially:
-
- `cosa supermin-run podman build ...`
- `cosa import ...` (see
COS-3309)
- In `coreos-assembler.go`, make `cosa build` actually just call `cosa buildoci` if e.g. `COSA_BUILDOCI=1`.
Having it be env var based makes it easier down the line to integrate into the pipeline since it already supports env vars.
- depends on
-
COS-3309 Add a `cosa import` command to import a built container image
-
- Closed
-