#gitops - May 2019

gitopsArchived
44 messages

Discuss continuous delivery of infrastructure
Archive: https://archive.sweetops.com/gitops/

btai
btaiover 7 years ago
@Erik Osterman (Cloud Posse) do you have a trigger based off of a release or just a tag in codefresh?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
release only
btai
btaiover 7 years ago
thats nice
btai
btaiover 7 years ago
i cant seem to find that in circle
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
i guess tag will work well enough
btai
btaiover 7 years ago
like the webhook will fire off from github, but circle doesnt listen for that
btai
btaiover 7 years ago
yeah im using tag, which circle does listen to
btai
btaiover 7 years ago
but obviously would have liked it to be release instead 😛
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
(codefresh even listens for github comments)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
"ok to deploy"
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
😃
btai
btaiover 7 years ago
im going to work with the free version of codefresh on my own time so i can make a pitch to move
btai
btaiover 7 years ago
do you find your team going through alot of builds though?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
codefresh is moving to a new model based on concurrent steps
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
that'll make it a lot easier
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
unlimited builds
btai
btaiover 7 years ago
pricing will not be per build?
btai
btaiover 7 years ago
ooh
btai
btaiover 7 years ago
that’d be nice not to have to worry about optimizing the types of builds youre making
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
yea, the realized the pricing model before was prohibitive/restrictive
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
when in fact, you want people to use it as much as possible
btai
btaiover 7 years ago
yeah
btai
btaiover 7 years ago
do you know what their new pricing model will look like?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
jump into #codefresh and inquire about it
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
someone will reach out to you
btai
btaiover 7 years ago
thanks
btai
btaiover 7 years ago
@Erik Osterman (Cloud Posse) are you doing release/tag permission restrictions in github? those dont seem available
btai
btaiover 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
unfortunately, github doesn't support that. there are a few workarounds.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Option 1. Codefresh will soon be adding permissions around "approval" steps; (right now anyone can approve). You can wait for this.
Option 2. Embed the deployment permissions into the deploy pipeline by looking at the code committer. This can run as just a separate step in the pipeline.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Option 2 is my pref
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
we don't have an example of this right now
btai
btaiover 7 years ago
yeah
btai
btaiover 7 years ago
thats what im going to do in circle
btai
btaiover 7 years ago
unfortunately its hardcoded into the code
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
i recommend just checking github team membership
btai
btaiover 7 years ago
thats not provided out of the box by circle, are you hitting the gh api to grab that?
btai
btaiover 7 years ago
i only get the username of whoever triggered the build 😕
btai
btaiover 7 years ago
yeah i will just hit the GH api
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
yea, you'll need to hit the github API
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
but I would create a new cli tool that simple does this one thing
btai
btaiover 7 years ago
yeah that’s what I am planning on doing
btai
btaiover 7 years ago
python + argparse 🙂