-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from docksal/develop
Release v1.2.0
- Loading branch information
Showing
16 changed files
with
673 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
projects |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
-include env_make | ||
|
||
VERSION ?= dev | ||
|
||
REPO = docksal/vhost-proxy | ||
NAME = docksal-vhost-proxy | ||
|
||
.PHONY: build test push shell run start stop logs debug clean release | ||
|
||
build: | ||
fin docker build -t $(REPO):$(VERSION) . | ||
|
||
test: | ||
IMAGE=$(REPO):$(VERSION) bats tests/smoke-test.bats | ||
|
||
push: | ||
fin docker push $(REPO):$(VERSION) | ||
|
||
exec: | ||
fin docker exec -it $(NAME) $(CMD) | ||
|
||
shell: | ||
make exec -e CMD=bash | ||
|
||
start: | ||
fin system reset vhost-proxy | ||
|
||
stop: | ||
fin docker stop $(NAME) | ||
|
||
logs: | ||
fin docker logs $(NAME) | ||
|
||
clean: | ||
fin docker rm -f $(NAME) | ||
rm -rf projects | ||
fin cleanup | ||
|
||
debug: build start | ||
fin docker logs -f $(NAME) | ||
|
||
release: build | ||
make push -e VERSION=$(VERSION) | ||
|
||
# Curl command with http2 support via a docker container | ||
# Usage: make curl -e ARGS='-kI https://docksal.io' | ||
curl: | ||
docker run -t --rm badouralix/curl-http2 $(ARGS) | ||
|
||
default: build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.