-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 'master'
Merge develop to master See merge request bitkub-blockchain/bitkub-chain/bkc!12
- Loading branch information
Showing
3 changed files
with
128 additions
and
30 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
variables: | ||
GO_INSTALL_VERSION: go1.17.1 | ||
|
||
stages: | ||
- build | ||
|
||
build-job: | ||
image: ubuntu:18.04 | ||
stage: build | ||
rules: | ||
- if: $CI_COMMIT_TAG | ||
before_script: | ||
- apt update && apt install curl git make gcc musl-dev python3 python3-pip -y | ||
- pip3 install awscli | ||
- aws --version | ||
|
||
script: | ||
- curl -L https://golang.org/dl/$GO_INSTALL_VERSION.linux-amd64.tar.gz | tar -C /usr/local -xvz | ||
- export PATH=$PATH:/usr/local/go/bin | ||
- make geth | ||
- tar -cvzf /tmp/geth.tar.gz build/bin/geth | ||
- ls /tmp | ||
- aws s3 ls | ||
- aws s3 cp /tmp/geth.tar.gz s3://$AWS_S3_BUCKET/$CI_COMMIT_TAG/geth-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m).tar.gz | ||
|
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