Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
Add pipeline config + docker stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
victorb committed Sep 15, 2016
1 parent 0c8cbdc commit 7e646ec
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
steps:
- name: Build
command: docker build -t js-ipfs:$BUILDKITE_COMMIT .

- wait

- name: Test
command: docker run -it js-ipfs:$BUILDKITE_COMMIT --entrypoint=npm test

- wait

- name: Push
command: echo "Eh, pushing I guess?"
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM victorbjelkholm/chromium-xvfb-js:latest

# Dependency for phantomjs
RUN apt-get update && apt-get install bzip2

WORKDIR /usr/src/app

COPY package.json /usr/src/app/package.json

RUN npm install --loglevel=http

COPY . /usr/src/app

0 comments on commit 7e646ec

Please sign in to comment.