-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove private module dependencies (#277)
- Loading branch information
Showing
6 changed files
with
1 addition
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,10 +15,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
timeout-minutes: 6 | ||
steps: | ||
- name: Configure git for private modules | ||
env: | ||
TOKEN: ${{ secrets.TOKEN }} | ||
run: git config --global url."https://${TOKEN}:[email protected]".insteadOf "https://github.com" | ||
- uses: actions/checkout@v2 | ||
- uses: technote-space/get-diff-action@v4 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,10 +24,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, 'skip-sims')" | ||
steps: | ||
- name: Configure git for private modules | ||
env: | ||
TOKEN: ${{ secrets.TOKEN }} | ||
run: git config --global url."https://${TOKEN}:[email protected]".insteadOf "https://github.com" | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -56,10 +52,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: [build, install-runsim] | ||
steps: | ||
- name: Configure git for private modules | ||
env: | ||
TOKEN: ${{ secrets.TOKEN }} | ||
run: git config --global url."https://${TOKEN}:[email protected]".insteadOf "https://github.com" | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -86,10 +78,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: [build, install-runsim] | ||
steps: | ||
- name: Configure git for private modules | ||
env: | ||
TOKEN: ${{ secrets.TOKEN }} | ||
run: git config --global url."https://${TOKEN}:[email protected]".insteadOf "https://github.com" | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,10 +40,6 @@ jobs: | |
matrix: | ||
go-arch: ["amd64", "arm", "arm64"] | ||
steps: | ||
- name: Configure git for private modules | ||
env: | ||
TOKEN: ${{ secrets.TOKEN }} | ||
run: git config --global url."https://${TOKEN}:[email protected]".insteadOf "https://github.com" | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -62,10 +58,6 @@ jobs: | |
# test-cosmovisor: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Configure git for private modules | ||
# env: | ||
# TOKEN: ${{ secrets.TOKEN }} | ||
# run: git config --global url."https://${TOKEN}:[email protected]".insteadOf "https://github.com" | ||
# - uses: actions/checkout@v2 | ||
# - uses: actions/[email protected] | ||
# with: | ||
|
@@ -88,10 +80,6 @@ jobs: | |
split-test-files: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Configure git for private modules | ||
env: | ||
TOKEN: ${{ secrets.TOKEN }} | ||
run: git config --global url."https://${TOKEN}:[email protected]".insteadOf "https://github.com" | ||
- uses: actions/checkout@v2 | ||
- name: Create a file with all the pkgs | ||
run: go list ./... > pkgs.txt | ||
|
@@ -123,10 +111,6 @@ jobs: | |
matrix: | ||
part: ["00", "01", "02", "03"] | ||
steps: | ||
- name: Configure git for private modules | ||
env: | ||
TOKEN: ${{ secrets.TOKEN }} | ||
run: git config --global url."https://${TOKEN}:[email protected]".insteadOf "https://github.com" | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -204,10 +188,6 @@ jobs: | |
matrix: | ||
part: ["00", "01", "02", "03"] | ||
steps: | ||
- name: Configure git for private modules | ||
env: | ||
TOKEN: ${{ secrets.TOKEN }} | ||
run: git config --global url."https://${TOKEN}:[email protected]".insteadOf "https://github.com" | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -274,10 +254,6 @@ jobs: | |
# runs-on: ubuntu-latest | ||
# timeout-minutes: 10 | ||
# steps: | ||
# - name: Configure git for private modules | ||
# env: | ||
# TOKEN: ${{ secrets.TOKEN }} | ||
# run: git config --global url."https://${TOKEN}:[email protected]".insteadOf "https://github.com" | ||
# - uses: actions/checkout@v2 | ||
# - uses: actions/[email protected] | ||
# with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,9 +23,6 @@ WORKDIR /go/src/github.com/line/lfb-sdk | |
COPY . . | ||
|
||
# install simapp, remove packages | ||
# TODO ebony: fix module download error in docker | ||
RUN go env -w GOPRIVATE=github.com/line/* | ||
RUN git config --global url."https://$GITHUB_TOKEN:[email protected]/".insteadOf "https://github.com/" | ||
RUN make build-linux | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,6 @@ set -eo pipefail | |
|
||
# TODO ebony | ||
apk add --no-cache git | ||
go env -w GOPRIVATE=github.com/line/* | ||
git config --global url."https://${GITHUB_TOKEN}:[email protected]/".insteadOf "https://github.com/" | ||
|
||
protoc_gen_gocosmos() { | ||
if ! grep "github.com/gogo/protobuf => github.com/regen-network/protobuf" go.mod &>/dev/null ; then | ||
|