-
Notifications
You must be signed in to change notification settings - Fork 4.8k
BUILD-250 pull in multi-arch friendly version of roots2i and simples2i, add simples2i to mirroring test infra #26149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,6 @@ package builds | |
| import ( | ||
| "context" | ||
| "fmt" | ||
| "github.com/openshift/origin/test/extended/util/image" | ||
|
|
||
| g "github.com/onsi/ginkgo" | ||
| o "github.com/onsi/gomega" | ||
|
|
@@ -14,6 +13,7 @@ import ( | |
|
|
||
| buildv1 "github.com/openshift/api/build/v1" | ||
| exutil "github.com/openshift/origin/test/extended/util" | ||
| "github.com/openshift/origin/test/extended/util/image" | ||
| ) | ||
|
|
||
| func Before(oc *exutil.CLI) { | ||
|
|
@@ -37,7 +37,7 @@ var _ = g.Describe("[sig-builds][Feature:Builds] s2i build with a root user imag | |
| Before(oc) | ||
| defer After(oc) | ||
|
|
||
| firstArgString := fmt.Sprintf("%s~https://github.com/sclorg/nodejs-ex", image.LocationFor("registry.ci.openshift.org/ocp/4.7:test-build-roots2i")) | ||
| firstArgString := fmt.Sprintf("%s~https://github.com/sclorg/nodejs-ex", image.LocationFor("registry.ci.openshift.org/ocp/4.8:test-build-roots2i")) | ||
| err := oc.Run("new-app").Args(firstArgString, "--name", "nodejsfail").Execute() | ||
| o.Expect(err).NotTo(o.HaveOccurred()) | ||
|
|
||
|
|
@@ -114,7 +114,7 @@ var _ = g.Describe("[sig-builds][Feature:Builds] s2i build with a root user imag | |
| roleBinding, err = oc.AdminKubeClient().RbacV1().RoleBindings(oc.Namespace()).Create(context.Background(), roleBinding, metav1.CreateOptions{}) | ||
| o.Expect(err).NotTo(o.HaveOccurred()) | ||
|
|
||
| firstArgString := fmt.Sprintf("%s~https://github.com/sclorg/nodejs-ex", image.LocationFor("registry.ci.openshift.org/ocp/4.7:test-build-roots2i")) | ||
| firstArgString := fmt.Sprintf("%s~https://github.com/sclorg/nodejs-ex", image.LocationFor("registry.ci.openshift.org/ocp/4.8:test-build-roots2i")) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So distilling https://github.com/openshift/origin/pull/26149/files#r632694287 for this line.
|
||
| err = oc.Run("new-build").Args(firstArgString, "--name", "nodejspass").Execute() | ||
| o.Expect(err).NotTo(o.HaveOccurred()) | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,7 +35,7 @@ items: | |
| value: 127.0.0.1:3128 | ||
| from: | ||
| kind: DockerImage | ||
| name: quay.io/redhat-developer/test-build-simples2i:latest | ||
| name: registry.ci.openshift.org/ocp/4.8:test-build-simples2i | ||
| - kind: BuildConfig | ||
| apiVersion: v1 | ||
| metadata: | ||
|
|
@@ -57,7 +57,7 @@ items: | |
| sourceStrategy: | ||
| from: | ||
| kind: DockerImage | ||
| name: quay.io/redhat-developer/test-build-simples2i:latest | ||
| name: registry.ci.openshift.org/ocp/4.8:test-build-simples2i | ||
| env: | ||
| - name: SOME_HTTP_PROXY | ||
| value: https://envuser:[email protected] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,7 +27,10 @@ func init() { | |
|
|
||
| // used by build s2i e2e's to verify that builder with USER root are not allowed | ||
| // the github.com/openshift/build-test-images repo is built out of github.com/openshift/release | ||
| "registry.ci.openshift.org/ocp/4.7:test-build-roots2i": -1, | ||
| "registry.ci.openshift.org/ocp/4.8:test-build-roots2i": -1, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We'll minimally need to add "registry.ci.openshift.org/ocp/4.8:test-build-simples2i": -1, as well |
||
|
|
||
| // used by all the rest build s2s e2e tests | ||
| "registry.ci.openshift.org/ocp/4.8:test-build-simples2i": -1, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK let's temporarily remove this @alicerum so we can prove that the registry.ci.openshift.org/ocp/4.8:test-build-simples2i has been updated with your recently merged build-test-images PR |
||
|
|
||
| // moved to GCR | ||
| "k8s.gcr.io/sig-storage/csi-attacher:v2.2.0": -1, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,4 +60,5 @@ k8s.gcr.io/sig-storage/nfs-provisioner:v2.2.2 quay.io/openshift/community-e2e-im | |
| k8s.gcr.io/sig-storage/snapshot-controller:v2.1.1 quay.io/openshift/community-e2e-images:e2e-k8s-gcr-io-sig-storage-snapshot-controller-v2-1-1-n5BM_jX2npV3RxHM | ||
| k8s.gcr.io/sig-storage/snapshot-controller:v3.0.2 quay.io/openshift/community-e2e-images:e2e-k8s-gcr-io-sig-storage-snapshot-controller-v3-0-2-IVmgAhsROusslTdY | ||
| quay.io/redhat-developer/nfs-server:1.0 quay.io/openshift/community-e2e-images:e2e-quay-io-redhat-developer-nfs-server-1-0-Wz4GFQ2IuhYmh2mB | ||
| registry.ci.openshift.org/ocp/4.7:test-build-roots2i quay.io/openshift/community-e2e-images:e2e-registry-ci-openshift-org-ocp-4-7-test-build-roots2i-tG08qb6aSmDhxBBy | ||
| registry.ci.openshift.org/ocp/4.8:test-build-roots2i quay.io/openshift/community-e2e-images:e2e-registry-ci-openshift-org-ocp-4-8-test-build-roots2i-FmW7zebvtGKkls4B | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe |
||
| registry.ci.openshift.org/ocp/4.8:test-build-simples2i quay.io/openshift/community-e2e-images:e2e-registry-ci-openshift-org-ocp-4-8-test-build-simples2i-7A9bkBd9X4G-ELh0 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So distilling https://github.com/openshift/origin/pull/26149/files#r632694287 for this line.
temporary step, change this to
firstArgString := fmt.Sprintf("%s~https://github.com/sclorg/nodejs-ex", "registry.ci.openshift.org/ocp/4.8:test-build-roots2i")if tests from this file are OK, we reach out to @soltysh or @smarterclayton and have them mirroregistry.ci.openshift.org/ocp/4.8:test-build-roots2i to quay.io/openshift/community-e2e-images
then we revert this line back to the way you have it now