Skip to content

Commit

Permalink
Merge branch 'master' into ENGINE-903
Browse files Browse the repository at this point in the history
  • Loading branch information
psaintlaurent authored Jun 24, 2024
2 parents e174fe5 + 7fafd33 commit f738c98
Show file tree
Hide file tree
Showing 267 changed files with 1,888 additions and 1,739 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ body:
attributes:
value: |
Thank you for taking the time to report a bug!
If this is a security issue please report it to the [Docker Security team](mailto:[email protected]).
If this is a security issue report it to the [Docker Security team](mailto:[email protected]).
- type: textarea
id: description
attributes:
label: Description
description: Please give a clear and concise description of the bug
description: Give a clear and concise description of the bug
validations:
required: true
- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ contact_links:
about: "Read guidelines and tips about contributing to Docker."
url: "https://github.com/docker/cli/blob/master/CONTRIBUTING.md"
- name: "Security and Vulnerabilities"
about: "Please report any security issues or vulnerabilities responsibly to the Docker security team. Please do not use the public issue tracker."
about: "Report any security issues or vulnerabilities responsibly to the Docker security team. Do not use the public issue tracker."
url: "https://github.com/moby/moby/security/policy"
- name: "General Support"
about: "Get the help you need to build, share, and run your Docker applications"
Expand Down
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Please make sure you've read and understood our contributing guidelines;
Make sure you've read and understood our contributing guidelines;
https://github.com/docker/cli/blob/master/CONTRIBUTING.md
** Make sure all your commits include a signature generated with `git commit -s` **
Expand All @@ -10,7 +10,7 @@ guide https://docs.docker.com/opensource/code/
If this is a bug fix, make sure your description includes "fixes #xxxx", or
"closes #xxxx"
Please provide the following information:
Provide the following information:
-->

**- What I did**
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

jobs:
prepare:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
matrix: ${{ steps.platforms.outputs.matrix }}
steps:
Expand All @@ -37,7 +37,7 @@ jobs:
echo ${{ steps.platforms.outputs.matrix }}
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- prepare
strategy:
Expand All @@ -61,7 +61,7 @@ jobs:
uses: docker/setup-buildx-action@v3
-
name: Build
uses: docker/bake-action@v4
uses: docker/bake-action@v5
with:
targets: ${{ matrix.target }}
set: |
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
if-no-files-found: error

bin-image:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ github.event_name != 'pull_request' && github.repository == 'docker/cli' }}
steps:
-
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_CLIBIN_TOKEN }}
-
name: Build and push image
uses: docker/bake-action@v4
uses: docker/bake-action@v5
with:
files: |
./docker-bake.hcl
Expand All @@ -134,7 +134,7 @@ jobs:
*.cache-to=type=gha,scope=bin-image,mode=max
prepare-plugins:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
matrix: ${{ steps.platforms.outputs.matrix }}
steps:
Expand All @@ -152,7 +152,7 @@ jobs:
echo ${{ steps.platforms.outputs.matrix }}
plugins:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- prepare-plugins
strategy:
Expand All @@ -168,7 +168,7 @@ jobs:
uses: docker/setup-buildx-action@v3
-
name: Build
uses: docker/bake-action@v4
uses: docker/bake-action@v5
with:
targets: plugins-cross
set: |
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
e2e:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand All @@ -28,6 +28,7 @@ jobs:
- alpine
- debian
engine-version:
- 27-rc # testing
- 26.1 # latest
- 25.0 # latest - 1
- 23.0 # mirantis lts
Expand All @@ -40,8 +41,15 @@ jobs:
-
name: Update daemon.json
run: |
sudo jq '.experimental = true' < /etc/docker/daemon.json > /tmp/docker.json
sudo mv /tmp/docker.json /etc/docker/daemon.json
if [ ! -f /etc/docker/daemon.json ]; then
# ubuntu 24.04 runners no longer have a default daemon.json present
sudo mkdir -p /etc/docker/
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json
else
# but if there is one; let's patch it to keep other options that may be set.
sudo jq '.experimental = true' < /etc/docker/daemon.json > /tmp/docker.json
sudo mv /tmp/docker.json /etc/docker/daemon.json
fi
sudo cat /etc/docker/daemon.json
sudo service docker restart
docker version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
ctn:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
-
name: Checkout
Expand All @@ -26,7 +26,7 @@ jobs:
uses: docker/setup-buildx-action@v3
-
name: Test
uses: docker/bake-action@v4
uses: docker/bake-action@v5
with:
targets: test-coverage
-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
desc=$(echo "$block" | awk NF)
if [ -z "$desc" ]; then
echo "::error::Changelog section is empty. Please provide a description for the changelog."
echo "::error::Changelog section is empty. Provide a description for the changelog."
exit 1
fi
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
validate:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand All @@ -31,13 +31,13 @@ jobs:
uses: actions/checkout@v4
-
name: Run
uses: docker/bake-action@v4
uses: docker/bake-action@v5
with:
targets: ${{ matrix.target }}

