Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changelog and versions #174

Merged
merged 12 commits into from
May 31, 2018
Merged

Changelog and versions #174

merged 12 commits into from
May 31, 2018

Conversation

antho1404
Copy link
Member

@antho1404 antho1404 commented May 30, 2018

fix #166

@codecov
Copy link

codecov bot commented May 30, 2018

Codecov Report

Merging #174 into dev will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #174      +/-   ##
==========================================
+ Coverage   69.25%   69.28%   +0.02%     
==========================================
  Files          52       52              
  Lines        1070     1071       +1     
==========================================
+ Hits          741      742       +1     
  Misses        260      260              
  Partials       69       69
Impacted Files Coverage Δ
api/core/start.go 66.66% <0%> (-4.77%) ⬇️
api/service/emit_event.go 100% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 62534a4...ae43406. Read the comment docs.

@antho1404 antho1404 changed the title [WIP] - Changelog and versions Changelog and versions May 31, 2018
- checkout
- run: docker pull mesg/daemon:latest
- run: docker build -t mesg/daemon:$CIRCLE_SHA1 .
- run: docker build -t mesg/daemon:local .
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 2 docker build steps could be merge like:

docker build -t mesg/daemon:$CIRCLE_SHA1 -t mesg/daemon:local .

Source: moby/moby#15780

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually we don't really need the mesg/daemon:local

- run: docker build -t mesg/daemon:$CIRCLE_TAG .
- run: docker push mesg/daemon:$CIRCLE_TAG

"publish_docker_latest":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

publish_docker_version and publish_docker_latest could be merge into a single task, no?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the workflow with

docker build -> test -> publish tag && publish latest in parallel -> release cli

Like that we can parallelize the 2 push of the docker images

<<: *runOnMachine
steps:
- checkout
- run: docker login -u $DOCKER_USER -p $DOCKER_PASS
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not add the docker pull mesg/daemon:latest here? It's used in the task build_docker

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at this step it should be in the cache of the machine but just in case we can I it in case the cache doesn't really work

CHANGELOG.md Outdated
## [Unreleased]

#### Changed
- (#174) Update CI to build verion based on tags
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo on verion

@NicolasMahe NicolasMahe merged commit cdde57c into dev May 31, 2018
@NicolasMahe NicolasMahe deleted the 166-changelog branch May 31, 2018 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add changelog and versions
2 participants