Skip to content

Commit a6fc199

Browse files
authored
Merge pull request #251 from alexander-ding/enh/migrate-v2
Remove v1 integration tests
2 parents df276c8 + 8aae804 commit a6fc199

File tree

238 files changed

+26
-47932
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

238 files changed

+26
-47932
lines changed

.github/workflows/windows.yml

-34
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- name: Build
1818
run: |
1919
go build -v -a -o ./bin/csi-proxy.exe ./cmd/csi-proxy
20-
go build -v -a -o ./bin/csi-proxy-api-gen.exe ./cmd/csi-proxy-api-gen
2120
- name: Run Windows Integration Tests
2221
run: |
2322
# start the CSI Proxy before running tests on windows
@@ -46,36 +45,3 @@ jobs:
4645
run: |
4746
make all
4847
go test -v -race ./pkg/...
49-
50-
bump_version_test:
51-
strategy:
52-
matrix:
53-
go: ['1.16']
54-
platform: [ubuntu-latest]
55-
runs-on: ${{ matrix.platform }}
56-
steps:
57-
- name: Install Go
58-
uses: actions/setup-go@v2
59-
with:
60-
go-version: ${{ matrix.go }}
61-
- name: Install Tools
62-
run: |
63-
echo "${HOME}/.local/bin" >> $GITHUB_PATH
64-
echo "/home/runner/work/csi-proxy/csi-proxy/go/bin" >> $GITHUB_PATH
65-
PB_REL="https://github.com/protocolbuffers/protobuf/releases"
66-
curl -LO $PB_REL/download/v3.15.8/protoc-3.15.8-linux-x86_64.zip
67-
unzip protoc-3.15.8-linux-x86_64.zip -d $HOME/.local
68-
- name: Checkout code
69-
uses: actions/checkout@v2
70-
with:
71-
fetch-depth: 1
72-
path: go/src/github.com/kubernetes-csi/csi-proxy
73-
- name: Run bump version script
74-
env:
75-
GOPATH: /home/runner/work/csi-proxy/csi-proxy/go
76-
GOBIN: /home/runner/work/csi-proxy/csi-proxy/go/bin
77-
run: |
78-
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
79-
protoc --version
80-
cd /home/runner/work/csi-proxy/csi-proxy/go/src/github.com/kubernetes-csi/csi-proxy
81-
API_GROUP=filesystem OLD_API_VERSION=v1beta2 NEW_API_VERSION=v99 scripts/bump-version.sh

0 commit comments

Comments
 (0)