File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed
Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 2929 id : build
3030 env :
3131 GO_VERSION : ${{ matrix.GO_VERSION }}
32- run : ./ tools/make-assets.sh
32+ run : docker run -v $PWD:/boulder -e GO_VERSION=$GO_VERSION -e COMMIT_ID="$(git rev-parse --short=8 HEAD)" ubuntu:20.04 bash -c 'apt update && apt -y install gnupg2 curl sudo git gcc && cd /boulder/ && ./ tools/make-assets.sh'
3333
3434 - name : Compute checksums
3535 id : checksums
Original file line number Diff line number Diff line change 2727 id : build
2828 env :
2929 GO_VERSION : ${{ matrix.GO_VERSION }}
30- run : ./ tools/make-assets.sh
30+ run : docker run -v $PWD:/boulder -e GO_VERSION=$GO_VERSION -e COMMIT_ID="$(git rev-parse --short=8 HEAD)" ubuntu:20.04 bash -c 'apt update && apt -y install gnupg2 curl sudo git gcc && cd /boulder/ && ./ tools/make-assets.sh'
3131
3232 - name : Compute checksums
3333 id : checksums
Original file line number Diff line number Diff line change @@ -24,22 +24,16 @@ export PATH=/usr/local/go/bin:$PATH
2424#
2525# Build
2626#
27+ LDFLAGS=" -X \" github.com/letsencrypt/boulder/core.BuildID=${COMMIT_ID} \" -X \" github.com/letsencrypt/boulder/core.BuildTime=$( date -u) \" -X \" github.com/letsencrypt/boulder/core.BuildHost=$( whoami) @$( hostname) \" "
28+ GOBIN=$PWD /bin/ GO111MODULE=on go install -mod=vendor -buildvcs=false -ldflags " ${LDFLAGS} " ./...
2729
2830# Set $VERSION to be a simulacrum of what is set in other build environments.
2931VERSION=" ${GO_VERSION} .$( date +%s) "
3032
31- # Build Boulder.
32- make
33-
34- # Produce a .deb and .tar.gz in $PWD without using `make` or `fpm`. The
35- # resulting files will be named `boulder-newpkg-*`. Eventually this code
36- # will be used to produce the regular `boulder-*` packages.
3733BOULDER=" ${PWD} "
3834BUILD=" $( mktemp -d) "
3935TARGET=" ${BUILD} /opt/boulder"
4036
41- COMMIT_ID=" $( git rev-parse --short=8 HEAD) "
42-
4337mkdir -p " ${TARGET} /bin"
4438for NAME in admin boulder ceremony ct-test-srv pardot-test-srv chall-test-srv ; do
4539 cp -a " bin/${NAME} " " ${TARGET} /bin/"
You can’t perform that action at this time.
0 commit comments