forked from coinbase/mesh-bitcoin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from HorizenOfficial/cr/dockerfile_and_cleanup
Cr/dockerfile and cleanup
- Loading branch information
Showing
31 changed files
with
341 additions
and
289 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,3 +1,8 @@ | ||
rosetta-bitcoin | ||
zen-data | ||
cli-data | ||
cli-data | ||
Dockerfile* | ||
*.sh | ||
!entrypoint.sh | ||
*.md | ||
ci/ |
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,69 @@ | ||
os: linux | ||
dist: bionic | ||
language: go | ||
go: | ||
- "1.15.3" | ||
services: | ||
- docker | ||
addons: | ||
apt: | ||
packages: | ||
- pigz | ||
|
||
env: | ||
global: | ||
- GO111MODULE=on | ||
- ALLOW_FAIL=false | ||
|
||
# TODO remove || true | ||
install: make deps || true | ||
|
||
# TODO fix failures | ||
jobs: | ||
allow_failures: | ||
env: | ||
- ALLOW_FAIL=true | ||
include: | ||
- stage: Tests | ||
script: make test | ||
- stage: Tests | ||
env: | ||
- ALLOW_FAIL=true | ||
script: | ||
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0 | ||
- make lint | ||
- stage: Tests | ||
env: | ||
- ALLOW_FAIL=true | ||
script: make check-license | ||
- stage: Tests | ||
env: | ||
- ALLOW_FAIL=true | ||
script: make check-format | ||
- stage: Tests | ||
env: | ||
- ALLOW_FAIL=true | ||
script: make coverage | ||
- stage: Tests | ||
env: | ||
- ALLOW_FAIL=true | ||
script: make salus | ||
- stage: Build | ||
script: | ||
- source ci/setup_env.sh | ||
- if [ ! -z "${version}" ]; then make build-release; else make build-local; fi | ||
|
||
deploy: | ||
edge: true | ||
provider: releases | ||
draft: false | ||
overwrite: true | ||
token: "${GITHUB_TOKEN}" | ||
release_notes: "Release ${version}" | ||
file_glob: false | ||
file: | ||
- "./rosetta-zen-${version}.tar.gz" | ||
cleanup: false | ||
on: | ||
tags: true | ||
condition: '! -z "${version}"' |
Oops, something went wrong.