-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor test to run with new setup (#183)
- Loading branch information
Showing
97 changed files
with
1,139 additions
and
6,507 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
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 |
---|---|---|
|
@@ -10,13 +10,9 @@ ARG git_commit | |
WORKDIR /app | ||
RUN apk update && apk add git openssh | ||
|
||
RUN echo -e "[url \"[email protected]:\"]\n\tinsteadOf = https://github.com/" >> /root/.gitconfig | ||
RUN cat /root/.gitconfig | ||
RUN mkdir /root/.ssh && echo "StrictHostKeyChecking no " > /root/.ssh/config | ||
|
||
COPY . . | ||
# use `go mod vendor` to speed up build for CI & access private deps | ||
#RUN go mod download | ||
RUN test -f go.work && rm go.work || true | ||
|
||
RUN GIT_VERSION=$version GIT_COMMIT=$git_commit BUILD_TIME=$build_time GO_GCFLAGS="all=-N -l" CGO_ENABLED=0 TARGET="/app/dist" ./scripts/build/binary kwild | ||
RUN chmod +x /app/dist/kwild-* | ||
|
||
|
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 |
---|---|---|
|
@@ -7,13 +7,9 @@ ARG git_commit | |
WORKDIR /app | ||
RUN apk update && apk add git openssh | ||
|
||
RUN echo -e "[url \"[email protected]:\"]\n\tinsteadOf = https://github.com/" >> /root/.gitconfig | ||
RUN cat /root/.gitconfig | ||
RUN mkdir /root/.ssh && echo "StrictHostKeyChecking no " > /root/.ssh/config | ||
|
||
COPY . . | ||
# use `go mod vendor` to speed up build for CI & access private deps | ||
#RUN go mod download | ||
RUN test -f go.work && rm go.work || true | ||
|
||
RUN GIT_VERSION=$version GIT_COMMIT=$git_commit BUILD_TIME=$build_time CGO_ENABLED=0 TARGET="/app/dist" ./scripts/build/binary kwild | ||
RUN chmod +x /app/dist/kwild-* | ||
|
||
|
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
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
Oops, something went wrong.