# check that the generated Markdown and the checked-in files match
validate-md:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
-
name: Checkout
Expand All @@ -57,7 +57,7 @@ jobs:
fi
validate-make:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# if you want to ignore files created by your editor/tools,
# please consider a global .gitignore https://help.github.com/articles/ignoring-files
# consider a global .gitignore https://help.github.com/articles/ignoring-files
*.exe
*.exe~
*.orig
Expand Down
10 changes: 6 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ linters:

run:
timeout: 5m
skip-files:
- cli/compose/schema/bindata.go
- .*generated.*

linters-settings:
depguard:
Expand All @@ -58,7 +55,8 @@ linters-settings:
gocyclo:
min-complexity: 16
govet:
check-shadowing: true
enable:
- shadow
settings:
shadow:
strict: true
Expand Down Expand Up @@ -94,6 +92,10 @@ issues:
exclude:
- parameter .* always receives

exclude-files:
- cli/compose/schema/bindata.go
- .*generated.*

exclude-rules:
# We prefer to use an "exclude-list" so that new "default" exclusions are not
# automatically inherited. We can decide whether or not to follow upstream
Expand Down
10 changes: 10 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ Akihiro Matsushima <[email protected]> <[email protected]>
Akihiro Suda <[email protected]>
Akihiro Suda <[email protected]> <[email protected]>
Akihiro Suda <[email protected]> <[email protected]>
Alano Terblanche <[email protected]>
Alano Terblanche <[email protected]> <[email protected]>
Albin Kerouanton <[email protected]>
Albin Kerouanton <[email protected]> <[email protected]>
Albin Kerouanton <[email protected]> <[email protected]>
Aleksa Sarai <[email protected]>
Aleksa Sarai <[email protected]> <[email protected]>
Expand Down Expand Up @@ -88,6 +91,7 @@ Brian Goff <[email protected]>
Brian Goff <[email protected]> <[email protected]>
Brian Goff <[email protected]> <[email protected]>
Brian Tracy <[email protected]>
Calvin Liu <[email protected]>
Carlos de Paula <[email protected]>
Chad Faragher <[email protected]>
Chander Govindarajan <[email protected]>
Expand Down Expand Up @@ -254,6 +258,7 @@ Jessica Frazelle <[email protected]> <[email protected]>
Jessica Frazelle <[email protected]> <[email protected]>
Jessica Frazelle <[email protected]> <[email protected]>
Jessica Frazelle <[email protected]> <[email protected]>
Jim Chen <[email protected]>
Jim Galasyn <[email protected]>
Jiuyue Ma <[email protected]>
Joey Geiger <[email protected]>
Expand All @@ -269,6 +274,8 @@ John Howard <[email protected]> <[email protected]>
John Howard <[email protected]> <[email protected]>
John Howard <[email protected]> <[email protected]>
John Stephens <[email protected]> <[email protected]>
Jonathan A. Sternberg <[email protected]>
Jonathan A. Sternberg <[email protected]> <[email protected]>
Jordan Arentsen <[email protected]>
Jordan Jennings <[email protected]> <[email protected]>
Jorit Kleine-Möllhoff <[email protected]> <[email protected]>
Expand Down Expand Up @@ -444,6 +451,7 @@ Roch Feuillade <[email protected]>
Roch Feuillade <[email protected]> <[email protected]>
Roman Dudin <[email protected]> <[email protected]>
Ross Boucher <[email protected]>
Rui JingAn <[email protected]>
Runshen Zhu <[email protected]>
Ryan Stelly <[email protected]>
Sakeven Jiang <[email protected]>
Expand Down Expand Up @@ -524,6 +532,8 @@ Tim Bart <[email protected]>
Tim Bosse <[email protected]> <[email protected]>
Tim Ruffles <[email protected]> <[email protected]>
Tim Terhorst <[email protected]>
Tim Welsh <[email protected]>
Tim Welsh <[email protected]> <[email protected]>
Tim Zju <[email protected]>
Timothy Hobbs <[email protected]>
Toli Kuznets <[email protected]>
Expand Down
Loading

0 comments on commit f738c98

Please sign in to comment.