Merge branch 'master' of github.com:znetstar/tor-router

This commit is contained in:
Zachary Boyd 2018-08-15 21:40:54 -04:00
commit 607b74d294
4 changed files with 13 additions and 5 deletions

View file

@ -1,8 +1,8 @@
.git
node_modules
Dockerfile
yarn.lock
npm-debug.log
docker-compose.yml
.env
README.md
README.md
Jenkinsfile

1
.gitignore vendored
View file

@ -1,4 +1,3 @@
node_modules
yarn.lock
npm-debug.log
.env

View file

@ -1,4 +1,4 @@
node_modules
yarn.lock
npm-debug.log
.env
.env
Jenkinsfile

9
cloudbuild.yaml Normal file
View file

@ -0,0 +1,9 @@
steps:
- name: 'gcr.io/cloud-builders/docker'
args: [ 'build', '-t', 'gcr.io/znetstar-net/tor-router', '.' ]
- name: 'gcr.io/znetstar-net/tor-router'
entrypoint: '/app/node_modules/.bin/mocha'
args: [ '--exit', '/app/test/test.js' ]
- name: 'gcr.io/cloud-builders/docker'
args: [ 'push', 'gcr.io/znetstar-net/tor-router' ]
images: ['gcr.io/znetstar-net/tor-router']