#dynolocker

erik
erikalmost 5 years ago
archived the channel
cflowe
cflowealmost 5 years ago
@cflowe has joined the channel
Rizky Ramadhan
Rizky Ramadhanover 5 years ago
@Rizky Ramadhan has joined the channel
william
williamover 5 years ago
@william has joined the channel
Karbust
Karbustover 5 years ago
@Karbust has joined the channel
Mohammed Yahya
Mohammed Yahyaalmost 6 years ago
@Mohammed Yahya has joined the channel
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
Adding @U010XGY9B46 bot
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 6 years ago
@UUB28NLDS help keep tabs! 😉
Tertius Stander
Tertius Standeralmost 7 years ago
@Tertius Stander has joined the channel
erik
erikover 7 years ago
richwine
richwineover 7 years ago
@richwine has joined the channel
joshmyers
joshmyersover 7 years ago
huh, I like this Variant 😄
joshmyers
joshmyersover 7 years ago
Yeah, I was going to try and do more with it and actually have it do sane things with process and signals etc but never got around to it
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
(And already use it for terraform locking)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
But yea, I get your point. For our purposes, AWS is an acceptable requirement.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Haha well, kinda depends on what “outside” means ;-)
joshmyers
joshmyersover 7 years ago
well, def won’t 🙂
joshmyers
joshmyersover 7 years ago
dynolocker might not work well outside of AWS
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
That might not work well if running outside of k8s
joshmyers
joshmyersover 7 years ago
Yeah it was based off etcd
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
That one requires etcd, no?
joshmyers
joshmyersover 7 years ago
locksmithctl by coreOS may also be interesting
joshmyers
joshmyersover 7 years ago
it was a hacky tool whipped up due to a race condition when bootstrapping Vault nodes (a few years back now)
joshmyers
joshmyersover 7 years ago
Sure, PRs always welcome
joshmyers
joshmyersover 7 years ago
Morning 👋
mumoshu
mumoshuover 7 years ago
not yet, but i’m seriously considering to move to codefresh for anything related to github flow
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
are you using codefresh with terraform now?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
i think for terraform it's scarier
mumoshu
mumoshuover 7 years ago(edited)
but i do have encountered the same situation as erik’s in my terraform pipeline powered by github flow(the latest one, apply/deploy before merging for final testing)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
first release then was blocked by second release completing
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
(happened to me yesterday... and we have wait: true, so second release was rolling out destroying pods from first release)
mumoshu
mumoshuover 7 years ago
probably it is unlikely to happen when you run the pipeline on a new commit to e.g. master
erik
erikover 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
that's (2) very strong use-cases for locking
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
we should really be locking a helm release before performing a helm deployment
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
and we end up doing concurrent helm deployments of the same app
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
also, i've had the problem we're we merge 2 PRs too close to each other
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
(e.g. like in atlantis)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
for example, if you're terraforming, you want to lock a project to a pull request
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
basically, you need to lock something which could be used across pipelines or even within the same pipeline
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
see the snippet above
Michal Matyjek
Michal Matyjekover 7 years ago
so the use case is...?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
then we can also distribute through cloudposse/packages
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
also wire it up with a codefresh pipeline to build binary releases
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
yea, let's breath some life into it
mumoshu
mumoshuover 7 years ago
i definitely like a command written in golang 🙂 am eager to submit a pr to dynolocker if that makes sense
mumoshu
mumoshuover 7 years ago
ah i remembered that i had created a very similar command myself 3 years ago, but in ruby
https://github.com/crowdworks/joumae-ruby#cli
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
I was also sharing dynolocking with @dustinvb from codefresh
Michal Matyjek
Michal Matyjekover 7 years ago
I don't remember