Commit Graph

4 Commits

Author SHA1 Message Date
Dan Mick
a3a9f188ca container/make-manifest-list.py: use LOCALMANIFEST throughout
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2024-12-03 12:32:13 -08:00
Dan Mick
4f050d7811 containers/make-manifest.py: Add --promote
The promote function finds the latest image on the prerelease repo,
finds all its tags, and copies them all to the release repo.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2024-12-03 12:32:13 -08:00
Dan Mick
44b2fc4d5e container/make-manifest-list.py
- don't print command failure in worker; let the caller print them
  if desired (allow silent failure)
- allow for empty tags list
- look for CEPH_SHA1.  GIT_COMMIT was the sha1 of the ceph-container.git
  commit
- change default paths to prerelease
- add --dry-run to avoid final push
- rename 'HOST' to 'CONTAINER_HOST'
- Use ARCH_SPECIFIC_HOST instead of CONTAINER_HOST (which is used by podman)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2024-12-03 12:32:13 -08:00
Dan Mick
5c40a5c173 Add Containerfile and build.sh to build it.
The intent is to replace ceph-container.git, at first for ci containers
only, and eventually production containers as well.

There is code present for production containers, including
a separate "make-manifest-list.py" to scan for and glue the two
arch-specific containers into a 'manifest-list' 'fat' container,
but that code is not yet fully tested.

This code will not be used until a corresponding change to the
Jenkins jobs in ceph-build.git is pushed.

Note that this tooling does not authenticate to the container repo;
it is assumed that will be done elsewhere.  Authentication is
verified by pushing a minimal image to the requested repo.

Signed-off-by: Dan Mick <dmick@redhat.com>
2024-10-02 16:49:32 -07:00