Skip to content

Commit

Permalink
Merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
workingloong committed Sep 14, 2022
2 parents 579d36a + 4f61040 commit 4e7fbbd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ repos:
entry: python ./scripts/codestyle/copyright.py
language: system
files: \.(go|py|sh)$
exclude: (operator/api/v1alpha1)
exclude: (operator/api/v1alpha1/)
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.23.0
hooks:
Expand Down
2 changes: 1 addition & 1 deletion docker/ci.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ COPY docker/scripts/install-protobuf.bash /
RUN /install-protobuf.bash && rm /install-protobuf.bash

# Install Pre-commit
RUN pip install pre-commit pytest
RUN pip install pre-commit pytest -i https://mirrors.aliyun.com/pypi/simple/
14 changes: 7 additions & 7 deletions docker/scripts/install-go.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ set -e

GO_MIRROR_URL=$1

curl --silent "$GO_MIRROR_URL"/go1.13.4.linux-amd64.tar.gz | \
curl --silent "$GO_MIRROR_URL"/go1.19.1.linux-amd64.tar.gz | \
tar -C /usr/local -xzf -

go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.io,direct

go get github.com/golang/protobuf/protoc-gen-go@v1.3.2 > /dev/null
go get golang.org/x/lint/golint > /dev/null
go get golang.org/x/tools/cmd/goyacc > /dev/null
go get golang.org/x/tools/cmd/cover > /dev/null
go get github.com/mattn/goveralls > /dev/null
go get github.com/rakyll/gotest > /dev/null
go install github.com/golang/protobuf/protoc-gen-go@latest > /dev/null
go install golang.org/x/lint/golint@latest > /dev/null
go install golang.org/x/tools/cmd/goyacc@latest > /dev/null
go install golang.org/x/tools/cmd/cover@latest > /dev/null
go install github.com/mattn/goveralls@latest > /dev/null
go install github.com/rakyll/gotest@latest > /dev/null

cp "$GOPATH"/bin/* /usr/local/bin/

0 comments on commit 4e7fbbd

Please sign in to comment.