Skip to content

Conversation

@SuperQ
Copy link
Member

@SuperQ SuperQ commented May 27, 2022

  • Update Go testing to 1.18.
  • Update Go minimum version to 1.17.
  • Update Go module format for 1.17.
  • Bump Go modules.
  • Update yaml.v3 use.

Signed-off-by: SuperQ superq@gmail.com

@SuperQ SuperQ force-pushed the superq/update_go branch 5 times, most recently from 051ced2 to 681bc8e Compare May 27, 2022 15:50
@SuperQ SuperQ requested review from metalmatze, prombot and roidelapluie and removed request for prombot May 27, 2022 15:51
Copy link
Member

@kakkoyun kakkoyun left a comment

Choose a reason for hiding this comment

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

LGTM 💯

@roidelapluie
Copy link
Member

I am against the move to yamlv3 because we can't move prometheus at this moment.

@kakkoyun
Copy link
Member

kakkoyun commented Jun 2, 2022

I am against the move to yamlv3 because we can't move prometheus at this moment.

It doesn't seem to have any API changes. I'm curious what's the reason behind it? Is there something I can check out?

@SuperQ
Copy link
Member Author

SuperQ commented Jun 2, 2022

The only major change is that "Strict" loading doesn't work as it did before.

@SuperQ SuperQ force-pushed the superq/update_go branch from 681bc8e to 58b2519 Compare June 3, 2022 08:33
@roidelapluie
Copy link
Member

Thanks, can we update minimum version of client_golang first?

@mrueg
Copy link
Contributor

mrueg commented Jun 20, 2022

@roidelapluie see: prometheus/client_golang@e38d614

@SuperQ
Copy link
Member Author

SuperQ commented Jun 21, 2022

I think we need to have a client_golang release and then I can bump the dependency here.

@kakkoyun
Copy link
Member

kakkoyun commented Aug 6, 2022

I think we need to have a client_golang release and then I can bump the dependency here.

@SuperQ client_golang released https://github.com/prometheus/client_golang/releases/tag/v1.13.0

@SuperQ SuperQ force-pushed the superq/update_go branch from 58b2519 to ca63b5a Compare August 6, 2022 12:39
@SuperQ SuperQ requested a review from kakkoyun August 6, 2022 12:41
Copy link
Member

@kakkoyun kakkoyun left a comment

Choose a reason for hiding this comment

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

Only have a question about the workflow file otherwise LGTM

uses: actions/setup-go@v2
with:
go-version: 1.17.x
go-version: 1.18.x
Copy link
Member

Choose a reason for hiding this comment

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

If I'm not mistaken, this file synced from Prometheus's main repo.

We might need to change it in there, no?

https://github.com/prometheus/prometheus/blob/main/scripts/sync_repo_files.sh

Copy link
Member Author

Choose a reason for hiding this comment

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

This is actually doing the sync from upstream, since we need some of the other updates in this PR to make it pass CI.

Copy link
Member Author

Choose a reason for hiding this comment

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

#379 was the last prombot sync, couldn't pass CI.

* Update Go testing to 1.18.
* Update Go minimum version to 1.17.
* Update Go module format for 1.17.
* Bump Go modules.

Signed-off-by: SuperQ <superq@gmail.com>
@SuperQ SuperQ force-pushed the superq/update_go branch from ca63b5a to 9d646db Compare August 7, 2022 03:11
@SuperQ SuperQ merged commit dfbc25b into main Aug 7, 2022
@SuperQ SuperQ deleted the superq/update_go branch August 7, 2022 19:51
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.

5 participants