-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
47 additions
and
47 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
cr-bot | ||
reviewbot | ||
.vscode |
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ COPY go.mod go.sum ./ | |
RUN go mod download | ||
COPY . ./ | ||
|
||
RUN CGO_ENABLED=0 GOOS=linux go build -o /cr-bot . | ||
RUN CGO_ENABLED=0 GOOS=linux go build -o /reviewbot . | ||
|
||
# install lint tools | ||
RUN GOPATH=/go go install honnef.co/go/tools/cmd/[email protected] | ||
|
@@ -31,7 +31,7 @@ ENV PATH /usr/local/go/bin:$PATH | |
|
||
WORKDIR / | ||
|
||
COPY --from=builder /cr-bot /cr-bot | ||
COPY --from=builder /reviewbot /reviewbot | ||
COPY --from=builder /go/bin/staticcheck /usr/local/bin/staticcheck | ||
|
||
# SSH config | ||
|
@@ -43,4 +43,4 @@ RUN git config --global url."[email protected]:".insteadOf https://github.com/ \ | |
|
||
EXPOSE 8888 | ||
|
||
ENTRYPOINT [ "/cr-bot" ] | ||
ENTRYPOINT [ "/reviewbot" ] |
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module github.com/cr-bot | ||
module github.com/reviewbot | ||
|
||
go 1.21.4 | ||
|
||
|
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
resources: | ||
- deploy/cr-bot.yaml | ||
- deploy/reviewbot.yaml | ||
images: | ||
- name: aslan-spock-register.qiniu.io/qa/cr-bot:latest | ||
newName: aslan-spock-register.qiniu.io/qa/cr-bot | ||
- name: aslan-spock-register.qiniu.io/qa/reviewbot:latest | ||
newName: aslan-spock-register.qiniu.io/qa/reviewbot | ||
newTag: v0.3.0 | ||
|
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