Skip to content

Commit

Permalink
Use Buildkite and Docker for CI (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGrandon authored Nov 12, 2017
1 parent 2f06db9 commit 3bab967
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 22 deletions.
17 changes: 17 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
steps:
- name: ":docker: :package:"
plugins:
docker-compose#v1.5.2:
build: probot-app-pr-title
image-repository: 296822479253.dkr.ecr.us-east-2.amazonaws.com/fusionjs
- wait
- name: ":eslint:"
command: "yarn lint"
plugins:
docker-compose#v1.5.2:
run: probot-app-pr-title
- name: ":jest:"
command: "yarn jest"
plugins:
docker-compose#v1.5.2:
run: probot-app-pr-title
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:8.9.0

WORKDIR /probot-app-pr-title

COPY package.json yarn.lock /probot-app-pr-title/

RUN yarn
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ npm start

See [docs/deploy.md](docs/deploy.md) if you would like to run your own instance of this app.

[build-badge]: https://travis-ci.org/uber-web/probot-app-pr-title.svg?branch=master
[build-href]: https://travis-ci.org/uber-web/probot-app-pr-title
[build-badge]: https://badge.buildkite.com/dafda46de3acff0f75fbf6f4111d8c0cf885700b3c0ef6c6ba.svg?branch=master
[build-href]: https://buildkite.com/uberopensource/probot-app-pr-title
[deps-badge]: https://david-dm.org/uber-web/probot-app-pr-title.svg
[deps-href]: https://david-dm.org/uber-web/probot-app-pr-title
[npm-badge]: https://badge.fury.io/js/probot-app-pr-title.svg
Expand Down
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: '2'
services:
probot-app-pr-title:
build: .
volumes:
- .:/probot-app-pr-title
- /probot-app-pr-title/node_modules/
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"scripts": {
"start": "probot run ./index.js",
"test": "npm run lint && jest",
"jest": "jest",
"lint": "eslint .",
"fix": "eslint . --fix"
},
Expand Down

0 comments on commit 3bab967

Please sign in to comment.