Skip to content

Commit

Permalink
Ping also subdomain
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed May 18, 2021
1 parent 5d94cd8 commit ef1f986
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion make/utilities.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ check-scripts:

PHONY += ping
ping: ## Ping docker.so domain
$(call step,Setup domain $(DOCKER_DOMAIN) resolves to:)
$(call step,Domain $(DOCKER_DOMAIN) resolves to:)
@ping -q -c 1 -t 1 $(DOCKER_DOMAIN) | grep PING | sed -e "s/).*//" | sed -e "s/.*(//"
$(call step,Domain foobar.$(DOCKER_DOMAIN) resolves to:)
@ping -q -c 1 -t 1 foobar.$(DOCKER_DOMAIN) | grep PING | sed -e "s/).*//" | sed -e "s/.*(//"

PHONY += url
url: SERVICE := portainer
Expand Down

0 comments on commit ef1f986

Please sign in to comment.