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

auto discover version #34

Closed
wants to merge 22 commits into from
Closed

Conversation

yogo1212
Copy link

cont #28

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]>
@yogo1212 yogo1212 force-pushed the auto_discovery_cont branch from 729cd76 to 6c2d4a5 Compare February 26, 2018 00:48
Jean-Philippe Evrard and others added 4 commits February 26, 2018 08:42
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]>
@yogo1212 yogo1212 force-pushed the auto_discovery_cont branch from 6c2d4a5 to a94ca34 Compare February 26, 2018 07:44
@yogo1212
Copy link
Author

there's more

@yogo1212 yogo1212 force-pushed the auto_discovery_cont branch from 9274407 to 5bddce8 Compare February 26, 2018 17:22
@yogo1212 yogo1212 force-pushed the auto_discovery_cont branch from 5bddce8 to eb94190 Compare February 26, 2018 17:25
@yogo1212
Copy link
Author

something about those comments in the defaults yml just makes adding hunks impossible..

@yogo1212 yogo1212 force-pushed the auto_discovery_cont branch from 1a8b179 to 18dc711 Compare February 26, 2018 20:14
@yogo1212
Copy link
Author

k - i'm done :-p

you might want to ask about splitting this PR ;-)

@yogo1212 yogo1212 force-pushed the auto_discovery_cont branch from 69c2f6d to c501a7b Compare February 26, 2018 20:58
@yogo1212
Copy link
Author

is it that bad? 😕

@yogo1212
Copy link
Author

yogo1212 commented May 2, 2018

@jlund are you still active in this repo?

@evrardjp
Copy link

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?

@evrardjp
Copy link

This series of patch can probably be reduced to 2 or 3 commits, but I generally like them. 👍 .

@yogo1212
Copy link
Author

@evrardjp i've implemented the signature check, "streamlined" vars and defaults, and slightly refactored some of the code.

Copy link

@evrardjp evrardjp left a 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:
Copy link

Choose a reason for hiding this comment

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

probably need a > there?

Copy link
Author

Choose a reason for hiding this comment

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

maybe.. where exactly? :-p

Copy link

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 :)

tasks/install_go.yml Outdated Show resolved Hide resolved
@yogo1212
Copy link
Author

yogo1212 commented Aug 1, 2018

i can squash but i'd rather wait until right before the merge.
it was surprising to see any activity at all from this repo ;-)

@evrardjp
Copy link

evrardjp commented Aug 9, 2018

@yogo1212 same. But I think it's better if we are working together than having a bazillion roles doing the same thing. :)

@evrardjp
Copy link

evrardjp commented Oct 6, 2018

thanks for the change :)

@yogo1212
Copy link
Author

yogo1212 commented Dec 27, 2018

i invite you to leave your opinion on how ansible-go should be developed in the future:
#37

@yogo1212 yogo1212 mentioned this pull request Dec 27, 2018
@yogo1212 yogo1212 closed this Apr 12, 2019
@yogo1212 yogo1212 deleted the auto_discovery_cont branch April 12, 2019 12:06
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.

2 participants