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
Che operator should be able to install DevWorkspace operator #689
Conversation
Skipping CI for Draft Pull Request. |
Codecov Report
@@ Coverage Diff @@
## master #689 +/- ##
==========================================
+ Coverage 31.60% 32.64% +1.03%
==========================================
Files 49 50 +1
Lines 5369 5459 +90
==========================================
+ Hits 1697 1782 +85
+ Misses 3421 3409 -12
- Partials 251 268 +17
Continue to review full report at Codecov.
|
Dockerfile
Outdated
RUN export ARCH="$(uname -m)" && if [[ ${ARCH} == "x86_64" ]]; then export ARCH="amd64"; elif [[ ${ARCH} == "aarch64" ]]; then export ARCH="arm64"; fi && \ | ||
export MOCK_API=true && \ | ||
go test -mod=vendor -v ./... && \ | ||
GOOS=linux GOARCH=${ARCH} CGO_ENABLED=0 go build -mod=vendor -o /tmp/che-operator/che-operator cmd/manager/main.go | ||
|
||
# download devworkspace-operator templates | ||
RUN curl -L https://api.github.com/repos/devfile/devworkspace-operator/zipball/master > /tmp/devworkspace-operator.zip && \ |
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.
I think devworkspace operator version should be defined as argument.
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.
Right now there are only master
and v1.0.0-alpha1
I can define env variable in the Dockerfile.
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.
it's just because release lack. But soon releases will be with Che cadence.
If you meant argument, that +1
If you meant environment variable - please elaborate 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.
ENV DEV_WORKSPACE_CONTROLLER_VERSION="master"
When che-operator is released the correct version will be set
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.
Why it's env var but not argument? Like here https://github.com/eclipse/che/blob/master/dockerfiles/che/Dockerfile#L11
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.
ok. make sense
/retest |
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
/retest |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: AndrienkoAleksandr, tolusha 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 |
* Che operator should be able to install DevWorkspace operator Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Fix typo Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Add missing roles Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Update cluster roles Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Update nightly bundle Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Fixes Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Add missing files Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Fixes Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Fix tests Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Add tests Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Update nightly bundle Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Improvements Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Add logs Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Fix test Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Fix tests Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Update nightly bundle Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Update clusterroles Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Update test Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Update test Signed-off-by: Anatolii Bazko <abazko@redhat.com> * Update nightly bundle Signed-off-by: Anatolii Bazko <abazko@redhat.com>
* Che operator should be able to install DevWorkspace operator (#689) * Che Operator should be able to install the Devworkspace che operator (#707) Signed-off-by: Anatolii Bazko <abazko@redhat.com> Co-authored-by: Sergii Kabashniuk <skabashn@redhat.com> Co-authored-by: Lukas Krejci <lkrejci@redhat.com> Co-authored-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko abazko@redhat.com
What does this PR do?
Deploys Dev Workpace operator if
spec.devWorkspace.enable: true
Screenshot/screencast of this PR
What issues does this PR fix or reference?
eclipse-che/che#19121
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.