Skip to content

use local go toolchain in CI to confirm that build actually uses requ… - #13102

Merged
samuelkarp merged 1 commit into
containerd:mainfrom
SergeyKanzhelev:localtoolchaininCI
May 19, 2026
Merged

samuelkarp merged 1 commit into
containerd:mainfrom
SergeyKanzhelev:localtoolchaininCI

Conversation

@SergeyKanzhelev

Copy link
Copy Markdown
Contributor

…ested toolchain

See explanation and a test here: #13101 (comment)

If CI was made to confirm that containerd can be built with the listed set of toolchains, we need to force it

@github-project-automation github-project-automation Bot moved this to Needs Triage in Pull Request Review Mar 23, 2026
@dosubot dosubot Bot added area/toolchain Build and Release Toolchain github_actions Pull requests that update GitHub Actions code labels Mar 23, 2026
@samuelkarp samuelkarp added cherry-pick/1.7.x Change to be cherry picked to release/1.7 branch cherry-pick/2.1.x Change to be cherry picked to release/2.1 branch cherry-pick/2.2.x Change to be cherry picked to release/2.2 branch labels Mar 23, 2026
@samuelkarp

Copy link
Copy Markdown
Member

/retest

@samuelkarp
samuelkarp requested a review from dmcgowan March 26, 2026 18:40
@samuelkarp samuelkarp moved this from Needs Triage to Needs Reviewers in Pull Request Review Mar 27, 2026
@SergeyKanzhelev

Copy link
Copy Markdown
Contributor Author

rebased. this will need re-approve

@github-project-automation github-project-automation Bot moved this from Needs Reviewers to Review In Progress in Pull Request Review Apr 2, 2026
@dmcgowan
dmcgowan added this pull request to the merge queue Apr 9, 2026
@dmcgowan dmcgowan added the cherry-pick/2.0.x Change to be cherry picked to release/2.0 branch label Apr 9, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 9, 2026
@dmcgowan
dmcgowan added this pull request to the merge queue Apr 9, 2026
@dmcgowan
dmcgowan removed this pull request from the merge queue due to a manual request Apr 9, 2026
@dmcgowan

dmcgowan commented Apr 9, 2026

Copy link
Copy Markdown
Member

The 1.26.1 need to be removed from the matrix otherwise it will not pass through the merge queue now. Luckily that seems to show the local value works though. My guess is if you rebased this without removing 1.26.1, CI would also fail

@dmcgowan dmcgowan moved this from Review In Progress to Needs Update in Pull Request Review Apr 9, 2026
Copilot AI review requested due to automatic review settings April 9, 2026 19:12
@SergeyKanzhelev

Copy link
Copy Markdown
Contributor Author

rebased

@samuelkarp

Copy link
Copy Markdown
Member

@SergeyKanzhelev can you rebase this?

@SergeyKanzhelev

Copy link
Copy Markdown
Contributor Author

And it works!

+ build
go: go.mod requires go >= 1.26.3 (running go 1.26.2; GOTOOLCHAIN=local)
make: *** [Makefile:207: build] Error 1
Error: Process completed with exit code 2.

Copilot AI review requested due to automatic review settings May 18, 2026 17:16
@SergeyKanzhelev

Copy link
Copy Markdown
Contributor Author

now it cannot be cherry-picked. Do you want me to split it into two separate PRs?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@samuelkarp

Copy link
Copy Markdown
Member

Yeah, either two PRs or two commits.

@SergeyKanzhelev

Copy link
Copy Markdown
Contributor Author

Yeah, either two PRs or two commits.

#13419

Copilot AI review requested due to automatic review settings May 18, 2026 17:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/ci.yml
Comment on lines +12 to +14
env:
GOTOOLCHAIN: local

@samuelkarp

Copy link
Copy Markdown
Member

FAIL - does not have a valid DCO

CI is failing because you did not sign-off your commit. Please add the appropriate Signed-off-by line to indicate your acceptance of the Developer Certificate of Origin.

@SergeyKanzhelev
SergeyKanzhelev force-pushed the localtoolchaininCI branch 2 times, most recently from dbd03c4 to 6a80f19 Compare May 19, 2026 01:45
@SergeyKanzhelev

Copy link
Copy Markdown
Contributor Author

this is fixed now

@samuelkarp
samuelkarp added this pull request to the merge queue May 19, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 19, 2026
@samuelkarp
samuelkarp added this pull request to the merge queue May 19, 2026
Merged via the queue into containerd:main with commit ebb98be May 19, 2026
133 of 156 checks passed
@github-project-automation github-project-automation Bot moved this from Needs Update to Done in Pull Request Review May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/toolchain Build and Release Toolchain cherry-pick/1.7.x Change to be cherry picked to release/1.7 branch cherry-pick/2.0.x Change to be cherry picked to release/2.0 branch cherry-pick/2.1.x Change to be cherry picked to release/2.1 branch cherry-pick/2.2.x Change to be cherry picked to release/2.2 branch github_actions Pull requests that update GitHub Actions code size/XS

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants