added REST API and simple unit test - and compose starter, still WIP for integ test

pull/3/head
josebarn 8 years ago
parent 5e945440d0
commit 65577057ec

@ -15,7 +15,8 @@ pipeline:
tags: [ 1.0.0, 1.0, latest ]
dockerfile: ./docker/Dockerfile
secrets: [ DOCKER_USERNAME, DOCKER_PASSWORD ]
debug: true
# debug: true
matrix:
IMAGE:
- golang:latest

@ -1 +1 @@
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgYnVpbGQ6CiAgICBpbWFnZTogJHtJTUFHRX0KICAgIGNvbW1hbmRzOgogICAgICAtIGdvIGJ1aWxkCgogIHVuaXQtdGVzdDoKICAgIGltYWdlOiAke0lNQUdFfQogICAgY29tbWFuZHM6CiAgICAgIC0gZ28gdGVzdCAuL2FwaQoKICBwdWJsaXNoOgogICAgaW1hZ2U6IHBsdWdpbnMvZG9ja2VyCiAgICByZXBvOiBqb3NlYmFybi9oZWxsby13b3JsZAogICAgdGFnczogWyAxLjAuMCwgMS4wLCBsYXRlc3QgXQogICAgZG9ja2VyZmlsZTogLi9kb2NrZXIvRG9ja2VyZmlsZQogICAgc2VjcmV0czogWyBET0NLRVJfVVNFUk5BTUUsIERPQ0tFUl9QQVNTV09SRCBdCiAgICBkZWJ1ZzogdHJ1ZQptYXRyaXg6CiAgSU1BR0U6CiAgICAtIGdvbGFuZzpsYXRlc3QK.dy70SxiB_c_N-Kj700dWVCrysix9FKcLM2mrZ2_7hWc
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgYnVpbGQ6CiAgICBpbWFnZTogJHtJTUFHRX0KICAgIGNvbW1hbmRzOgogICAgICAtIGdvIGJ1aWxkCgogIHVuaXQtdGVzdDoKICAgIGltYWdlOiAke0lNQUdFfQogICAgY29tbWFuZHM6CiAgICAgIC0gZ28gdGVzdCAuL2FwaQoKICBwdWJsaXNoOgogICAgaW1hZ2U6IHBsdWdpbnMvZG9ja2VyCiAgICByZXBvOiBqb3NlYmFybi9oZWxsby13b3JsZAogICAgdGFnczogWyAxLjAuMCwgMS4wLCBsYXRlc3QgXQogICAgZG9ja2VyZmlsZTogLi9kb2NrZXIvRG9ja2VyZmlsZQogICAgc2VjcmV0czogWyBET0NLRVJfVVNFUk5BTUUsIERPQ0tFUl9QQVNTV09SRCBdCiMgICAgZGVidWc6IHRydWUKCm1hdHJpeDoKICBJTUFHRToKICAgIC0gZ29sYW5nOmxhdGVzdAo.RcZK8spWTs9bg735GpZ6POc5AzFNjWNKhhm-LQGWdRU

@ -2,15 +2,6 @@ version: '2'
services:
redis:
container_name: "redis"
image: "redis"
ports:
- "6379:6379"
networks:
- testnet
restart: unless-stopped
app:
container_name: "hello"
depends_on:
@ -22,8 +13,6 @@ services:
- "3000:3000"
networks:
- testnet
restart: unless-stopped
networks:
testnet:

Loading…
Cancel
Save