~toabctl/ubuntu-docker-images/+git/utils:edge-tag-and-exclude-feature

Last commit made on 2021-03-25
Get this branch:
git clone -b edge-tag-and-exclude-feature https://git.launchpad.net/~toabctl/ubuntu-docker-images/+git/utils
Only Thomas Bechtold can upload to this branch. If you are Thomas Bechtold please log in for upload directions.

Branch merges

Branch information

Name:
edge-tag-and-exclude-feature
Repository:
lp:~toabctl/ubuntu-docker-images/+git/utils

Recent commits

7d1f730... by Sergio Durigan Junior

Implement ability to exclude images from being tagged

Sometimes it's useful to "tag everything but image XYZ". This commit
implements the code needed for this feature.

Signed-off-by: Sergio Durigan Junior <email address hidden>

0442d92... by Sergio Durigan Junior

Use M.N-XX.YY_edge as the source tag (and tag 'edge')

Given that Launchpad will soon stop tagging OCI builds using the
"edge" tag, we will now always use M.N-XX.YY_edge as the source tag
when tagging everything else. This has the benefit that we will be
able to tag things for the past releases as well, because each one
will have its own M.N-XX.YY_edge tag.

Signed-off-by: Sergio Durigan Junior <email address hidden>

3bc2a5b... by Sergio Durigan Junior

Small fix/improvement to tag-images.sh

- Add "edge" to the list of "ubuntu" image tags.

- Tighten "grep" when determining the "DISTRO-XX.YY_edge" tag.

e683a1d... by Sergio Durigan Junior

Fix typos on tag-images.sh

Signed-off-by: Sergio Durigan Junior <email address hidden>

75a4c7e... by Sergio Durigan Junior

Add a README file for the scripts

Add a README file explaining what the scripts do, the required
packages that need to be installed in order to run them, and how to
configure awscli.

Signed-off-by: Sergio Durigan Junior <email address hidden>

9c1b23c... by Sergio Durigan Junior

Add tag-images.sh

This script iterates over all available images from a
registry/namespace and tags them.

Signed-off-by: Sergio Durigan Junior <email address hidden>

fcfba63... by Sergio Durigan Junior

Add multi-arch-tagger.sh

This script performs multi-arch tagging for a certain image in a
registry/namespace.

Signed-off-by: Sergio Durigan Junior <email address hidden>

8a6aea9... by Sergio Durigan Junior

Add list-tags-for-image.sh

This script lists all tags for a certain image in a
registry/namespace.

Signed-off-by: Sergio Durigan Junior <email address hidden>

cd1a2da... by Sergio Durigan Junior

Add list-all-images.sh

This script lists all images from a registry/namespace.

Signed-off-by: Sergio Durigan Junior <email address hidden>

36c2fdb... by Sergio Durigan Junior

helpers: Add helper scripts.

This commit adds 3 helper scripts:

- log.sh (for logging routines)

- registry-login.sh (for logging into registries)

- validate-args.sh (for validating script arguments)

Signed-off-by: Sergio Durigan Junior <email address hidden>