Skip to content

Conversation

jimyag
Copy link
Contributor

@jimyag jimyag commented Jul 16, 2024

see https://github.com/jimyag/fileserver

make docker-dev
CGO_ENABLED=0 go build -v -trimpath -ldflags "-X 'github.com/qiniu/reviewbot/internal/version.version=v0.12.0-4-gfaafa52'" -o ./reviewbot .
github.com/qiniu/reviewbot
docker builder build -t aslan-spock-register.qiniu.io/qa/reviewbot:v0.12.0-4-gfaafa52  .
[+] Building 1.2s (12/12) FINISHED                                                                                                                            docker:default
 => [internal] load build definition from Dockerfile                                                                                                                    0.0s
 => => transferring dockerfile: 1.17kB                                                                                                                                  0.0s
 => [internal] load metadata for docker.io/library/golang:alpine                                                                                                        0.0s
 => [internal] load .dockerignore                                                                                                                                       0.0s
 => => transferring context: 2B                                                                                                                                         0.0s
 => [1/8] FROM docker.io/library/golang:alpine                                                                                                                          0.0s
 => [internal] load build context                                                                                                                                       0.1s
 => => transferring context: 20.37MB                                                                                                                                    0.1s
 => CACHED [2/8] RUN set -eux      apk update &&     apk --no-cache add ca-certificates luacheck cppcheck shellcheck git openssh yarn libpcap-dev curl build-base &&    0.0s
 => CACHED [3/8] RUN cppcheck --version     && shellcheck --version     && luacheck --version     && git --version     && ssh -V     && yarn --version     && curl --v  0.0s
 => [4/8] COPY reviewbot /reviewbot                                                                                                                                     0.1s
 => [5/8] RUN mkdir -p /root/.ssh && chown -R root /root/.ssh/ &&  chgrp -R root /root/.ssh/     && git config --global url."git@github.com:".insteadOf https://github  0.3s
 => [6/8] COPY deploy/config /root/.ssh/config                                                                                                                          0.2s
 => [7/8] COPY deploy/github-known-hosts /github_known_hosts                                                                                                            0.1s
 => exporting to image                                                                                                                                                  0.2s
 => => exporting layers                                                                                                                                                 0.2s
 => => writing image sha256:d95c11559ccb39a3e81911055a4f8506ce0ae3bcb0d3e76596602373bc098b74                                                                            0.0s
 => => naming to aslan-spock-register.qiniu.io/qa/reviewbot:v0.12.0-4-gfaafa52 

Copy link

netlify bot commented Jul 16, 2024

Deploy Preview for reviewbot-x canceled.

Name Link
🔨 Latest commit faafa52
🔍 Latest deploy log https://app.netlify.com/sites/reviewbot-x/deploys/669728f21a078100082109be

Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 35.64%. Comparing base (4f45784) to head (faafa52).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #247   +/-   ##
=======================================
  Coverage   35.64%   35.64%           
=======================================
  Files          19       19           
  Lines        1327     1327           
=======================================
  Hits          473      473           
  Misses        814      814           
  Partials       40       40           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

use: buildx
build_flag_templates:
- "--pull"
- "--label=io.artifacthub.package.readme-url=https://raw.githubusercontent.com/qiniu/reviewbot/master/README.md"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jimyag
Copy link
Contributor Author

jimyag commented Jul 16, 2024

cc @CarlJi #161 (comment)

@jimyag jimyag requested a review from CarlJi July 17, 2024 02:16
@CarlJi CarlJi merged commit af48f24 into qiniu:master Jul 17, 2024
6 checks passed
@jimyag jimyag deleted the goreleaser branch July 17, 2024 03:31
never112 pushed a commit to never112/reviewbot that referenced this pull request Jul 30, 2024
* build: publishing binary and container with goreleaser

* build: compile before make

* build: add go lint dependencies
wwcchh0123 pushed a commit to wwcchh0123/reviewbot that referenced this pull request Nov 13, 2024
* build: publishing binary and container with goreleaser

* build: compile before make

* build: add go lint dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants