douglasduteil / angular-utility-belt

My non-lethal angular gadgets
http://douglasduteil.github.io/angular-utility-belt
MIT License
3 stars 1 forks source link

spec(deployment): the deployment system #11

Open douglasduteil opened 10 years ago

douglasduteil commented 10 years ago


Deployment system


The component deployment is another independent key feature of the system. I was making a publishing system for angular-ui. In short it was making Travis CI the publisher of all releases based on source tagging. However it's already getting old and have various problems concerning the inner template customization and, recently, the sync of the pushed gh-pages on Github for a deploy key.

So for me the way to go is making more atomic module to play with. Here is my wishlist :

--- inspred by angular-ui-publisher#publish.js

For me the best result is :

--- inspired by ui-ace#bower

What you think guys @mgcrea @revolunet

revolunet commented 10 years ago

100% agree with having a separate dist branch with tags, usable with bower. Changelog + Readme also in the src of course

Does the bump automatically increment the minor version ? Can the user force the version number (say this is a major change) ?

douglasduteil commented 10 years ago

Does the bump automatically increment the minor version ? Can the user force the version number (say this is a major change) ?

Yes it's in the "Bumping system" for me I was thinking about using https://github.com/ikari-pl/gulp-tag-version maybe

mgcrea commented 10 years ago

@douglasduteil, something like vojtajina/grunt-bump (might worth checking: gulp-bump) would be nice indeed.

BTW, @revolunet tu me parlais de mercredi soir dans ton texto pour bosser sur ngFactory, on avait prévu quelque chose (demain du coup)?!

douglasduteil commented 10 years ago

Need to be forked not ?https://github.com/boennemann/grunt-semantic-release

douglasduteil commented 10 years ago

From :http://blog.hood.ie/2014/09/semantic-releases/

mgcrea commented 10 years ago

@douglasduteil nice pick, not sure about the fork, it may be faster to just restart from scratch, there is grunt stuff all over the place. Maybe we should create an issue about changing it to be build-tool agnostic and see if the author is interested.

douglasduteil commented 10 years ago

@mgcrea Agreed. I'm just starting getting how it's works....

douglasduteil commented 10 years ago

Pleasantly surprised

My dd-deploy is working with no modification for git commiting, tagging, and pushing.

I'm making a poke to connect is to Travis CI (for release publishing). And it works ! The setting up process is still to clarify and simplify. For now, the only requirement to make it work with TravisCI is by using :

douglasduteil commented 10 years ago

S'up boys

I gat my stuff working :) check the deployor I made : https://github.com/douglasduteil/node-git-deployor

revolunet commented 10 years ago

woot, looks cool :) poke = POC ?

the deploy key is the way to go. looks like we can replace the gem install with this : https://github.com/pwmckenna/node-travis-encrypt ?

mgcrea commented 10 years ago

Congratz @douglasduteil ! I'll check that this week!

On my side, I've worked on the gulp workflow this weekend and found some really interesting modules to refactor everything: lazypipe + gulp-inject, that enables to reuse any combination of transforms, and reinject this combination during the index.{jade,html} processing, it does really simplify the whole gulp file/process. I'll retrofit this into ngFactory very soon!

douglasduteil commented 10 years ago

:+1: