Skip to content

Commit 6fd215b

Browse files
authored
Merge branch 'containers:main' into fix/rootless-podman-in-podman-on-wsl
2 parents 67371a5 + ac3a9f8 commit 6fd215b

File tree

1,642 files changed

+61186
-60315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,642 files changed

+61186
-60315
lines changed

.cirrus.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ env:
2424
####
2525
#### Cache-image names to test with (double-quotes around names are critical)
2626
####
27-
FEDORA_NAME: "fedora-42"
27+
FEDORA_NAME: "fedora-43"
2828
FEDORA_AARCH64_NAME: "${FEDORA_NAME}-aarch64"
29-
PRIOR_FEDORA_NAME: "fedora-41"
29+
PRIOR_FEDORA_NAME: "fedora-42"
3030
RAWHIDE_NAME: "rawhide"
31-
DEBIAN_NAME: "debian-13"
31+
DEBIAN_NAME: "debian-14"
3232

3333
# Image identifiers
34-
IMAGE_SUFFIX: "c20250910t092246z-f42f41d13"
34+
IMAGE_SUFFIX: "c20251211t152018z-f43f42d14"
3535

3636
# EC2 images
3737
FEDORA_AMI: "fedora-aws-${IMAGE_SUFFIX}"
@@ -271,7 +271,7 @@ alt_build_task:
271271

272272
# Confirm building the remote client, natively on a Mac OS-X VM.
273273
osx_alt_build_task:
274-
name: "Build for MacOS amd64+arm64" # N/B: Referenced by URLencoded strings elsewhere
274+
name: "Build for MacOS arm64" # N/B: Referenced by URLencoded strings elsewhere
275275
alias: osx_alt_build
276276
# Docs: ./contrib/cirrus/CIModes.md
277277
only_if: *no_rhel_release # RHEL never releases podman mac installer binary
@@ -300,12 +300,8 @@ osx_alt_build_task:
300300
- make podman-mac-helper
301301
build_pkginstaller_script:
302302
- pushd contrib/pkginstaller
303-
- make ARCH=amd64 NO_CODESIGN=1 pkginstaller
304303
- make ARCH=aarch64 NO_CODESIGN=1 pkginstaller
305-
- make ARCH=universal NO_CODESIGN=1 pkginstaller
306304
- popd
307-
build_amd64_script:
308-
- make podman-remote-release-darwin_amd64.zip
309305
# Building arm podman needs to be the last thing built in this task
310306
# The Mac tests rely this Podman binary to run, and the CI Mac is ARM-based
311307
build_arm64_script:
@@ -801,7 +797,7 @@ podman_machine_aarch64_task:
801797
depends_on: *build
802798
ec2_instance:
803799
<<: *standard_build_ec2_aarch64
804-
timeout_in: 30m
800+
timeout_in: 40m
805801
env:
806802
TEST_FLAVOR: "machine-linux"
807803
TEST_BUILD_TAGS: ""
@@ -899,7 +895,7 @@ podman_machine_mac_task:
899895
clone_script: # artifacts from osx_alt_build_task
900896
- mkdir -p $CIRRUS_WORKING_DIR
901897
- cd $CIRRUS_WORKING_DIR
902-
- $ARTCURL/Build%20for%20MacOS%20amd64%2Barm64/repo/repo.tar.zst
898+
- $ARTCURL/Build%20for%20MacOS%20arm64/repo/repo.tar.zst
903899
- tar -xf repo.tar.zst
904900
# This host is/was shared with potentially many other CI tasks.
905901
# The previous task may have been canceled or aborted.
@@ -1090,7 +1086,9 @@ upgrade_test_task:
10901086
depends_on: *build
10911087
matrix:
10921088
- env:
1093-
PODMAN_UPGRADE_FROM: v4.8.0
1089+
PODMAN_UPGRADE_FROM: v5.3.1
1090+
- env:
1091+
PODMAN_UPGRADE_FROM: v5.6.2
10941092
gce_instance: *standardvm
10951093
env:
10961094
TEST_FLAVOR: upgrade_test
@@ -1126,7 +1124,7 @@ meta_task:
11261124
${WINDOWS_AMI}
11271125
BUILDID: "${CIRRUS_BUILD_ID}"
11281126
REPOREF: "${CIRRUS_REPO_NAME}"
1129-
AWSINI: ENCRYPTED[21b2db557171b11eb5abdbccae593f48c9caeba86dfcc4d4ff109edee9b4656ab6720a110dadfcd51e88cc59a71cc7af]
1127+
AWSINI: ENCRYPTED[a53616be7cafc6883ac619a26eda7bbd9f20ae99a9f9fe99137b18d780bde89bed7941e791e64d6e6b4d971011ca1d28]
11301128
GCPJSON: ENCRYPTED[3a198350077849c8df14b723c0f4c9fece9ebe6408d35982e7adf2105a33f8e0e166ed3ed614875a0887e1af2b8775f4]
11311129
GCPNAME: ENCRYPTED[2f9738ef295a706f66a13891b40e8eaa92a89e0e87faf8bed66c41eca72bf76cfd190a6f2d0e8444c631fdf15ed32ef6]
11321130
GCPPROJECT: libpod-218412
@@ -1212,7 +1210,7 @@ artifacts_task:
12121210
osx_binaries_script:
12131211
- mkdir -p /tmp/osx
12141212
- cd /tmp/osx
1215-
- $ARTCURL/Build%20for%20MacOS%20amd64%2Barm64/repo/repo.tar.zst
1213+
- $ARTCURL/Build%20for%20MacOS%20arm64/repo/repo.tar.zst
12161214
- tar -xf repo.tar.zst
12171215
- mv ./podman-remote-release-darwin_*.zip $CIRRUS_WORKING_DIR/
12181216
- mv ./contrib/pkginstaller/out/podman-installer-macos-*.pkg $CIRRUS_WORKING_DIR/

