Skip to content

Commit

Permalink
🏃 Add ci-apidiff job
Browse files Browse the repository at this point in the history
Signed-off-by: Vince Prignano <vincepri@vmware.com>
  • Loading branch information
vincepri committed Apr 16, 2020
1 parent 5fdcb9e commit fab6e57
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ RELEASE_NOTES := $(TOOLS_DIR)/$(RELEASE_NOTES_BIN)
LINK_CHECKER_BIN := bin/liche
LINK_CHECKER := $(TOOLS_DIR)/$(LINK_CHECKER_BIN)
CLUSTERCTL_E2E_DIR := cmd/clusterctl/test/e2e
GO_APIDIFF_BIN := bin/go-apidiff
GO_APIDIFF := $(TOOLS_DIR)/$(GO_APIDIFF_BIN)

# Binaries.
# Need to use abspath so we can invoke these from subdirectories
Expand Down Expand Up @@ -179,6 +181,9 @@ $(RELEASE_NOTES): $(TOOLS_DIR)/go.mod
$(LINK_CHECKER): $(TOOLS_DIR)/go.mod
cd $(TOOLS_DIR) && go build -tags=tools -o $(LINK_CHECKER_BIN) github.com/raviqqe/liche

$(GO_APIDIFF): $(TOOLS_DIR)/go.mod
cd $(TOOLS_DIR) && go build -tags=tools -o $(GO_APIDIFF_BIN) github.com/joelanford/go-apidiff

.PHONY: e2e-framework
e2e-framework: ## Builds the CAPI e2e framework
cd $(E2E_FRAMEWORK_DIR); go build ./...
Expand Down
1 change: 1 addition & 0 deletions hack/tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ require (
github.com/blang/semver v3.5.1+incompatible
github.com/go-bindata/go-bindata v3.1.2+incompatible
github.com/golangci/golangci-lint v1.23.8
github.com/joelanford/go-apidiff v0.0.0-20191206194835-106bcff5f060
github.com/raviqqe/liche v0.0.0-20200229003944-f57a5d1c5be4
golang.org/x/tools v0.0.0-20200204192400-7124308813f3
k8s.io/code-generator v0.18.0-alpha.2.0.20200130061103-7dfd5e9157ef
Expand Down
Loading

0 comments on commit fab6e57

Please sign in to comment.