-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: fix broken website link check (#658)
It was broken since 6109acd Signed-off-by: spacewander <[email protected]>
- Loading branch information
1 parent
35d34aa
commit d891f67
Showing
3 changed files
with
4 additions
and
5 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
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 |
---|---|---|
|
@@ -35,5 +35,4 @@ external/* | |
e2e/log | ||
.idea | ||
# helm charts | ||
manifests/charts/**/*.tgz | ||
.idea | ||
manifests/charts/**/*.tgz |
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 |
---|---|---|
|
@@ -178,8 +178,9 @@ fix-cjk: dev-tools | |
.PHONY: lint-website | ||
lint-website: $(LOCALBIN) | ||
test -x $(LOCALBIN)/htmltest || GOBIN=$(LOCALBIN) go install github.com/wjdp/[email protected] | ||
$(LOCALBIN)/htmltest --conf ./.htmltest.yml ./public | grep -E '(target does not exist|Non-OK status: 404)' \ | ||
&& exit 1 || true | ||
cd ./site && $(LOCALBIN)/htmltest --conf ./.htmltest.yml ./public > /tmp/htmltest.log || true | ||
@# ignore 'lookup htnn.mosn.io: no such host' error for now | ||
test -f /tmp/htmltest.log && (grep -E '(target does not exist|Non-OK status: 404)' /tmp/htmltest.log && exit 1 || true) | ||
|
||
.PHONY: lint-remain | ||
lint-remain: | ||
|