Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

Commit 75358e2

Browse files
author
Charlie Briggs
committed
Remove the other docker make task
1 parent e272ca9 commit 75358e2

1 file changed

Lines changed: 5 additions & 11 deletions

File tree

Makefile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ vet: ## Examine the Go source code.
3131
go vet $(PACKAGES)
3232
@$(DONE)
3333

34-
.PHONY:security
35-
security: ## Perform security scans. Needs to be run in an environment with the snyk CLI tool.
36-
security: _security-dependencies _security-docker
34+
.PHONY: security
35+
security: _security-login ## Scan dependencies for security vulnerabilities.
36+
@printf '%b\n' ">> $(TEAL)scanning dependencies for vulnerabilities"
37+
npx snyk test --org=reliability-engineering
38+
@$(DONE)
3739

3840
_security-login:
3941

@@ -45,16 +47,8 @@ ifeq ($(CI),)
4547
_security-login: _security-login-web
4648
endif
4749

48-
_security-dependencies: _security-login ## Scan dependencies for security vulnerabilities.
49-
@printf '%b\n' ">> $(TEAL)scanning dependencies for vulnerabilities"
50-
npx snyk test --org=reliability-engineering
51-
@$(DONE)
52-
5350
.PHONY: security-monitor
5451
security-monitor: ## Update latest monitored dependencies in snyk. Needs to be run in an environment with the snyk CLI tool.
55-
security-monitor: _security-dependencies-monitor
56-
57-
_security-dependencies-monitor: ## Update snyk monitored dependencies.
5852
@printf '%b\n' ">> $(TEAL)updating snyk dependencies"
5953
npx snyk monitor --org=reliability-engineering
6054
@$(DONE)

0 commit comments

Comments
 (0)