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

Maintenance release for 2022 #594

Open
wants to merge 47 commits into
base: master
Choose a base branch
from

Conversation

teutat3s
Copy link
Member

  • passes make build lint integration

I know this is a big looking PR and I'd like to gather feedback whether upstream is interested in any of the changes.
If interested, I could also break this up into into several smaller ones, if that is preferred.

Feature changes include
Changelog
Incorporated several pull requests, adding one feature and fixing one issue:

Other notably bigger changes:

  • moved project to go modules
  • removed unnecessary glide dependency

Lots of smaller changes, mainly maintenance related:

  • bump minimum go version to 1.17
  • bump go dependencies and fixes for prometheus upstream API changes
  • bump consul version to 1.11.4
  • linting: use staticcheck instead of deprecated golint
  • apply staticcheck lint changes
  • make scripts work on NixOS
  • some gofmt

Summaries:
Changes since last upstream release 3.8.0
3.8.0...greenbaum:3.8.4
Changes since last forked release 3.8.3
greenbaum/containerpilot@3.8.3...greenbaum:3.8.4

frederikbosch and others added 30 commits October 24, 2019 16:43
tests are failing because ps is missing from the node base Docker image

fix telemetry test looking for wrong value

Update run.sh

add output to sensor.sh for testing

cat files to see what is being tested

-putmetric in test_telemetry run.sh...

because sensor.sh isn't working

change metric name in -putmetric test

put grep back into test_telemetry/run.sh
this type assertion to a variable (switch intv :=
intv.(type)) could eliminate type assertions in
switch cases
@teutat3s
Copy link
Member Author

A successful CI run can be inspected here by the interested reader
https://drone.greenbaum.cloud/greenbaum.cloud/containerpilot/40

@geek geek self-assigned this Apr 25, 2022
@geek geek added this to the v4.0.0 milestone Apr 25, 2022
@geek geek removed their assignment Jul 18, 2022
teutat3s and others added 6 commits October 25, 2022 12:34
Use go version 1.19 as base image

Bump consul version to 1.13.3

Update go.mod dependencies
TritonDataCenter#592
TritonDataCenter#593
All credits and thanks to Luc Willems

Co-authored-by: Luc Willems <luc.willems@t-m-m.be>
Multiple: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16,
the same functionality is now provided by package io or package os, and
those implementations should be preferred in new code. See the specific
function documentation for details.  (SA1019)

discovery/consul_test.go:163:11: unnecessary use of fmt.Sprintf (S1039)
find . -name '*' -type f -exec sed -i -e 's/joyent/tritondatacenter/g' -- {} +
@danmcd
Copy link

danmcd commented Nov 4, 2022

I'm sorry for not having looked at this. There's a lot here. I've added myself and two others as reviewers. I see there are test results above, which may help us in making the decision to merge.

I'm thinking it should be a series of smaller squashable-to-one-commit PRs, however, as that's how we normally roll (squish one PR into one commit).

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.

None yet

5 participants