Skip to content

Commit e0ecdf9

Browse files
committed
(human) more work on examples/env README
1 parent 0aee21d commit e0ecdf9

File tree

1 file changed

+31
-6
lines changed

1 file changed

+31
-6
lines changed

examples/env/README.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -528,11 +528,7 @@ These are artifacts, intermediates, or resources you can work with
528528
529529
## Examples
530530
531-
### Multi-Stage Builds and Beyond, DAG style
532-
533-
- multi-stage
534-
- no need for yum rm
535-
- how binaries and dirs work
531+
### Debian Base Container with Apt Caches
536532
537533
That long-time advice to install packages like this: `apt update && apt install && apt clean`... it's over!
538534
We can now attach caches, just like we do for languages like `go.mod` and `node_modules`,
@@ -722,14 +718,43 @@ cmd: {
722718
723719
```
724720
721+
725722
### Release Bundles
726723
727724
You can define release bundles and then assemble and publish them with a single command.
728725
729-
`hof env ...`
726+
_from the root of this repo_
730727
728+
```sh
729+
$ hof env list -e dist -S kind -S name
730+
NAME KIND PATH EXTRA
731+
sbom-cuemod cuefigSBOM dist.sbom.cuemod cuemod.cue
732+
sbom-fmt-black cuefigSBOM dist.sbom."fmt-black" fmt-black.cue
733+
sbom-fmt-prettier cuefigSBOM dist.sbom."fmt-prettier" fmt-prettier.cue
734+
sbom-github cuefigSBOM dist.sbom.github github.cue
735+
sbom-veg-dev cuefigSBOM dist.sbom.dev veg-dev.cue
736+
sbom-veg-hof cuefigSBOM dist.sbom.hof veg-hof.cue
737+
sbom-veg-min cuefigSBOM dist.sbom.min veg-min.cue
738+
sbom-veg-ops cuefigSBOM dist.sbom.ops veg-ops.cue
739+
sbom-vscode cuefigSBOM dist.sbom.vscode vscode.cue
740+
dist-cuemod exportDir dist.cuemod -> dist/cuemod
741+
dist-github exportDir dist.github -> dist/github
742+
dist-meta exportDir dist.meta -> dist/meta
743+
dist-vscode exportDir dist.vscode -> dist/vscode
744+
dist-fmt-black publishImage dist.images."fmt-black" -> host.docker.internal:5000/fmt-black
745+
dist-fmt-prettier publishImage dist.images."fmt-prettier" -> host.docker.internal:5000/fmt-prettier
746+
dist-veg-dev publishImage dist.images.dev -> host.docker.internal:5000/veg-dev
747+
dist-veg-hof publishImage dist.images.hof -> host.docker.internal:5000/veg-hof
748+
dist-veg-min publishImage dist.images.min -> host.docker.internal:5000/veg-min
749+
dist-veg-ops publishImage dist.images.ops -> host.docker.internal:5000/veg-ops
731750
```
732751
752+
```sh
753+
# validate a release is ready to go
754+
$ hof env sync -e dist -T v0.7.0-alpha.2
755+
756+
# export and publish artifacts for real
757+
$ hof env export -e dist -T v0.7.0-alpha.2 -t reg=ghcr.io/hofstadter-io
733758
```
734759
735760
### Agent or Dev Environments with Tools

0 commit comments

Comments
 (0)