Skip to content

Commit 47ef02f

Browse files
committed
RTECO-928 - Support for docker 29
1 parent fa9a26b commit 47ef02f

File tree

4 files changed

+47
-52
lines changed

4 files changed

+47
-52
lines changed

.github/workflows/dockerTests.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,24 @@ concurrency:
1616
cancel-in-progress: true
1717
jobs:
1818
Docker-tests:
19-
name: Docker tests (${{ matrix.os.name }})
19+
name: Docker tests (${{ matrix.os.name }}, containerd-snapshotter=${{ !matrix.disable-containerd-snapshotter }})
2020
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'safe to test')
2121
strategy:
22+
fail-fast: false
2223
matrix:
2324
os:
2425
- name: ubuntu
2526
version: 24.04
27+
disable-containerd-snapshotter: [true, false]
2628
runs-on: ${{ matrix.os.name }}-${{ matrix.os.version }}
2729
steps:
2830
- name: Checkout code
2931
uses: actions/checkout@v5
3032
with:
3133
ref: ${{ github.event.pull_request.head.sha || github.ref }}
3234

33-
- name: Configure Docker 29 for Legacy Support
35+
- name: Configure Docker with legacy snapshotter
36+
if: matrix.disable-containerd-snapshotter == true
3437
run: |
3538
sudo bash -c 'cat <<EOF > /etc/docker/daemon.json
3639
{
@@ -42,6 +45,16 @@ jobs:
4245
EOF'
4346
sudo systemctl restart docker
4447
48+
- name: Configure Docker with containerd snapshotter
49+
if: matrix.disable-containerd-snapshotter == false
50+
run: |
51+
sudo bash -c 'cat <<EOF > /etc/docker/daemon.json
52+
{
53+
"insecure-registries": ["localhost:8082"]
54+
}
55+
EOF'
56+
sudo systemctl restart docker
57+
4558
- name: Setup FastCI
4659
uses: jfrog-fastci/fastci@v0
4760
with:

go.mod

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ require (
1919
github.com/jfrog/build-info-go v1.13.1-0.20260216093441-40a4dc563294
2020
github.com/jfrog/gofrog v1.7.6
2121
github.com/jfrog/jfrog-cli-application v1.0.2-0.20260216085810-1ade6c26b3df
22-
github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260303052518-917c005de223
22+
github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260303054020-f28c962350eb
2323
github.com/jfrog/jfrog-cli-core/v2 v2.60.1-0.20260218080258-3bf55ed18973
2424
github.com/jfrog/jfrog-cli-evidence v0.8.3-0.20260202100913-d9ee9476845a
2525
github.com/jfrog/jfrog-cli-platform-services v1.10.1-0.20260213131956-d1d39bf3a042
@@ -29,7 +29,7 @@ require (
2929
github.com/manifoldco/promptui v0.9.0
3030
github.com/spf13/viper v1.21.0
3131
github.com/stretchr/testify v1.11.1
32-
github.com/testcontainers/testcontainers-go v0.35.0
32+
github.com/testcontainers/testcontainers-go v0.40.0
3333
github.com/urfave/cli v1.22.17
3434
github.com/xeipuuv/gojsonschema v1.2.0
3535
golang.org/x/exp v0.0.0-20260212183809-81e46e3db34a
@@ -40,7 +40,6 @@ require (
4040
require (
4141
cloud.google.com/go/auth v0.18.1 // indirect
4242
dario.cat/mergo v1.0.2 // indirect
43-
github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 // indirect
4443
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
4544
github.com/CycloneDX/cyclonedx-go v0.10.0 // indirect
4645
github.com/Masterminds/semver/v3 v3.4.0 // indirect
@@ -61,6 +60,7 @@ require (
6160
github.com/cloudflare/circl v1.6.3 // indirect
6261
github.com/containerd/containerd v1.7.29 // indirect
6362
github.com/containerd/errdefs v1.0.0 // indirect
63+
github.com/containerd/errdefs/pkg v0.3.0 // indirect
6464
github.com/containerd/log v0.1.0 // indirect
6565
github.com/containerd/platforms v0.2.1 // indirect
6666
github.com/containerd/stargz-snapshotter/estargz v0.18.1 // indirect
@@ -75,9 +75,10 @@ require (
7575
github.com/docker/cli v29.0.3+incompatible // indirect
7676
github.com/docker/distribution v2.8.3+incompatible // indirect
7777
github.com/docker/docker-credential-helpers v0.9.3 // indirect
78-
github.com/docker/go-connections v0.5.0 // indirect
78+
github.com/docker/go-connections v0.6.0 // indirect
7979
github.com/docker/go-units v0.5.0 // indirect
8080
github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707 // indirect
81+
github.com/ebitengine/purego v0.8.4 // indirect
8182
github.com/emirpasic/gods v1.18.1 // indirect
8283
github.com/fatih/color v1.18.0 // indirect
8384
github.com/felixge/httpsnoop v1.0.4 // indirect
@@ -112,7 +113,6 @@ require (
112113
github.com/go-openapi/swag/yamlutils v0.25.4 // indirect
113114
github.com/go-openapi/validate v0.25.1 // indirect
114115
github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
115-
github.com/gogo/protobuf v1.3.2 // indirect
116116
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
117117
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
118118
github.com/golang/protobuf v1.5.4 // indirect
@@ -155,6 +155,7 @@ require (
155155
github.com/mitchellh/go-homedir v1.1.0 // indirect
156156
github.com/mitchellh/mapstructure v1.5.0 // indirect
157157
github.com/moby/docker-image-spec v1.3.1 // indirect
158+
github.com/moby/go-archive v0.1.0 // indirect
158159
github.com/moby/patternmatcher v0.6.0 // indirect
159160
github.com/moby/sys/sequential v0.6.0 // indirect
160161
github.com/moby/sys/user v0.4.0 // indirect
@@ -183,8 +184,7 @@ require (
183184
github.com/secure-systems-lab/go-securesystemslib v0.10.0 // indirect
184185
github.com/sergi/go-diff v1.4.0 // indirect
185186
github.com/shibumi/go-pathspec v1.3.0 // indirect
186-
github.com/shirou/gopsutil/v3 v3.23.12 // indirect
187-
github.com/shoenig/go-m1cpu v0.1.6 // indirect
187+
github.com/shirou/gopsutil/v4 v4.25.6 // indirect
188188
github.com/sigstore/protobuf-specs v0.5.0 // indirect
189189
github.com/sigstore/rekor v1.5.0 // indirect
190190
github.com/sigstore/rekor-tiles/v2 v2.1.0 // indirect
@@ -213,7 +213,7 @@ require (
213213
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
214214
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
215215
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
216-
github.com/yusufpapurcu/wmi v1.2.3 // indirect
216+
github.com/yusufpapurcu/wmi v1.2.4 // indirect
217217
go.mongodb.org/mongo-driver v1.17.7 // indirect
218218
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
219219
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0 // indirect
@@ -243,22 +243,19 @@ require (
243243
google.golang.org/protobuf v1.36.11 // indirect
244244
gopkg.in/ini.v1 v1.67.1 // indirect
245245
gopkg.in/warnings.v0 v0.1.2 // indirect
246-
gotest.tools/v3 v3.5.2 // indirect
247246
helm.sh/helm/v3 v3.19.2 // indirect
248247
k8s.io/client-go v0.34.0 // indirect
249248
oras.land/oras-go/v2 v2.6.0 // indirect
250249
sigs.k8s.io/yaml v1.6.0 // indirect
251250
)
252251

253-
replace github.com/docker/docker => github.com/docker/docker v27.5.1+incompatible
254-
255252
replace github.com/gfleury/go-bitbucket-v1 => github.com/gfleury/go-bitbucket-v1 v0.0.0-20230825095122-9bc1711434ab
256253

257254
replace github.com/ktrysmt/go-bitbucket => github.com/ktrysmt/go-bitbucket v0.9.80
258255

259-
// replace github.com/jfrog/jfrog-cli-artifactory => github.com/reshmifrog/jfrog-cli-artifactory v0.0.0-20260302170823-db801936b182
256+
//replace github.com/jfrog/jfrog-cli-core/v2 => ../jfrog-cli-core
260257

261-
//replace github.com/jfrog/jfrog-cli-artifactory => github.com/naveenku-jfrog/jfrog-cli-artifactory v0.0.0-20260226133041-8d510cc4e5f6
258+
// replace github.com/jfrog/jfrog-cli-artifactory => github.com/fluxxBot/jfrog-cli-artifactory v0.0.0-20260130044429-464a5025d08a
262259

263260
//replace github.com/jfrog/build-info-go => github.com/fluxxBot/build-info-go v1.10.10-0.20260105070825-d3f36f619ba5
264261

0 commit comments

Comments
 (0)