3d46d7a...
by
Sergio Durigan Junior
on 2021-04-16
Rename USERNAME/PASSWORD to DOCKER_ USERNAME/ DOCKER_ PASSWORD
We just use these variables for Docker, so there's no need to use
generic names for them.
Signed-off-by: Sergio Durigan Junior <email address hidden>
b668e7b...
by
Sergio Durigan Junior
on 2021-04-14
tag-images.sh: Use [*] instead of [@] when expanding array of images
Using [@] will expand the array into separate words, which is not what
we want when we're invoking the "_login_ docker_ registry1" function.
Signed-off-by: Sergio Durigan Junior <email address hidden>
b47427b...
by
Sergio Durigan Junior
on 2021-04-12
New CLI app to print the manifest of an image:tag
This CLI application can be used to print the manifest of an
image:tag. It will eventually be used in our unit tests in order to
obtain the manifest and verify that everything is correct with it.
Signed-off-by: Sergio Durigan Junior <email address hidden>
6e6af34...
by
Sergio Durigan Junior
on 2021-04-12
Implement function to print the manifest for an image:tag
This will be the base for a new CLI application that will print
manifests for a certain image:tag combination.
Signed-off-by: Sergio Durigan Junior <email address hidden>
fb931ee...
by
Bryce Harrington
on 2021-04-13
software-versions: Set $CODENAMES as read-only
2d7d8f6...
by
Bryce Harrington
on 2021-04-13
software-versions: Omit prometheus and other snap-based packages
(For now anyway...)
55014af...
by
Bryce Harrington
on 2021-04-13
software-versions: Add mention of --format to usage()
b9965ea...
by
Bryce Harrington
on 2021-04-13
software_versions: Fix shellcheck issues
Mostly changing the local declarations, and a few quoted variables.
There was also a typo in the num_software decremental.
e2ce68d...
by
Bryce Harrington
on 2021-04-12
software-versions: Generalize codename list
Instead of hardcoding hirsute and focal, iterate over an array of
codenames. Refactor the report formatting accordingly.
This also fixes a few JSON formatting issues I didn't notice before.
To test JSON syntax:
$ ./software- versions. sh --format json > /tmp/foo.json
$ json-check /tmp/foo.json
PASS
07a688c...
by
Bryce Harrington
on 2021-04-12
software_versions: Use binary package to get source package version
Rather than hard-code per-release package version numbers to use in
determining the M.N software version, take advantage of the fact that
each of the M.N-style source packages have stable names for related binary
packages. Lookup the version numbers for *those* and then use them to
determine the appropriate M.N.