.github/renovate.json5

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,5 @@ and/or use the pre-commit hook: https://github.com/renovatebot/pre-commit-hooks
4242
"schedule": "before 11am",
4343
"matchPackageNames": ["github.com/containers{/,}**"]
4444
},
45-
46-
// Updates for c/common, c/image, and c/storage should be grouped into a single PR.
47-
{
48-
"matchCategories": ["golang"],
49-
"groupName": "common, image, and storage deps",
50-
"schedule": "before 11am",
51-
"matchPackageNames": [
52-
"/^github.com/containers/common/",
53-
"/^github.com/containers/image/",
54-
"/^github.com/containers/storage/"
55-
]
56-
}
5745
],
5846
}

.github/workflows/check_cirrus_cron.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-latest
4545
steps:
4646
# This is where the scripts live
47-
- uses: actions/checkout@v5
47+
- uses: actions/checkout@v6
4848
with:
4949
repository: containers/podman
5050
ref: 'main'
@@ -61,7 +61,7 @@ jobs:
6161
- if: steps.cron.outputs.failures > 0
6262
name: Send failure notification e-mail
6363
# Ref: https://github.com/dawidd6/action-send-mail
64-
uses: dawidd6/[email protected]
64+
uses: dawidd6/action-send-mail@2cea9617b09d79a095af21254fbcb7ae95903dde # v3.12.0
6565
with:
6666
server_address: ${{secrets.ACTION_MAIL_SERVER}}
6767
server_port: 465
@@ -73,14 +73,14 @@ jobs:
7373
body: file://./artifacts/email_body.txt
7474

