Skip to content

Commit e7679fe

Browse files
authored
Merge pull request #230 from thockin/debian-buster
Bump to debian-base 2.0.0 (buster)
2 parents 629c8d2 + ef8f5cf commit e7679fe

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ALL_PLATFORMS := linux/amd64 linux/arm linux/arm64 linux/ppc64le linux/s390x
3636
OS := $(if $(GOOS),$(GOOS),$(shell go env GOOS))
3737
ARCH := $(if $(GOARCH),$(GOARCH),$(shell go env GOARCH))
3838

39-
BASEIMAGE ?= k8s.gcr.io/debian-base:1.0.0
39+
BASEIMAGE ?= k8s.gcr.io/debian-base:v2.0.0
4040

4141
IMAGE := $(REGISTRY)/$(BIN)
4242
TAG := $(VERSION)__$(OS)_$(ARCH)

cmd/git-sync/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ func setRepoReady() {
480480
func addWorktreeAndSwap(ctx context.Context, gitRoot, dest, branch, rev string, depth int, hash string) error {
481481
log.V(0).Info("syncing git", "rev", rev, "hash", hash)
482482

483-
args := []string{"fetch", "--tags"}
483+
args := []string{"fetch", "-f", "--tags"}
484484
if depth != 0 {
485485
args = append(args, "--depth", strconv.Itoa(depth))
486486
}

test_e2e.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,7 @@ CTR=$(docker run \
995995
-v "$DOT_SSH":/dot_ssh:ro \
996996
-v "$REPO":/src:ro \
997997
e2e/test/test-sshd)
998+
sleep 3 # wait for sshd to come up
998999
IP=$(docker inspect "$CTR" | jq -r .[0].NetworkSettings.IPAddress)
9991000
git -C "$REPO" commit -qam "$TESTCASE"
10001001
GIT_SYNC \

0 commit comments

Comments
 (0)