mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-22 09:39:54 +02:00
add scm-source.json
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -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/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user