-
Notifications
You must be signed in to change notification settings - Fork 74
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
auto discover version #34
Conversation
This commits allows deployers to override the golang url. It's useful if they have a repository with software, and want to target it immediately. Signed-off-by: Jean-Philippe Evrard <[email protected]>
729cd76
to
6c2d4a5
Compare
This will allow the upgrading of versions automatically, without the need of changes in the role. Recently, golang made public the storage bucket where the tar.gz and .sha256 files for releases are published. This commit makes use of this in an automated fashion Signed-off-by: Jean-Philippe Evrard <[email protected]>
6c2d4a5
to
a94ca34
Compare
there's more |
9274407
to
5bddce8
Compare
5bddce8
to
eb94190
Compare
something about those comments in the defaults yml just makes adding hunks impossible.. |
1a8b179
to
18dc711
Compare
k - i'm done :-p you might want to ask about splitting this PR ;-) |
69c2f6d
to
c501a7b
Compare
is it that bad? 😕 |
@jlund are you still active in this repo? |
good question @yogo1212 but I haven't seen an answer to my first PR asking for the same thing. What have you done since then? |
This series of patch can probably be reduced to 2 or 3 commits, but I generally like them. 👍 . |
@evrardjp i've implemented the signature check, "streamlined" vars and defaults, and slightly refactored some of the code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you squash all those commits into one?
checksum: "{{ go_tarball_checksum }}" | ||
- block: | ||
- name: Discover the latest version | ||
shell: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably need a > there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe.. where exactly? :-p
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the shell command is on a new line, so it makes sense to me to have >- or | at line 4. But I might be wrong and ansible might be smart there. Just an habit I'd say :)
i can squash but i'd rather wait until right before the merge. |
@yogo1212 same. But I think it's better if we are working together than having a bazillion roles doing the same thing. :) |
thanks for the change :) |
i invite you to leave your opinion on how ansible-go should be developed in the future: |
cont #28