507 Commits

Author SHA1 Message Date
Mend Renovate
7fd309807a Update actions/checkout action to v7
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-06-19 09:25:29 +00:00
Sebastiaan van Stijn
9bf5235eb2 Merge pull request #52869 from renovate-bot/renovate/docker-github-builder-1.x
chore(deps): update docker/github-builder action to v1.12.0
2026-06-15 15:44:14 +02:00
Mend Renovate
459ae6439c chore(deps): update crazy-max/.github action to v1.10.1
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-06-15 09:58:35 +00:00
Paweł Gronowski
8cd9baf14f gha/labeler: Label libnetwork changes as networking
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-15 10:47:52 +02:00
Mend Renovate
e49df7250f chore(deps): update docker/github-builder action to v1.12.0
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-06-14 16:37:11 +00:00
Takumi Akasaka
7e8d2d1c13 gha: Set timeout-minutes on build-dind and labeler jobs
These were the only two jobs running directly via `runs-on:` that did
not have a `timeout-minutes` guardrail. Add 120 minutes as a starting
point to prevent runaway jobs, matching the existing convention used
elsewhere in the workflows. Tuning each job's timeout to its usual
runtime is left as a follow-up, as suggested in the issue.

Signed-off-by: Takumi Akasaka <takumiakasaka1231@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-06-12 16:10:56 +02:00
Paweł Gronowski
17ccff865e gha: Avoid cancelling non-PR CI runs
The concurrency groups currently cancel older runs for push, tag,
scheduled, and manually dispatched events.

On maintained refs this canhide a regression when a later run starts
before the earlier validation finishes.

Keep cancellation for stale pull request runs only, while allowing
non-PR validation to complete.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-12 14:57:03 +02:00
Paweł Gronowski
3407385a86 Revert "gha/ci: Store slim test-results-* artifacts"
This reverts commit 79f5ddc271.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-12 12:23:55 +02:00
Paweł Gronowski
79b55da537 gha/ci: Simplify test job name
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-11 17:30:43 +02:00
Paweł Gronowski
0a3aa0bc0c Merge pull request #52732 from vvoland/gha-refactor-test
gha/test: Extract mode selection to the caller
2026-06-11 17:21:16 +02:00
Paweł Gronowski
ada941fe1c Merge pull request #52826 from thaJeztah/skip_daemon_logs
gha: windows: skip "Daemon event logs" if starting daemon was skipped
2026-06-11 13:30:20 +02:00
Sebastiaan van Stijn
a6ca4babd2 gha: windows: skip "Daemon event logs" if starting daemon was skipped
This step would fail if the daemon was never started ("Starting test daemon"),
or failed to start;

    Run Get-WinEvent -ea SilentlyContinue `
    out-file: D:\a\_temp\2b911acb-4e0e-4684-bf63-606f0da5f7c6.ps1:2
    Line |
       2 |  Get-WinEvent -ea SilentlyContinue `
         |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | Could not find a part of the path 'D:\a\moby\moby\go\src\github.com\docker\docker\bundles\daemon.log'.
    Error: Process completed with exit code 1.

- Update the step to skip if we never attempted to start the daemon
- Make sure the output directory is created: even if we failed to start
  the daemon (and thus tests weren't run), the startup itself could
  potentially contain information that helps debugging the reason for
  the daemon starting.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-06-11 09:48:55 +02:00
Sebastiaan van Stijn
15acfdfc71 gha: windows: skip "Stop OpenTelemetry Collector" if it wasn't started
If setup failed or was skipped, this produced an error;

    Run (Stop-Service -DisplayName "OpenTelemetry Collector" -PassThru).WaitForStatus('Stopped', (New-TimeSpan -Seconds 30))
    Stop-Service: D:\a\_temp\f0230cca-e5e4-4a0b-9fe2-0d0a6a5bc60e.ps1:2
    Line |
       2 |  (Stop-Service -DisplayName "OpenTelemetry Collector" -PassThru).WaitF …
         |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | Cannot find any service with display name 'OpenTelemetry Collector'.
    Error: Process completed with exit code 1.

Skip this step if we skipped "Set up OpenTelemetry Collector", and ignore situations
where the service could not be found for other reasons.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-06-11 09:32:48 +02:00
Mend Renovate
af2a89457c Update actions/checkout action to v6.0.3
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-06-10 13:23:23 +00:00
Paweł Gronowski
f5ea52aa17 gha/validate-pr: Reject GitHub references in commit messages
GitHub issue and PR references in commit messages become part of
persistent history and can create unintended cross-references.

Check commit subjects and bodies for shorthand references such as
<hash>123, moby/moby<hash>123 and GitHub issue or pull-request URLs.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-10 13:22:08 +02:00
Mend Renovate
64bf02544e Update codecov/codecov-action action to v6.0.2
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-06-09 17:25:14 +00:00
Sebastiaan van Stijn
ba2d83f518 Merge pull request #52788 from renovate-bot/renovate/crazy-max-.github-1.x
Update crazy-max/.github action to v1.10.0
2026-06-09 13:43:05 +02:00
Sebastiaan van Stijn
e0f2f6a538 Merge pull request #52766 from renovate-bot/renovate/github-codeql-action-4.x
Update github/codeql-action action to v4.36.2
2026-06-08 21:50:23 +02:00
Sebastiaan van Stijn
1f37d71db9 Merge pull request #52789 from renovate-bot/renovate/docker-github-builder-1.x
Update docker/github-builder action to v1.11.0
2026-06-08 21:48:24 +02:00
Paweł Gronowski
956d277296 Merge pull request #52777 from renovate-bot/renovate/docker-setup-qemu-action-4.x
Update docker/setup-qemu-action action to v4.1.0
2026-06-08 20:33:51 +02:00
Mend Renovate
524ba36615 Update docker/github-builder action to v1.11.0
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-06-08 15:55:30 +00:00
Mend Renovate
b1e30aad75 Update crazy-max/.github action to v1.10.0
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-06-08 15:55:26 +00:00
Paweł Gronowski
03d415dce2 Merge pull request #52770 from renovate-bot/renovate/actions-checkout-6.x
Update actions/checkout action to v6.0.3
2026-06-08 17:43:13 +02:00
Mend Renovate
1720e7ba96 Update github/codeql-action action to v4.36.2
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-06-07 16:38:44 +00:00
Mend Renovate
92c1daf09f Update docker/setup-qemu-action action to v4.1.0
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-06-06 01:02:03 +00:00
Mend Renovate
f4a6c40d86 Update actions/checkout action to v6.0.3
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-06-05 16:26:21 +00:00
Mend Renovate
5baba460d6 Update docker/github-builder action to v1.10.0
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-06-05 15:51:18 +00:00
Paweł Gronowski
dbf090a5fa gha/test: Extract mode selection to the caller
The integration matrix now starts from the default runner row and lets
the caller provide extra modes.

This keeps native arm64 on the single default mode while amd64 retains
expanded coverage.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-05 16:09:39 +02:00
Mend Renovate
03f9336d50 Update docker/setup-buildx-action action to v4.1.0
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-06-05 11:50:53 +00:00
Sebastiaan van Stijn
74ebd0696f Merge pull request #52719 from vvoland/gha-arm64
Consolidate native arm64 CI into existing workflows
2026-06-05 13:38:42 +02:00
Sebastiaan van Stijn
0e0367ffa0 Merge pull request #41559 from thaJeztah/Jenkinsfile_DockerPluginSuite
ci: enable DockerPluginSuite (integration-cli)
2026-06-04 01:58:12 +02:00
Paweł Gronowski
5a0187ba97 gha/ci: Previous required check compatibility
Add a small compatibility job named `build (binary)` so existing branch
protection rules continue to work.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-03 18:39:59 +02:00
Paweł Gronowski
e93e6e3956 Add aggregate CI success check for branch protection
Combining the arm64 builds into the existing build matrix changed the
GitHub check name from `build (binary)` to `build (<runner>,
<target>)`, so the previous required `build (binary)` status is no
longer produced.

Add a final CI job with a stable display name that depends on all
previous steps.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-03 18:39:59 +02:00
Paweł Gronowski
90ac018b2e gha/test: Run arm64 integration only with snapshotter
Avoid running graphdriver coverage on native arm64.

Containerd snapshotter is the default now.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-03 18:39:59 +02:00
Paweł Gronowski
9b3a9a56a6 Consolidate native arm64 CI into existing workflows
Run native arm64 coverage through the same CI and test workflow matrices
as amd64 to avoid a separate workflow.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-03 18:39:58 +02:00
Paweł Gronowski
285b47192d Merge pull request #52744 from crazy-max/fix-empty-test-summary
ci: skip test summaries when reports are missing
2026-06-03 18:39:40 +02:00
Paweł Gronowski
c3967c40c0 update to go1.26.4
This release include 3 security fixes following the security policy:

- mime: quadratic complexity in WordDecoder.DecodeHeader

    Decoding a maliciously-crafted MIME header containing many invalid
    encoded-words could consume excessive CPU.
    The MIME decoder now better handles this case.

    Thanks to p4p3r (https://hackerone.com/p4p3r_hak) for reporting this issue.

    This is CVE-2026-42504 and Go issue https://go.dev/issue/79217.

- net/textproto: arbitrary input are included in errors without any escaping

    When returning errors, functions in the net/textproto package would
    include its input as part of the error, without any escaping. Note that
    said input is often controlled by external parties when using this
    package naturally. For example, a net/http client uses ReadMIMEHeader
    when parsing the headers it receive from a server.

    As a result, an attacker could inject arbitrary content into the error.
    Practically, this can result in an attacker injecting misleading
    content, terminal control bytes, etc. into a victim's output or logs.

    This is CVE-2026-42507 and Go issue https://go.dev/issue/79346

- crypto/x509: split candidate hostname only once

    (*x509.Certificate).VerifyHostname previously called matchHostnames in a loop
    over all DNS Subject Alternative Name (SAN) entries. This caused
    strings.Split(host, ".") to execute repeatedly on the same input hostname.

    With a large DNS SAN list, verification costs scaled quadratically based on the
    number of SAN entries multiplied by the hostname's label count. Because
    x509.Verify validates hostnames before building the certificate chain, this
    overhead occurred even for untrusted certificates.

    Thanks to Jakub Ciolek (https://ciolek.dev) for reporting this issue.

    This is CVE-2026-27145 and https://go.dev/issue/79694.

View the release notes for more information:
https://go.dev/doc/devel/release#go1.26.4

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-03 17:13:02 +02:00
CrazyMax
f3756d1500 ci: skip test summaries when reports are missing
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-06-01 15:05:16 +02:00
Sebastiaan van Stijn
8151a55a77 Merge pull request #52493 from vvoland/fix-flaky-windows-dockerinfo
gha/windows: Diagnose and recover from stopped Docker service
2026-05-29 13:01:58 +02:00
Sebastiaan van Stijn
ea113b68f8 Merge pull request #52689 from renovate-bot/renovate/github-codeql-action-4.x
chore(deps): update github/codeql-action action to v4.36.0
2026-05-27 23:14:42 +02:00
Paweł Gronowski
4c670ed4da github: Improve Pull Request template
Minimize sections and add some explanations.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-05-26 15:47:42 +02:00
Paweł Gronowski
56f28965b1 Merge pull request #52678 from thompson-shaun/add-issue-types
project: add issue types for bugs and features, remove status/0-triage auto-label
2026-05-25 12:24:41 +02:00
Paweł Gronowski
f82846d702 renovate: Add release-age cooldown
Delay regular dependency updates until releases are at least 3 days old,
using strict internal checks so Renovate waits before creating branches
or PRs.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-05-22 17:30:11 +02:00
Mend Renovate
db84483b7e chore(deps): update github/codeql-action action to v4.36.0
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-05-22 15:04:35 +00:00
Sebastiaan van Stijn
bf68a478dd Merge pull request #52670 from renovate-bot/renovate/docker-github-builder-1.x
chore(deps): update docker/github-builder action to v1.9.0
2026-05-22 02:24:01 +02:00
Shaun Thompson
b7f738a9cb project: add issue types for bugs and features, remove status-triage auto-label
Signed-off-by: Shaun Thompson <30006198+thompson-shaun@users.noreply.github.com>
2026-05-21 16:36:34 -04:00
Mend Renovate
8c0420eac0 chore(deps): update docker/bake-action action to v7.2.0
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-05-21 14:41:26 +00:00
Mend Renovate
fd39b7c206 chore(deps): update docker/github-builder action to v1.9.0
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-05-20 18:38:03 +00:00
Sebastiaan van Stijn
4a0b26df3c Merge pull request #52634 from renovate-bot/renovate/github-codeql-action-4.x
chore(deps): update github/codeql-action action to v4.35.5
2026-05-19 20:13:40 +02:00
Mend Renovate
8e35bde599 chore(deps): update codecov/codecov-action action to v6.0.1
Signed-off-by: Mend Renovate <bot@renovateapp.com>
2026-05-18 20:54:48 +00:00