Skip to content

Commit 8e06287

Browse files
committed
Update defaultServer name change tests
1 parent b29b8c1 commit 8e06287

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

Diff for: test/go.mod

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ go 1.18
44

55
require (
66
github.com/containers/podman/v4 v4.5.1
7-
github.com/docker/docker v24.0.2+incompatible
87
github.com/onsi/ginkgo v1.16.5
98
github.com/onsi/gomega v1.27.7
109
)
@@ -36,6 +35,7 @@ require (
3635
github.com/cyphar/filepath-securejoin v0.2.3 // indirect
3736
github.com/disiqueira/gotree/v3 v3.0.2 // indirect
3837
github.com/docker/distribution v2.8.2+incompatible // indirect
38+
github.com/docker/docker v24.0.2+incompatible // indirect
3939
github.com/docker/docker-credential-helpers v0.7.0 // indirect
4040
github.com/docker/go-connections v0.4.1-0.20210727194412-58542c764a11 // indirect
4141
github.com/docker/go-units v0.5.0 // indirect
@@ -77,9 +77,7 @@ require (
7777
github.com/miekg/pkcs11 v1.1.1 // indirect
7878
github.com/mistifyio/go-zfs/v3 v3.0.0 // indirect
7979
github.com/mitchellh/mapstructure v1.5.0 // indirect
80-
github.com/moby/patternmatcher v0.5.0 // indirect
8180
github.com/moby/sys/mountinfo v0.6.2 // indirect
82-
github.com/moby/sys/sequential v0.5.0 // indirect
8381
github.com/moby/term v0.5.0 // indirect
8482
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
8583
github.com/modern-go/reflect2 v1.0.2 // indirect

Diff for: test/go.sum

-5
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0Zeo
2424
cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
2525
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
2626
github.com/14rcole/gopopulate v0.0.0-20180821133914-b175b219e774 h1:SCbEWT58NSt7d2mcFdvxC9uyrdcTfvBbPLThhkDmXzg=
27-
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230106234847-43070de90fa1 h1:EKPd1INOIyr5hWOWhvpmQpY6tKjeG0hT1s3AMC/9fic=
2827
github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
2928
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
3029
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8=
@@ -654,15 +653,11 @@ github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyua
654653
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
655654
github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A=
656655
github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc=
657-
github.com/moby/patternmatcher v0.5.0 h1:YCZgJOeULcxLw1Q+sVR636pmS7sPEn1Qo2iAN6M7DBo=
658-
github.com/moby/patternmatcher v0.5.0/go.mod h1:hDPoyOpDY7OrrMDLaYoY3hf52gNCR/YOUYxkhApJIxc=
659656
github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A=
660657
github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A=
661658
github.com/moby/sys/mountinfo v0.5.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU=
662659
github.com/moby/sys/mountinfo v0.6.2 h1:BzJjoreD5BMFNmD9Rus6gdd1pLuecOFPt8wC+Vygl78=
663660
github.com/moby/sys/mountinfo v0.6.2/go.mod h1:IJb6JQeOklcdMU9F5xQ8ZALD+CUr5VlGpwtX+VE0rpI=
664-
github.com/moby/sys/sequential v0.5.0 h1:OPvI35Lzn9K04PBbCLW0g4LcFAJgHsvXsRyewg5lXtc=
665-
github.com/moby/sys/sequential v0.5.0/go.mod h1:tH2cOOs5V9MlPiXcQzRC+eEyab644PWKGRYaaV5ZZlo=
666661
github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ=
667662
github.com/moby/term v0.0.0-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo=
668663
github.com/moby/term v0.5.0 h1:xt8Q1nalod/v7BqbG21f8mQPqH+xAaC9C3N3wfWbVP0=

Diff for: test/test_suite_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func TestTest(t *testing.T) {
2525
}
2626

2727
var _ = Describe("Open Liberty container images", func() {
28-
// Set ENV CONTAINER_HOST and CONTAINER_SSHKEY
28+
// Set CONTAINER_HOST and CONTAINER_SSHKEY environment variables beforehand
2929
Context("kernel-slim images", func() {
3030
var imageDir string = "../releases/latest/kernel-slim"
3131
BeforeEach(func() {
@@ -42,7 +42,7 @@ var _ = Describe("Open Liberty container images", func() {
4242
})
4343

4444
It("can build an UBI image and run spring-petclinic", func() {
45-
var baseImage string = "open-liberty-test:kernel-slim-ubi-openjdk8"
45+
var baseImage string = "open-liberty-test:kernel-slim-ubi-openjdk17"
4646
var petClinicImage string = "open-liberty-test:kernel-slim-ubi-petclinic"
4747
var petClinicImageName string = "petclinic"
4848
conn, err := bindings.NewConnectionWithIdentity(context.Background(), "", "", true)
@@ -52,7 +52,7 @@ var _ = Describe("Open Liberty container images", func() {
5252
}
5353

5454
// Build a kernel-slim image from scratch
55-
containerFiles := []string{imageDir + "/Dockerfile.ubi.openjdk8"}
55+
containerFiles := []string{imageDir + "/Dockerfile.ubi.openjdk17"}
5656
// Check the full list of BuildOptions from https://github.com/containers/buildah/blob/aa6a281df7c54aa42a060baa9d0504040c7551a6/define/build.go#L112
5757
buildOptions := entities.BuildOptions{}
5858
buildOptions.ContextDirectory = imageDir
@@ -119,7 +119,7 @@ var _ = Describe("Open Liberty container images", func() {
119119
})
120120

121121
It("can build an Ubuntu image and run spring-petclinic", func() {
122-
var baseImage string = "open-liberty-test:kernel-slim-ubuntu-openjdk8"
122+
var baseImage string = "open-liberty-test:kernel-slim-ubuntu-openjdk17"
123123
var petClinicImage string = "open-liberty-test:kernel-slim-ubuntu-petclinic"
124124
var petClinicImageName string = "petclinic"
125125
conn, err := bindings.NewConnectionWithIdentity(context.Background(), "", "", true)
@@ -129,7 +129,7 @@ var _ = Describe("Open Liberty container images", func() {
129129
}
130130

131131
// Build a kernel-slim image from scratch
132-
containerFiles := []string{imageDir + "/Dockerfile.ubuntu.openjdk8"}
132+
containerFiles := []string{imageDir + "/Dockerfile.ubuntu.openjdk17"}
133133
// Check the full list of BuildOptions from https://github.com/containers/buildah/blob/aa6a281df7c54aa42a060baa9d0504040c7551a6/define/build.go#L112
134134
buildOptions := entities.BuildOptions{}
135135
buildOptions.ContextDirectory = imageDir

0 commit comments

Comments
 (0)