Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
burrow
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hang Yu
burrow
Commits
3ff4f332
Unverified
Commit
3ff4f332
authored
6 years ago
by
Silas Davis
Browse files
Options
Downloads
Patches
Plain Diff
Add dockerfile for circle ci with npm
Signed-off-by:
Silas Davis
<
silas@monax.io
>
parent
a74728d2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.circleci/Dockerfile
+16
-0
16 additions, 0 deletions
.circleci/Dockerfile
.circleci/config.yml
+3
-4
3 additions, 4 deletions
.circleci/config.yml
with
19 additions
and
4 deletions
.circleci/Dockerfile
0 → 100644
+
16
−
0
View file @
3ff4f332
FROM
golang:1.10.1-alpine3.7
MAINTAINER
Monax <support@monax.io>
ENV
DOCKER_VERSION "17.12.1-ce"
# This is the image used by the Circle CI config in this directory pushed to quay.io/monax/bosmarmot:ci
# docker build -t quay.io/monax/burrow:ci -f ./.circleci/Dockerfile .
RUN
apk add
--update
--no-cache
nodejs netcat-openbsd git openssh-client make bash gcc g++ jq curl
# get docker client
RUN
curl
-L
-o
/tmp/docker-
$DOCKER_VERSION
.tgz https://download.docker.com/linux/static/stable/x86_64/docker-
$DOCKER_VERSION
.tgz
\
&&
tar
-xz
-C
/tmp
-f
/tmp/docker-
$DOCKER_VERSION
.tgz
\
&&
mv
/tmp/docker/docker /usr/bin
\
&&
rm
-rf
/tmp/docker-
$DOCKER_VERSION
/tmp/docker
RUN
go get github.com/jstemmer/go-junit-report
RUN
go get
-u
github.com/golang/dep/cmd/dep
RUN
npm
install
-g
mocha
RUN
npm
install
-g
mocha-circleci-reporter
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.circleci/config.yml
+
3
−
4
View file @
3ff4f332
...
...
@@ -4,14 +4,14 @@
defaults
:
&defaults
working_directory
:
/go/src/github.com/hyperledger/burrow
docker
:
-
image
:
circleci/golang:1.10.1
-
image
:
quay.io/monax/burrow:ci
tag_filters
:
&tags_filters
tags
:
only
:
/^v[0-9]+\.[0-9]+\.[0-9]+$/
setup_docker
:
&setup_docker
version
:
17.
06.1
-ce
version
:
17.
11.0
-ce
# Start of CircleCI 2.0 config
version
:
2
...
...
@@ -28,7 +28,6 @@ jobs:
<<
:
*defaults
steps
:
-
checkout
-
run
:
sudo apt-get install libgmp3-dev
-
run
:
make test_integration
test_integration_bosmarmot
:
...
...
@@ -51,7 +50,7 @@ jobs:
-
setup_remote_docker
:
<<
:
*setup_docker
# build docker image and tag the docker image(s) depending on branch/tag
-
run
:
make
build_
docker_
d
b
-
run
:
make docker_b
uild
-
run
:
docker save quay.io/monax/db > db-images.tar
-
persist_to_workspace
:
root
:
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment