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

renovate: update to go 1.22 #227

Merged
merged 4 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build-push/test/testbuilds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ test_cmd "Verify e2e workflow w/ additional build-args" \
2>&1"

test_cmd "Verify latest tagged image was not pushed" \
1 'reading manifest latest in quay\.io/buildah/do_not_use: manifest unknown' \
2 'reading manifest latest in quay\.io/buildah/do_not_use: manifest unknown' \
skopeo inspect docker://$TEST_FQIN:latest

test_cmd "Verify architectures can be obtained from manifest list" \
Expand Down
5 changes: 0 additions & 5 deletions common/test/testlib-platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ test_cmd "timebomb() function requires at least one argument" \
1 "must be UTC-based and of the form YYYYMMDD" \
timebomb

TZ=UTC12 \
test_cmd "timebomb() function ignores TZ envar and forces UTC" \
0 "" \
timebomb $(TZ=UTC date -d "+11 hours" +%Y%m%d)

TZ=UTC12 \
test_cmd "timebomb() function ignores TZ and compares < UTC-forced current date" \
1 "TIME BOMB EXPIRED" \
Expand Down
8 changes: 1 addition & 7 deletions renovate/defaults.json5
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ and/or use the pre-commit hook: https://github.com/renovatebot/pre-commit-hooks
// toolchain go.mod directive. This should be done to prevent
// unwanted auto-updates.
// Ref: Upstream discussion https://github.com/golang/go/issues/65847
"constraints": {"go": "1.21"},
"constraints": {"go": "1.22"},

// N/B: LAST MATCHING RULE WINS, match statems are ANDed together.
// https://docs.renovatebot.com/configuration-options/#packagerules
Expand Down Expand Up @@ -197,12 +197,6 @@ and/or use the pre-commit hook: https://github.com/renovatebot/pre-commit-hooks
"enabled": false
},

// Add CI:DOCS prefix to skip unnecessary tests for golangci updates in podman CI.
{
"matchPackageNames": ["golangci/golangci-lint"],
"commitMessagePrefix": "[CI:DOCS]"
},

/*************************************************
************ CI configuration options ************
**************************************************/
Expand Down