add scm-source.json
This commit is contained in:
parent
911728aabd
commit
948ae8315d
6
Makefile
6
Makefile
|
|
@ -65,6 +65,12 @@ docker: ${DOCKERDIR}/${DOCKERFILE} docker-context
|
||||||
echo "git describe $(shell git describe --tags --always --dirty)"
|
echo "git describe $(shell git describe --tags --always --dirty)"
|
||||||
cd "${DOCKERDIR}" && docker build --rm -t "$(IMAGE):$(TAG)$(CDP_TAG)$(DEBUG_POSTFIX)" -f "${DOCKERFILE}" .
|
cd "${DOCKERDIR}" && docker build --rm -t "$(IMAGE):$(TAG)$(CDP_TAG)$(DEBUG_POSTFIX)" -f "${DOCKERFILE}" .
|
||||||
|
|
||||||
|
docker-logical-backup: scm-source.json linux
|
||||||
|
mv scm-source.json ./docker/logical-backup
|
||||||
|
docker build --rm -t "$(LB_IMAGE)" ./docker/logical-backup
|
||||||
|
docker push "$LB_IMAGE"
|
||||||
|
rm ./docker/logical-backup/scm-source.json
|
||||||
|
|
||||||
indocker-race:
|
indocker-race:
|
||||||
docker run --rm -v "${GOPATH}":"${GOPATH}" -e GOPATH="${GOPATH}" -e RACE=1 -w ${PWD} golang:1.8.1 bash -c "make linux"
|
docker run --rm -v "${GOPATH}":"${GOPATH}" -e GOPATH="${GOPATH}" -e RACE=1 -w ${PWD} golang:1.8.1 bash -c "make linux"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,7 @@ pipeline:
|
||||||
else
|
else
|
||||||
LB_IMAGE=registry-write.opensource.zalan.do/acid/logical-backup-test:${CDP_BUILD_VERSION}
|
LB_IMAGE=registry-write.opensource.zalan.do/acid/logical-backup-test:${CDP_BUILD_VERSION}
|
||||||
fi
|
fi
|
||||||
docker build -t "$LB_IMAGE" ./docker/logical-backup
|
make docker-logical-backup
|
||||||
docker push "$LB_IMAGE"
|
|
||||||
- desc: 'Install go'
|
- desc: 'Install go'
|
||||||
cmd: |
|
cmd: |
|
||||||
cd /tmp
|
cd /tmp
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ RUN apt-get update \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY dump.sh /dump.sh
|
COPY dump.sh /dump.sh
|
||||||
|
COPY scm-source.json /scm-source.json
|
||||||
|
|
||||||
ENV PG_DIR=/usr/lib/postgresql/
|
ENV PG_DIR=/usr/lib/postgresql/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue