-
Notifications
You must be signed in to change notification settings - Fork 88
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
Operator sdk 0.15.2 #515
Operator sdk 0.15.2 #515
Conversation
@tomgeorge
|
/retest |
|
Removed |
/retest |
olm/docker-run.sh
Outdated
@@ -43,9 +43,9 @@ check() { | |||
build() { | |||
printf "%bBuilding image %b${IMAGE_NAME}${NC}..." "${BOLD}" "${BLUE}" | |||
if docker build --build-arg OPERATOR_SDK_VERSION=${OPERATOR_SDK_VERSION} -t ${IMAGE_NAME} > docker-build-log 2>&1 -<<EOF | |||
FROM evns/yq | |||
FROM golang:1.14-alpine |
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.
Should we use golang:1.13-alphine
since we switched from 1.12 to 1.13 version ?
@@ -1,14 +1,17 @@ | |||
FROM quay.io/operator-framework/upstream-registry-builder as builder | |||
COPY deploy manifests/eclipse-che-preview-openshift | |||
|
|||
COPY deploy manifests/eclipse-che-preview-kubernetes |
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.
Typo?
It should be deploy manifests/eclipse-che-preview-openshift
COPY --from=builder /build/bin/configmap-server /bin/configmap-server | ||
COPY --from=builder /build/bundles.db /bundles.db | ||
COPY --from=builder /build/bin/registry-server /registry-server | ||
COPY --from=builder /bin/initializer /initializer |
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.
To be honest I don't understand why /build
isn't necessary anymore. Could you explain pls?
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.
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.
During my testing, running quay.io/operator-framework/upstream-registry-builder
had moved it's artifacts out of /build
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.
We could tag to a specific image
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.
Yes, this image will be updated and pinned #522 in the frame of the issue: che#18105
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.
that is the upstream-opm-builder
image, not the upstream-registry-builder
. If upstream-registry-builder
is deprecated in favor of opm
, this will need to be updated anyway. How often are these catalogs built with this Dockerfile? Probably not too often, as I think you would have seen these fail by now.
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.
Oh, sorry, I thought about another Dockerfile. This one we really could pin.
/retest |
Signed-off-by: Tom George <tgeorge@redhat.com>
Signed-off-by: Tom George <tgeorge@redhat.com>
Signed-off-by: Tom George <tgeorge@redhat.com>
Signed-off-by: Tom George <tgeorge@redhat.com>
Signed-off-by: Tom George <tgeorge@redhat.com>
Signed-off-by: Tom George <tgeorge@redhat.com>
@tolusha @AndrienkoAleksandr can you reapprove? |
…from new crd -> org_v1_che_crd.yaml Signed-off-by: Tom George <tgeorge@redhat.com>
@AndrienkoAleksandr made your requested fixes |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: AndrienkoAleksandr, tolusha, tomgeorge The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
@tolusha @AndrienkoAleksandr Do you think this can this be merged today? |
+1 @tolusha ? |
+1 |
Changes:
Gopkg.lock
andGopkg.toml
sigs.k8s.io/controller-runtime/pkg/runtime/signals
replaced bysigs.k8s.io/controller-runtime/pkg/manager/signals
serializer.DirectCodecFactory
is renamed toserializer.WithoutConversionCodecFactory
sigs.k8s.io/controller-runtime/pkg/runtime/scheme
replaced bysigs.k8s.io/controller-runtime/pkg/scheme
pkg/apis/org/v1/zz_generated.openapi.go
asoperator-sdk generate openapi
is deprecated in favor ofoperator-sdk generate crds
Dockerfiles
inolm
directory to correctly build test catalog imagesdeploy/crds/org.eclipse.che_checlusters_crd.yaml
which contains the new openapi specs. I didn't delete the existing CRDs/CRs (org_v1_che_crd.yaml
,org_v1_che_cr.yaml
)Paths tested
chectl
chectl
This is part of eclipse-che/che#18133