summaryrefslogtreecommitdiffstats
path: root/container (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #60924 from ktdreyer/containerfile-date-utcKen Dreyer2024-12-041-1/+1
|\ | | | | container/build.sh: use UTC dates for tags
| * container/build.sh: use UTC dates for tagsKen Dreyer2024-12-031-1/+1
| | | | | | | | | | | | Do not rely on the builder host's local timezone setting. Signed-off-by: Ken Dreyer <kdreyer@ibm.com>
* | container/{Containerfile,build.sh}: use a secret to pass secretsDan Mick2024-12-042-8/+15
| | | | | | | | | | | | | | Use podman's build --secret mechanism to pass credentials for download.ceph.com Signed-off-by: Dan Mick <dan.mick@redhat.com>
* | container/Containerfile: allow failure from curl to stop buildDan Mick2024-12-041-6/+6
| | | | | | | | | | | | | | curl doesn't actually fail unless -f is used; also, add some sh -e flags. Signed-off-by: Dan Mick <dan.mick@redhat.com>
* | container/Containerfile: purge .repo files with secrets before commitDan Mick2024-12-041-1/+2
| | | | | | | | | | | | | | | | | | ceph.repo had creds in it for download.ceph.com/prerelease. Remove the .repo files we construct, since they're not necessary once the container is built (no one should be dnf'ing anything in the container). Signed-off-by: Dan Mick <dan.mick@redhat.com>
* | container/Containerfile fix boolean IS_RELEASE usageDan Mick2024-12-041-1/+1
| | | | | | | | | | | | Existing syntax was just wrong. Signed-off-by: Dan Mick <dan.mick@redhat.com>
* | container/make-manifest-list.py: use LOCALMANIFEST throughoutDan Mick2024-12-031-3/+3
| | | | | | | | Signed-off-by: Dan Mick <dan.mick@redhat.com>
* | containers/make-manifest.py: Add --promoteDan Mick2024-12-031-21/+96
| | | | | | | | | | | | | | 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>
* | container/Containerfile, build.sh: Add PRERELEASE_USERNAME/PASSWORDDan Mick2024-12-032-2/+15
| | | | | | | | | | | | Used for accessing download.ceph.com Signed-off-by: Dan Mick <dan.mick@redhat.com>
* | container/build.sh:Dan Mick2024-12-031-7/+12
| | | | | | | | | | | | | | | | - change repo path to prerelease - remove image id arg for release push - include 'v' in version name for release push Signed-off-by: Dan Mick <dan.mick@redhat.com>
* | container/make-manifest-list.pyDan Mick2024-12-031-19/+32
|/ | | | | | | | | | | | | | - 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>
* container/build.sh: fix arm architecture taggingDan Mick2024-10-111-3/+3
| | | | | | | | The wrong string was used for comparison, and for tagging, so the arm64 branch and sha1 images overwrote and destroyed the amd64 images. Signed-off-by: Dan Mick <dmick@redhat.com>
* Add Containerfile and build.sh to build it.Dan Mick2024-10-033-0/+548
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>