Skip to content

Commit

Permalink
Use Buildkite and Docker for CI (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGrandon authored Nov 10, 2017
1 parent e282d13 commit af0c334
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 21 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-license
image-repository: 296822479253.dkr.ecr.us-east-2.amazonaws.com/fusionjs
- wait
- name: ":eslint:"
command: "npm run lint"
plugins:
docker-compose#v1.5.2:
run: probot-app-license
- name: ":jest:"
command: "npm run jest"
plugins:
docker-compose#v1.5.2:
run: probot-app-license
21 changes: 0 additions & 21 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-license

COPY package.json /probot-app-license/

RUN npm install
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# probot-app-license

[![Build status](https://badge.buildkite.com/9483868df2909bb8e9c204f37e7c89abb1dc587467e1699e1c.svg?branch=master)](https://buildkite.com/uberopensource/probot-app-license)

> a GitHub App built with [probot](https://github.com/probot/probot) that validates that the project has a LICENSE file in the top level of the source tree.
## Setup
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-license:
build: .
volumes:
- .:/probot-app-license
- /probot-app-license/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 ."
},
"dependencies": {
Expand Down

0 comments on commit af0c334

Please sign in to comment.