summaryrefslogtreecommitdiffstats
path: root/container/build.sh
diff options
context:
space:
mode:
authorDan Mick <dan.mick@redhat.com>2024-11-15 02:49:15 +0100
committerDan Mick <dan.mick@redhat.com>2024-12-03 21:32:13 +0100
commit7374b9b1114da08f1fdb9dfcfe2ef37c2178c8f5 (patch)
treee4b318e537b683c7d345cf102668de8898e6c5fe /container/build.sh
parentcontainer/build.sh: (diff)
downloadceph-7374b9b1114da08f1fdb9dfcfe2ef37c2178c8f5.tar.xz
ceph-7374b9b1114da08f1fdb9dfcfe2ef37c2178c8f5.zip
container/Containerfile, build.sh: Add PRERELEASE_USERNAME/PASSWORD
Used for accessing download.ceph.com Signed-off-by: Dan Mick <dan.mick@redhat.com>
Diffstat (limited to 'container/build.sh')
-rwxr-xr-xcontainer/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/container/build.sh b/container/build.sh
index 30f0bdb0e0a..bf538fb72b8 100755
--- a/container/build.sh
+++ b/container/build.sh
@@ -22,6 +22,8 @@ CONTAINER_REPO_HOSTNAME (quay.ceph.io, for CI, for instance)
CONTAINER_REPO_ORGANIZATION (ceph-ci, for CI, for instance)
CONTAINER_REPO_USERNAME
CONTAINER_REPO_PASSWORD
+PRERELEASE_USERNAME for download.ceph.com:/prerelease/ceph
+PRERELEASE_PASSWORD
For a release build: (from ceph.git, built and pushed to download.ceph.com)
CI_CONTAINER: must be 'false'
@@ -99,6 +101,8 @@ podman build --pull=newer --squash -f $CFILE -t build.sh.output \
--build-arg CEPH_REF=${BRANCH:-main} \
--build-arg OSD_FLAVOR=${FLAVOR:-default} \
--build-arg CI_CONTAINER=${CI_CONTAINER:-default} \
+ --build-arg PRERELEASE_USERNAME=${PRERELEASE_USERNAME} \
+ --build-arg PRERELEASE_PASSWORD=${PRERELEASE_PASSWORD} \
2>&1
image_id=$(podman image ls localhost/build.sh.output --format '{{.ID}}')