File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ SHELL_SCRIPTS = $(wildcard rootfs/bin/* _scripts/*.sh contrib/ci/*.sh)
1313
1414# The following variables describe the containerized development environment
1515# and other build options
16- DEV_ENV_IMAGE := quay.io/ drycc/go-dev:v0.22.0
16+ DEV_ENV_IMAGE := drycc/go-dev
1717DEV_ENV_WORK_DIR := /go/src/${REPO_PATH}
1818DEV_ENV_PREFIX := docker run --rm -v ${CURDIR}:${DEV_ENV_WORK_DIR} -w ${DEV_ENV_WORK_DIR}
1919DEV_ENV_CMD := ${DEV_ENV_PREFIX} ${DEV_ENV_IMAGE}
Original file line number Diff line number Diff line change @@ -10,12 +10,16 @@ echo "registry-bucket" > "${CURRENT_DIR}"/tmp/aws-user/registry-bucket
1010echo " 1234567890123456789012345678901234567890" > " ${CURRENT_DIR} " /tmp/aws-user/accesskey
1111echo " 1234567890123456789012345678901234567890" > " ${CURRENT_DIR} " /tmp/aws-user/secretkey
1212
13- MINIO_JOB=$( docker run -d \
13+ MINIO_JOB=$( docker run -d --name minio \
1414 -v " ${CURRENT_DIR} " /tmp/aws-user:/var/run/secrets/drycc/objectstore/creds \
15- quay.io/ drycc/minio:canary server /home/minio/)
15+ drycc/minio:canary server /home/minio/)
1616
17+ sleep 5
18+ docker logs " ${MINIO_JOB} "
1719
18- JOB=$( docker run -d \
20+ JOB=$( docker run -d --link minio:minio \
21+ -e DRYCC_MINIO_SERVICE_HOST=minio \
22+ -e DRYCC_MINIO_SERVICE_PORT=9000 \
1923 -v " ${CURRENT_DIR} " /tmp/aws-user:/var/run/secrets/drycc/objectstore/creds \
2024 " $1 " )
2125
Original file line number Diff line number Diff line change 1- FROM minio/mc:RELEASE.2019-05-23T01-33-27Z as mc
1+ FROM minio/mc:RELEASE.2020-07-17T02-52-20Z as mc
22
33FROM registry:2.7
44
Original file line number Diff line number Diff line change 33# shellcheck disable=SC1091
44source /bin/normalize_storage
55has_bucket=$( mc ls minio -json| jq -r ' .key' | grep -w " ${MINIO_BUCKET} " )
6- if [ ! -n " $has_bucket " ] ; then
6+ if [ -z " $has_bucket " ] ; then
77 mc mb minio/" ${MINIO_BUCKET} "
88fi
You can’t perform that action at this time.
0 commit comments