-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from medtune/dev-0.1.2
[WIP] v0.1.3 - Demos rework
- Loading branch information
Showing
194 changed files
with
5,519 additions
and
1,439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,32 @@ | ||
version: 2 | ||
jobs: | ||
#go-latest | ||
build-bin: | ||
machine: | ||
docker_layer_caching: true | ||
build: | ||
machine: true | ||
steps: | ||
- checkout | ||
- run: | ||
name: build capsul image | ||
command: docker build -t medtune/beta-platform:go-1.10-linux-v0.2.0-build . | ||
|
||
- run: | ||
name: login docker engine | ||
command: docker login -u $DOCKER_USER -p $DOCKER_PASS | ||
|
||
- run: | ||
name: push base build image to registry | ||
command: docker push medtune/beta-platform:go-1.10-linux-v0.2.0-build | ||
|
||
name: build base/build/prod images | ||
command: make build-all | ||
|
||
build-prod: | ||
machine: | ||
docker_layer_caching: true | ||
steps: | ||
- checkout | ||
- run: | ||
name: build capsul image | ||
command: docker build -t medtune/beta-platform:go-1.10-linux-v0.2.0 -f Dockerfile.prod . | ||
- run: | ||
name: test | ||
command: make tests | ||
|
||
- run: | ||
name: login docker engine | ||
command: docker login -u $DOCKER_USER -p $DOCKER_PASS | ||
- run: | ||
name: test | ||
command: make test-cov | ||
|
||
- run: | ||
name: login to docker hub | ||
command: docker login -u $DOCKER_USER -p $DOCKER_PASS | ||
|
||
- run: | ||
name: push image to registry | ||
command: docker push medtune/beta-platform:go-1.10-linux-v0.2.0 | ||
|
||
command: make push-image | ||
|
||
workflows: | ||
version: 2 | ||
build: | ||
jobs: | ||
- build-bin | ||
|
||
- build-prod: | ||
requires: | ||
- build-bin | ||
|
||
|
||
|
||
- build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
codecov: | ||
notify: | ||
require_ci_to_pass: yes | ||
bot: medtunebot | ||
|
||
coverage: | ||
precision: 2 | ||
round: down | ||
range: "0...100" | ||
|
||
status: | ||
project: yes | ||
patch: yes | ||
changes: no | ||
|
||
parsers: | ||
gcov: | ||
branch_detection: | ||
conditional: yes | ||
loop: yes | ||
method: no | ||
macro: no | ||
|
||
comment: | ||
layout: "reach, diff, flags, files" | ||
behavior: default | ||
require_changes: no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ci config | ||
|
||
.circleci/ | ||
deploy/ | ||
deploy/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.