mirror of https://github.com/linkerd/linkerd2.git
Remove no longer needed GITCOOKIE_SH in CI (#4881)
Removed usage of `GITCOOKIE_SH`, which was a script stored in a secret to authenticate requests against googlesource.com, to avoid hitting rate limits when pulling go dependencies from that source. Now that we use go modules, deps are pulled from http://proxy.golang.org/ and this is no longer needed.
This commit is contained in:
parent
c25f0a3af5
commit
ac2bfb387b
|
@ -100,11 +100,7 @@ jobs:
|
|||
name: testing-${{ env.TAG }}-${{ github.run_id }}
|
||||
num_nodes: 2
|
||||
- name: Run integration tests
|
||||
env:
|
||||
GITCOOKIE_SH: ${{ secrets.GITCOOKIE_SH }}
|
||||
run: |
|
||||
echo "$GITCOOKIE_SH" | bash
|
||||
bin/tests --skip-kind-create "$CMD"
|
||||
run: bin/tests --skip-kind-create "$CMD"
|
||||
- name: CNI tests
|
||||
run: |
|
||||
export TAG="$($CMD version --client --short)"
|
||||
|
|
|
@ -183,11 +183,7 @@ jobs:
|
|||
name: testing-${{ steps.install_cli.outputs.tag }}-${{ github.run_id }}
|
||||
num_nodes: 2
|
||||
- name: Run integration tests
|
||||
env:
|
||||
GITCOOKIE_SH: ${{ secrets.GITCOOKIE_SH }}
|
||||
run: |
|
||||
echo "$GITCOOKIE_SH" | bash
|
||||
bin/tests --skip-kind-create "$CMD"
|
||||
run: bin/tests --skip-kind-create "$CMD"
|
||||
- name: CNI tests
|
||||
run: |
|
||||
export TAG="$($CMD version --client --short)"
|
||||
|
|
|
@ -18,11 +18,7 @@ jobs:
|
|||
# actions/checkout@v2
|
||||
uses: actions/checkout@722adc6
|
||||
- name: Go lint
|
||||
env:
|
||||
GITCOOKIE_SH: ${{ secrets.GITCOOKIE_SH }}
|
||||
run: |
|
||||
echo "$GITCOOKIE_SH" | bash
|
||||
bin/lint --verbose
|
||||
run: bin/lint --verbose
|
||||
go_format:
|
||||
name: Go format
|
||||
runs-on: ubuntu-18.04
|
||||
|
@ -33,11 +29,7 @@ jobs:
|
|||
# actions/checkout@v2
|
||||
uses: actions/checkout@722adc6
|
||||
- name: Format
|
||||
env:
|
||||
GITCOOKIE_SH: ${{ secrets.GITCOOKIE_SH }}
|
||||
run: |
|
||||
echo "$GITCOOKIE_SH" | bash
|
||||
bin/fmt
|
||||
run: bin/fmt
|
||||
shellcheck:
|
||||
name: shellcheck
|
||||
runs-on: ubuntu-18.04
|
||||
|
|
|
@ -18,10 +18,7 @@ jobs:
|
|||
# actions/checkout@v2
|
||||
uses: actions/checkout@722adc6
|
||||
- name: Go unit tests
|
||||
env:
|
||||
GITCOOKIE_SH: ${{ secrets.GITCOOKIE_SH }}
|
||||
run: |
|
||||
echo "$GITCOOKIE_SH" | bash
|
||||
go get gotest.tools/gotestsum@v0.4.2
|
||||
# TODO: validate bin/protoc-go.sh does not dirty the repo
|
||||
gotestsum -- -cover -race -v -mod=readonly ./...
|
||||
|
|
Loading…
Reference in New Issue