Commit 1b929f21 authored by AdamSimpson's avatar AdamSimpson
Browse files

Go back to more verbose build

parent 9fad3da1
Pipeline #11688 failed with stages
in 32 minutes and 11 seconds
......@@ -50,15 +50,15 @@ mv ./container.def Dockerfile
/usr/bin/unbuffer docker ${DEBUG_FLAG} build -t localhost:5000/docker_image:latest . || { echo 'Build Failed' ; exit 1; }
# Push to the local registry
docker ${DEBUG_FLAG} push localhost:5000/docker_image:latest &>"$OUT_FD"
docker ${DEBUG_FLAG} push localhost:5000/docker_image:latest
# Build the singularity container from the docker image
export SINGULARITY_CACHEDIR=/home/builder/.singularity
export SINGULARITY_NOHTTPS=true
export SINGULARITY_PULLFOLDER=/home/builder
/usr/bin/unbuffer singularity ${DEBUG_FLAG} pull --name container.simg docker://localhost:5000/docker_image:latest 2>&1 >&${OUT_FD}
/usr/bin/unbuffer singularity ${DEBUG_FLAG} pull --name container.simg docker://localhost:5000/docker_image:latest
# Workaround for PULLFOLDER not being respected: https://github.com/singularityware/singularity/pull/855
if [ -e ${SINGULARITY_CACHEDIR}/container.simg ] ; then
mv ${SINGULARITY_CACHEDIR}/container.simg ./container.simg 2>&1 >&${OUT_FD}
mv ${SINGULARITY_CACHEDIR}/container.simg ./container.simg
fi
\ No newline at end of file
......@@ -67,6 +67,6 @@ private:
// Maximum number of builders to spin and keep up in reserve
const std::size_t max_reserve_builder_count;
// Number of build requests that have been requested but not yet compelted
// Number of build requests that have been requested but not yet completed
int outstanding_create_count;
};
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment