Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
fix: `/bin/bash: line 8: go-junit-report: command not found
Browse files Browse the repository at this point in the history
feat: Introduce authentication by login & password
  • Loading branch information
B&R committed Oct 9, 2023
1 parent 3569470 commit e472045
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}; \
Expand Down

0 comments on commit e472045

Please sign in to comment.