Skip to content

Commit

Permalink
Ensure production container build
Browse files Browse the repository at this point in the history
  • Loading branch information
darkweak committed Mar 29, 2021
1 parent f098bc1 commit d2074d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ build-dev: env-dev ## Build containers with dev env vars
$(DC_BUILD) souin
$(MAKE) up

health-check-prod: build-app ## Production container health check
$(DC_EXEC) souin ls

coverage: ## Show code coverage
$(DC_EXEC) souin go test ./... -coverprofile cover.out
$(DC_EXEC) souin go tool cover -func cover.out
Expand Down Expand Up @@ -54,4 +57,4 @@ tests: ## Run tests
up: ## Up containers
$(DC) up -d --remove-orphans

validate: lint tests ## Run lint and tests
validate: lint tests down health-check-prod ## Run lint, tests and ensure prod can build

0 comments on commit d2074d8

Please sign in to comment.