Skip to content

Commit

Permalink
Merge pull request #62 from medtune/dev-0.1.2
Browse files Browse the repository at this point in the history
[WIP] v0.1.3 - Demos rework
  • Loading branch information
a-hilaly authored Sep 3, 2018
2 parents dbc6bd8 + 4ec2914 commit 8b1699b
Show file tree
Hide file tree
Showing 194 changed files with 5,519 additions and 1,439 deletions.
51 changes: 16 additions & 35 deletions .circleci/config.yml
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
27 changes: 27 additions & 0 deletions .codecov.yml
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
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ci config

.circleci/
deploy/
deploy/
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ main
# Medtune bin
medtune-beta

# local config
config.local.yml
# dev config
dev.config.yml

# dev dockerfile
local.Dockerfile
Expand All @@ -20,11 +20,16 @@ local.Dockerfile
.dev/
templates-gen/

# demos artefacts
*cam_mn_v2.png

# Generated views
generated-views/

# Generate config
gen.config.yml

# excel files
*.xlsx
*.xlsx

reveal.js-3.7.0/
58 changes: 57 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,65 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

(See dev branch)

## 0.1.3 - WIP

General:

## 0.1.2 - WIP

## Changed

General:

Build:

CICD:

Hack:

Front:

Application:

## Added



## 0.1.1 - 2018-08-13

### Added
General:
- Bump v0.1.1

Build:
- add ldflag `prod`: compile only version & run-server commands

Command:
- Added new command `gen-config`: generate an empty configuration file
- run-server now verify version compatibility (pkg, config) before runing

Hack:
- Script for linting code
- Script for formating code
- `xlsx2pg` is excel to postgres command line (it is not general, just adapted to our use case)
- Dependencies installation script
- Commented diferent packages in the project

### Changed

Libraries:
- `Tensorflow serving` servers client moved to github.com/medtune/capsul
- beta-platform uses capsul client to interact with tf servers
- gocv isn't used yet in CICD services (capsul handles the tf protos compilation)

CICD:
- Circle CI now docker images
- Push images (still need some sort of ctrl)


## 0.1.0 - 2018-08-01

Release 0.1.0 base on 0.0.4
Release 0.1.0 based on 0.0.4

## 0.0.4 - 2018-07-30

Expand Down
18 changes: 0 additions & 18 deletions Dockerfile

This file was deleted.

Loading

0 comments on commit 8b1699b

Please sign in to comment.