From e472045b067e162f1cbc66786cf546fb2c35ebdf Mon Sep 17 00:00:00 2001 From: B&R Date: Mon, 9 Oct 2023 17:46:57 +0200 Subject: [PATCH] fix: ``/bin/bash: line 8: go-junit-report: command not found` feat: Introduce authentication by login & password --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fa602c0..eef1490 100644 --- a/Makefile +++ b/Makefile @@ -16,18 +16,19 @@ push-docker: ## Release docker docker push ghcr.io/riotkit-org/br-backup-maker:${DOCKER_TAG} ensure-mysql: - if [[ $$CI == "true" ]]; then \ + @if [[ $$CI == "true" ]]; then \ sudo apt-get update && sudo apt-get install mariadb-client -y && mysql --version; \ fi ensure-go-junit-report: command -v go-junit-report || (cd /tmp && go install github.com/jstemmer/go-junit-report/v2@latest) -coverage: ensure-mysql ensure-go-junit-report test + +coverage: test download-k3d: [[ -f ".build/k3d" ]] || (mkdir -p .build && wget https://github.com/k3d-io/k3d/releases/download/v5.4.7/k3d-linux-amd64 -O .build/k3d && chmod +x .build/k3d) -test: prepare_e2e_workspace build download-k3d +test: prepare_e2e_workspace build download-k3d ensure-go-junit-report ensure-mysql # see versions.mk export TEST_BACKUP_REPOSITORY_VERSION=${TEST_BACKUP_REPOSITORY_VERSION}; \ export TEST_POSTGRES_VERSION=${TEST_POSTGRES_VERSION}; \