lp:~toabctl/ubuntu-docker-images/+git/utils

Owned by Thomas Bechtold
Get this repository:
git clone https://git.launchpad.net/~toabctl/ubuntu-docker-images/+git/utils
Only Thomas Bechtold can upload to this repository. If you are Thomas Bechtold please log in for upload directions.

Branches

Name Last Modified Last Commit
tag-filter 2021-07-15 13:16:36 UTC
tag-images.sh: add --tag-filter to tag only a specific _edge tag

Author: Thomas Bechtold
Author Date: 2021-07-15 08:46:53 UTC

tag-images.sh: add --tag-filter to tag only a specific _edge tag

Currently the tag-images.sh script interates over all the given _edge
tags from the given images in the given namespace and adds the needed
tags (eg. _beta, _candidate or _stable). That's not always
wanted. Eg. when using the script in a CI pipeline where a job does
only update a specific image (eg. the "impish-21.10_edge" tagged
image), the script should only add the additional tags to that tagged
image.
With the new parameter, that's possible.
Assuming there are multiple _edge tags (eg. "impish-21.10_edge" and
"hirsute-21.04_edge") for a given image and --tag-filter is set to
"impish", the script will now only add the extra tags to the image
that is tagged with "impish-21.10_edge" .

Note: --tag-filter only works when the given IMAGE is a base
image (means that IMAGE must be "ubuntu").

tag-images-dry-run 2021-07-14 17:26:23 UTC
helpers/registry-login: allow AWS_{ACCESS_KEY_ID,_SECRET_ACCESS_KEY}

Author: Thomas Bechtold
Author Date: 2021-07-14 13:03:21 UTC

helpers/registry-login: allow AWS_{ACCESS_KEY_ID,_SECRET_ACCESS_KEY}

Currently there needs to be a AWS profile configured to tag images on
AWS. With this change, it's also possible to use the standard[0] AWS
environment variables to provide the credentials for login.

[0]
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html

tag-no-validation 2021-07-14 10:50:39 UTC
NEVER MERGE!!!!!!!

Author: Thomas Bechtold
Author Date: 2021-07-14 10:50:39 UTC

NEVER MERGE!!!!!!!

allow-dockerhub-registry-for-base-image 2021-06-21 05:59:41 UTC
tag-images.sh: drop registry check for base image

Author: Thomas Bechtold
Author Date: 2021-06-21 05:59:41 UTC

tag-images.sh: drop registry check for base image

The ubuntu base image is now also available on dockerhub in the ubuntu
namespace[0]. So allow using the tag-images.sh script with the
dockerhub registry.

[0] https://hub.docker.com/r/ubuntu/ubuntu

main 2021-06-04 22:11:12 UTC
software-versions.sh: Add a README

Author: Bryce Harrington
Author Date: 2021-04-17 01:16:16 UTC

software-versions.sh: Add a README

master 2021-06-04 22:11:12 UTC
software-versions.sh: Add a README

Author: Bryce Harrington
Author Date: 2021-04-17 01:16:16 UTC

software-versions.sh: Add a README

jq-always-specify-filter 2021-05-28 14:35:09 UTC
Always speficy a filter when calling `jq`.

Author: Paride Legovini
Author Date: 2021-05-28 14:35:09 UTC

Always speficy a filter when calling `jq`.

See https://github.com/stedolan/jq/issues/1110 (still affecting Bionic).

sync-images 2021-04-22 12:37:45 UTC
New script to sync images between registries

Author: Athos Ribeiro
Author Date: 2021-04-19 20:17:54 UTC

New script to sync images between registries

The sync-multiarch-images.sh script copies an image from one registry to
another (by pulling and then pushing the image). Optionally, the user
can specify the architecture of the image being moved over. Additionally
the script runs a simple smoke test with the pulled image to make sure
the image being moved over is sane and was built for the requested
architecture.

Signed-off-by: Athos Ribeiro <athos.ribeiro@canonical.com>

query-dockerhub-repo 2021-04-19 22:20:17 UTC
Add query-dockerhub-repo

Author: Bryce Harrington
Author Date: 2021-04-14 22:10:02 UTC

Add query-dockerhub-repo

Retrieves information about the Ubuntu OCI images from docker and dumps
the info as JSON data.

Example usage:

  $ ./query-dockerhub-repo | jq '.[] | .name'
  "cortex"
  "nginx"
  "redis"
  "postgres"
  "apache2"
  "prometheus"
  "mysql"
  "memcached"
  "grafana"
  "telegraf"

software-versions-image-extraction 2021-04-17 01:16:46 UTC
software-versions.sh: Add a README

Author: Bryce Harrington
Author Date: 2021-04-17 01:16:16 UTC

software-versions.sh: Add a README

rename-userpass-vars 2021-04-16 20:47:51 UTC
Rename USERNAME/PASSWORD to DOCKER_USERNAME/DOCKER_PASSWORD

Author: Sergio Durigan Junior
Author Date: 2021-04-16 20:42:59 UTC

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 <sergio.durigan@canonical.com>

print-manifest 2021-04-13 22:40:05 UTC
New CLI app to print the manifest of an image:tag

Author: Sergio Durigan Junior
Author Date: 2021-04-12 23:04:24 UTC

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 <sergio.durigan@canonical.com>

software-versions 2021-04-13 21:03:28 UTC
software-versions.sh: Set $CODENAMES as read-only

Author: Bryce Harrington
Author Date: 2021-04-13 21:03:28 UTC

software-versions.sh: Set $CODENAMES as read-only

refactor-libs 2021-04-12 22:45:47 UTC
Use code from lib/ and simplify procedures

Author: Sergio Durigan Junior
Author Date: 2021-04-12 19:56:36 UTC

Use code from lib/ and simplify procedures

This commit will convert the existing standalone scripts and make them
use code from the lib directory. This has a lot of benefits, for
example:

- The validation step now occurs only once, in the main script that is
  being called.

- It's possible to share credentials.

- It's easier to share code between the various parts.

Signed-off-by: Sergio Durigan Junior <sergio.durigan@canonical.com>

edge-tag-and-exclude-feature 2021-03-25 17:41:34 UTC
Implement ability to exclude images from being tagged

Author: Sergio Durigan Junior
Author Date: 2021-03-25 17:23:29 UTC

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 <sergio.durigan@canonical.com>

multi-arch-tagger 2021-03-18 21:06:16 UTC
Add a README file for the scripts

Author: Sergio Durigan Junior
Author Date: 2021-03-15 19:57:00 UTC

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 <sergio.durigan@canonical.com>

update-and-check-images 2021-03-15 23:09:25 UTC
software-versions.sh: Special-case postgres' software version

Author: Bryce Harrington
Author Date: 2021-03-15 23:05:22 UTC

software-versions.sh: Special-case postgres' software version

Minor version bumps of postgres are allowed in stable Ubuntu releases,
per security team policy. Thus for tagging OCI images we should
reference only the major version in this particular case.

golang-manifest-builder 2021-02-19 20:51:54 UTC
Add golang-manifest-builder.py

Author: Sergio Durigan Junior
Author Date: 2021-02-19 20:48:52 UTC

Add golang-manifest-builder.py

This script will be used when building the telegraf and cortex OCI
images. It is needed in order to compile the list of Golang modules
used to build these software into a manifest that is consumable by the
tooling used by the Security team.

Signed-off-by: Sergio Durigan Junior <sergio.durigan@canonical.com>

118 of 18 results
This repository contains Public information 
Everyone can see this information.

Subscribers