Scripts to generate metadata (source IDs, build IDs)
Go to file
Tianon Gravi ab38f954b3
Rewrite deploy to minimize API requests (#38)
* WIP: first pass at deploy

* WIP: second pass, now with more cowbell

* WIP: refactor coverage handling (cleaner, more consistent, no longer has to clobber top-level bin/)

* WIP: the start of more "jq" tests

* WIP: add a few TODOs

* Add a benchmark for `om.OrderedMap.Set`

I was testing a minor memory-usage improvement to `Set`, but it turns out it doesn't actually matter (and this helped me determine that, so I might as well keep it).

* Add explicit `Reference.StringWithKnownDigest` unit test

* WIP: refactor EnsureManifest loop with more correct handling of child manifests vs blobs

* Update to use the new `ociregistry.HTTPError` for more consistent/correct HTTP error handling

* WIP: remove TODO that was implemented elsewhere (and fix error message text / comment text)

* WIP: also normalize descriptor field ordering

* WIP: assume pre-normalized platform (no reason to normalize more than once)

* WIP: initial "deploy" data munging helpers plus tests

* WIP: update Jenkinsfile.deploy to use new deploy code

* WIP: remove example-commands symlink so Git detects rename better

* WIP: add delay for racy registry startup

* WIP: remove trap once it's no longer necessary

* WIP: typo

* WIP: remove unnecessary TODOs
2024-04-18 11:53:23 -07:00
.github
.test
bin
cmd
om
registry
.any-go-nt.sh
.gitattributes
.go-env.sh
Jenkinsfile.build
Jenkinsfile.deploy
Jenkinsfile.meta
Jenkinsfile.trigger
LICENSE
builds.sh
deploy.jq
go.mod
go.sum
jenkins.jq
meta.jq
oci.jq
sort.jq
sources.sh