diff --git a/.gitlab/.gitlab-ci.yml b/.gitlab/.gitlab-ci.yml index 3482f3123..c9101631c 100644 --- a/.gitlab/.gitlab-ci.yml +++ b/.gitlab/.gitlab-ci.yml @@ -379,7 +379,6 @@ run go tests cli kafka integration: - cd .. - go test -coverprofile=coverage-cli-kafka-integration.out -run -timeout=10m TestKafkaRunner ./cli after_script: - - cd ./idk/ - make shutdown - rm -rf /mnt/ramdisk/test-$CI_JOB_ID artifacts: @@ -527,7 +526,7 @@ package for linux amd64: GOOS: "linux" GOARCH: "amd64" script: - - echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list + - echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list - apt update && apt install nfpm=2.11.3 - apt-get update && apt-get install -y -qq musl-tools build-essential - make package @@ -568,7 +567,7 @@ package for linux arm64: GOOS: "linux" GOARCH: "arm64" script: - - echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list + - echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list - apt update && apt install nfpm=2.11.3 - apt-get update && apt-get install -y -qq build-essential - make package diff --git a/idk/Makefile b/idk/Makefile index acafadc46..2b668bec2 100644 --- a/idk/Makefile +++ b/idk/Makefile @@ -349,5 +349,7 @@ cli-startup: git clone https://github.com/square/certstrap cd certstrap go build - $(MAKE) testenv vendor + sudo mv ./certstrap /usr/local/bin/ + $(MAKE) testenv + $(MAKE) vendor $(MAKE) startup \ No newline at end of file