Closed rajivnathan closed 4 years ago
@cdrage Looks like the test-cmd-service
test failed. I saw an error due to RBAC:
[oc] Error from server (Forbidden): serviceinstances.servicecatalog.k8s.io is forbidden: User "developer" cannot list serviceinstances.servicecatalog.k8s.io in the namespace "ekilmcxklf": no RBAC policy matched
Is that something you'd be able to help with?
/retest
@rajivnathan: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test
message.
/ok-to-test
@cdrage Looks like the
test-cmd-service
test failed. I saw an error due to RBAC:[oc] Error from server (Forbidden): serviceinstances.servicecatalog.k8s.io is forbidden: User "developer" cannot list serviceinstances.servicecatalog.k8s.io in the namespace "ekilmcxklf": no RBAC policy matched
Is that something you'd be able to help with?
I think that's a flake. Just need to re-run it :)
@cdrage Looks like the
test-cmd-service
test failed. I saw an error due to RBAC:[oc] Error from server (Forbidden): serviceinstances.servicecatalog.k8s.io is forbidden: User "developer" cannot list serviceinstances.servicecatalog.k8s.io in the namespace "ekilmcxklf": no RBAC policy matched
Is that something you'd be able to help with?
I think that's a flake. Just need to re-run it :)
it is probably related to this https://github.com/openshift/odo/pull/2767
/retest
/retest
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: kadel
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/lgtm
This PR adds a
devfile-supervisor.conf
file and adevfile-command
script that will be injected into devfile component containers that will be used to execute devfile commands. Supervisord will be started withdevfile-supervisor.conf
which in turn calls thedevfile-command
script. For more details on how devfile support will make use of supervisord see https://github.com/openshift/odo/issues/2654The supervisord binary wasn't launching in alpine linux containers. Since devfile support is meant to also expand support to images beyond standard S2I-based images I've also updated the build options for the go-init and supervisord binaries.
I had to build the go binaries using the
GOOS=linux GOARCH=amd64 CGO_ENABLED=0
options. See https://stackoverflow.com/questions/34729748/installed-go-binary-not-found-in-path-on-alpine-linux-docker for detailsA note on commit 617658dc11311430ea0cea82dd4b88e68105c1ed:
We were seeing a problem where the
devfile-command
script was failing with an error:This was because the
ODO_COMMAND_RUN_WORKING_DIR
variable's value was${CHE_PROJECTS_ROOT}/python-hello-world
. The container has the variable set, however, when trying to executecd $ODO_COMMAND_RUN_WORKING_DIR
within the script the${CHE_PROJECTS_ROOT}
portion of the path was not being expanded. In order to work around it I had to wrap the command withsh -c
and then${CHE_PROJECTS_ROOT}
was expanded to/projects
correctly.