mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
[Improvement] Reduce CI on Commit Travis runs (#1249)
This commit is contained in:
parent
6e917a96db
commit
09a28f0056
3 changed files with 16 additions and 9 deletions
15
.travis.yml
15
.travis.yml
|
@ -8,10 +8,13 @@ go_import_path: github.com/arangodb/kube-arangodb
|
|||
env:
|
||||
- GO111MODULES=off
|
||||
|
||||
install:
|
||||
- make init
|
||||
|
||||
script:
|
||||
- make license-verify license-range-verify fmt-verify linter
|
||||
- make run-unit-tests
|
||||
- make bin
|
||||
- |
|
||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ] || [ ! -z "$ALWAYS" ]; then
|
||||
make init
|
||||
make license-verify license-range-verify fmt-verify linter
|
||||
make run-unit-tests
|
||||
make bin
|
||||
else
|
||||
make vendor tools-min fmt-verify linter
|
||||
fi
|
|
@ -8,6 +8,7 @@
|
|||
- (Feature) SilentRotation High plan
|
||||
- (Improvement) Update arangosync-client package for new API capabilities and better HTTP handling
|
||||
- (Maintenance) Fix generated license dates
|
||||
- (Improvement) Reduce CI on Commit Travis runs
|
||||
|
||||
## [1.2.24](https://github.com/arangodb/kube-arangodb/tree/1.2.24) (2023-01-25)
|
||||
- (Bugfix) Fix deployment creation on ARM64
|
||||
|
|
9
Makefile
9
Makefile
|
@ -493,16 +493,19 @@ tidy:
|
|||
deps-reload: tidy init
|
||||
|
||||
.PHONY: init
|
||||
init: tools update-generated $(BIN) vendor
|
||||
init: vendor tools update-generated $(BIN)
|
||||
|
||||
.PHONY: tools
|
||||
tools: update-vendor
|
||||
.PHONY: tools-min
|
||||
tools-min: update-vendor
|
||||
@echo ">> Fetching golangci-lint linter"
|
||||
@GOBIN=$(GOPATH)/bin go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.1
|
||||
@echo ">> Fetching goimports"
|
||||
@GOBIN=$(GOPATH)/bin go install golang.org/x/tools/cmd/goimports@0bb7e5c47b1a31f85d4f173edc878a8e049764a5
|
||||
@echo ">> Fetching license check"
|
||||
@GOBIN=$(GOPATH)/bin go install github.com/google/addlicense@6d92264d717064f28b32464f0f9693a5b4ef0239
|
||||
|
||||
.PHONY: tools
|
||||
tools: tools-min
|
||||
@echo ">> Fetching gci"
|
||||
@GOBIN=$(GOPATH)/bin go install github.com/daixiang0/gci@v0.3.0
|
||||
@echo ">> Downloading protobuf compiler..."
|
||||
|
|
Loading…
Reference in a new issue