-
Notifications
You must be signed in to change notification settings - Fork 34
use go version 1.24 #226
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
base: main
Are you sure you want to change the base?
use go version 1.24 #226
Conversation
tonglil
left a comment
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.
Thanks @jfairchild !
| webhook: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
| webhook-type: incoming-webhook |
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 current CI is failing with this.
I'm not aware of the updated syntax, but we can give this a try.
| find ${gcloud_sdk_bin_dir} -type f -name ${extra_kubectl_glob} -exec basename {} \; | | ||
| cut -d '.' -f 2,3 | | ||
| sort -g |
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.
Does this still work?
| rev = "[unknown]" | ||
| } | ||
|
|
||
| fmt.Printf("Drone GKE Plugin built from %s\n", rev) |
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.
If I recall, for these messages to render properly in Drone, the newlines are necessary.
| log("Parsing Project ID from credentials") | ||
| project = getProjectFromToken(token) | ||
| if project == "" { | ||
| return fmt.Errorf("Missing required param: project") |
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.
And same with capitalizing the error message - it's not idiomatic go, but it's used as output in the logs.
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.
There's valid changes in here that I'll extract out, but will revert the commented on changes.
If this is a change to the core functionality, did you make a corresponding PR to drone-eks?
Did you update the tests?
Did you update the docs?