7575
- if: always()
76-
uses: actions/upload-artifact@v4
76+
uses: actions/upload-artifact@v5
7777
with:
7878
name: ${{ github.job }}_artifacts
7979
path: artifacts/*
8080

8181
- if: failure()
8282
name: Send error notification e-mail
83-
uses: dawidd6/[email protected]
83+
uses: dawidd6/action-send-mail@2cea9617b09d79a095af21254fbcb7ae95903dde # v3.12.0
8484
with:
8585
server_address: ${{secrets.ACTION_MAIL_SERVER}}
8686
server_port: 465

.github/workflows/dev-bump.yml

Lines changed: 52 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,26 @@ on:
33
push:
44
tags:
55
- '*'
6+
7+
permissions: {}
8+
69
jobs:
710
bump:
811
name: Bump to -dev
912
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write # to create and push to a branch
15+
pull-requests: write # to read and create pull requests
1016
steps:
11-
- uses: actions/checkout@v5
17+
- uses: actions/checkout@v6
1218
with:
1319
ref: ${{ github.ref_name }}
1420
token: ${{ secrets.PODMANBOT_TOKEN }}
21+
persist-credentials: true
1522
- name: Bump
1623
id: bump
1724
run: |
18-
ref=${{ github.ref_name }}
19-
version=${ref#v}
25+
version=${GITHUB_REF_NAME#v}
2026
if [[ $version == *-rc* ]]; then
2127
devbump="${version%-*}-dev"
2228
echo "::notice:: is a rc - bumping z down to $devbump"
@@ -27,69 +33,75 @@ jobs:
2733
echo "::notice:: bumping z up to $devbump"
2834
fi
2935
30-
sed -i "s/const RawVersion = ".*"/const RawVersion = \"${devbump}\"/g" version/rawversion/version.go
36+
sed --sandbox -i -e "s/const RawVersion = \".*\"/const RawVersion = \"${devbump}\"/g" version/rawversion/version.go
3137
3238
echo "devbump=$devbump" >> $GITHUB_OUTPUT
3339
- name: Push
40+
env:
41+
DEVBUMP: ${{ steps.bump.outputs.devbump }}
3442
run: |
3543
# Make committer the user who triggered the action, either through cutting a release or manual trigger
3644
# GitHub gives everyone a noreply email associated with their account, use that email for the sign-off
37-
git config --local user.name ${{ github.actor }}
38-
git config --local user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
39-
bumpbranch="bump-${{ steps.bump.outputs.devbump }}"
45+
git config --local user.name "${GITHUB_ACTOR}"
46+
git config --local user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
47+
bumpbranch="bump-${DEVBUMP}"
4048
git checkout -b $bumpbranch
4149
git add version/rawversion/version.go
42-
git commit --signoff -m "Bump Podman to v${{ steps.bump.outputs.devbump }}"
50+
git commit --signoff -m "Bump Podman to v${DEVBUMP}"
4351
git remote add podmanbot https://github.com/podmanbot/podman
4452
git push -f podmanbot "$bumpbranch"
4553
- name: Check open PRs
4654
id: checkpr
4755
env:
56+
DEVBUMP: ${{ steps.bump.outputs.devbump }}
4857
GH_TOKEN: ${{ secrets.PODMANBOT_TOKEN }}
4958
run: |
5059
prs=$(gh pr list \
51-
--repo ${{ github.repository }} \
52-
--head bump-${{ steps.bump.outputs.devbump }} \
60+
--repo "${GITHUB_REPOSITORY}" \
61+
--head "bump-${DEVBUMP}" \
5362
--state open \
5463
--json title \
5564
--jq 'length')
5665
if ((prs > 0)); then
57-
echo "SKIPPING: PR already exists to update from ${{ github.ref_name }}."
66+
echo "SKIPPING: PR already exists to update from ${GITHUB_REF_NAME}."
5867
else
5968
echo "prexists=false" >> "$GITHUB_OUTPUT"
6069
fi
6170
- name: Open PR
6271
if: steps.checkpr.outputs.prexists == 'false'
6372
id: pr
73+
env:
74+
DEVBUMP: ${{ steps.bump.outputs.devbump }}
75+
GH_TOKEN: ${{ secrets.PODMANBOT_TOKEN }}
6476
run: |
65-
bumpbranch="bump-${{ steps.bump.outputs.devbump }}"
66-
ref=${{ github.ref_name }}
67-
base=${ref%.*}
77+
bumpbranch="bump-${DEVBUMP}"
78+
base=${GITHUB_REF_NAME%.*}
6879
body=$(printf '```release-note\nNone\n```\n')
6980
gh pr create \
70-
--title "Bump Podman to v${{ steps.bump.outputs.devbump }}" \
81+
--title "Bump Podman to v${DEVBUMP}" \
7182
--body "$body" \
7283
--head "podmanbot:$bumpbranch" \
7384
--base "$base" \
74-
--repo ${{ github.repository }}
75-
env:
76-
GH_TOKEN: ${{ secrets.PODMANBOT_TOKEN }}
85+
--repo "${GITHUB_REPOSITORY}"
7786
mainbump:
7887
name: Bump on main
7988
runs-on: ubuntu-latest
89+
permissions:
90+
contents: write # to create and push to a branch
91+
pull-requests: write # to read and create pull requests
8092
env:
8193
GH_TOKEN: ${{ github.token }}
8294
steps:
83-
- uses: actions/checkout@v5
95+
- uses: actions/checkout@v6
8496
with:
8597
ref: main
8698
token: ${{ secrets.PODMANBOT_TOKEN }}
99+
persist-credentials: true
87100
- name: Check version on main
88101
id: check
89102
run: |
90103
mainvers=`grep -P '(?<=const RawVersion = ")(\d.\d)' -o version/rawversion/version.go`
91-
ref=${{ github.ref_name }}
92-
releasevers=${ref#v}
104+
releasevers=${GITHUB_REF_NAME#v}
93105
if echo "${mainvers},${releasevers}" | tr ',' '\n' | sort -V -C
94106
then
95107
echo "bump=true" >> $GITHUB_OUTPUT
@@ -101,58 +113,61 @@ jobs:
101113
id: bump
102114
if: steps.check.outputs.bump == 'true'
103115
run: |
104-
ref=${{ github.ref_name }}
105-
releasevers=${ref#v}
116+
releasevers=${GITHUB_REF_NAME#v}
106117
107118
arr=($(echo "$releasevers" | tr . '\n'))
108119
arr[1]=$((${arr[1]}+1))
109120
arr[2]=0
110121
devbump="$(IFS=. ; echo "${arr[*]}")-dev"
111122
echo "::notice:: Bumping main to: $devbump"
112123
113-
sed -i "s/const RawVersion = \".*\"/const RawVersion = \"$devbump\"/g" version/rawversion/version.go
124+
sed --sandbox -i -e "s/const RawVersion = \".*\"/const RawVersion = \"${devbump}\"/g" version/rawversion/version.go
114125
115126
echo "devbump=$devbump" >> $GITHUB_OUTPUT
116127
- name: Push
117128
if: steps.check.outputs.bump == 'true'
129+
env:
130+
DEVBUMP: ${{ steps.bump.outputs.devbump }}
118131
run: |
119132
# Make committer the user who triggered the action, either through cutting a release or manual trigger
120-
# GitHub gisves everyone a noreply email associated with their account, use that email for the sign-off
121-
git config --local user.name ${{ github.actor }}
122-
git config --local user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
123-
bumpbranch="bump-main-${{ steps.bump.outputs.devbump }}"
133+
# GitHub gives everyone a noreply email associated with their account, use that email for the sign-off
134+
git config --local user.name "${GITHUB_ACTOR}"
135+
git config --local user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
136+
bumpbranch="bump-main-${DEVBUMP}"
124137
git checkout -b $bumpbranch
125138
git add version/rawversion/version.go
126-
git commit --signoff -m "Bump main to v${{ steps.bump.outputs.devbump }}"
139+
git commit --signoff -m "Bump main to v${DEVBUMP}"
127140
git remote add podmanbot https://github.com/podmanbot/podman
128141
git push -f podmanbot "$bumpbranch"
129142
- name: Check open PRs
130143
id: checkpr
131144
if: steps.check.outputs.bump == 'true'
132145
env:
146+
DEVBUMP: ${{ steps.bump.outputs.devbump }}
133147
GH_TOKEN: ${{ secrets.PODMANBOT_TOKEN }}
134148
run: |
135149
prs=$(gh pr list \
136-
--repo ${{ github.repository }} \
137-
--head bump-main-${{ steps.bump.outputs.devbump }} \
150+
--repo "${GITHUB_REPOSITORY}" \
151+
--head "bump-main-${DEVBUMP}" \
138152
--state open \
139153
--json title \
140154
--jq 'length')
141155
if ((prs > 0)); then
142-
echo "SKIPPING: PR already exists to update to ${{ steps.bump.outputs.devbump }}."
156+
echo "SKIPPING: PR already exists to update to ${DEVBUMP}."
143157
else
144158
echo "prexists=false" >> "$GITHUB_OUTPUT"
145159
fi
146160
- name: Open PR
147161
if: steps.check.outputs.bump == 'true' && steps.checkpr.outputs.prexists == 'false'
162+
env:
163+
DEVBUMP: ${{ steps.bump.outputs.devbump }}
164+
GH_TOKEN: ${{ secrets.PODMANBOT_TOKEN }}
148165
run: |
149-
bumpbranch="bump-main-${{ steps.bump.outputs.devbump }}"
166+
bumpbranch="bump-main-${DEVBUMP}"
150167
body=$(printf '```release-note\nNone\n```\n')
151168
gh pr create \
152-
--title "Bump main to v${{ steps.bump.outputs.devbump }}" \
169+
--title "Bump main to v${DEVBUMP}" \
153170
--body "$body" \
154171
--head "podmanbot:$bumpbranch" \
155172
--base "main" \
156-
--repo ${{ github.repository }}
157-
env:
158-
GH_TOKEN: ${{ secrets.PODMANBOT_TOKEN }}
173+
--repo "${GITHUB_REPOSITORY}"

0 commit comments

Comments
 (0)