Skip to content
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

fix: add registries and dashboard url to all containers #522

Merged
merged 5 commits into from May 11, 2022
Merged

Conversation

akurinnoy
Copy link
Contributor

What does this PR do?

Add environment variables to all the DevWorkspace and DevWorkspaceTemplate containers

What issues does this PR fix or reference?

https://issues.redhat.com/browse/CRW-2964

@akurinnoy akurinnoy requested a review from ibuziuk May 9, 2022 13:32
@akurinnoy akurinnoy requested a review from olexii4 as a code owner May 9, 2022 13:32
@che-bot
Copy link
Contributor

che-bot commented May 9, 2022

Click here to review and test in web IDE: Contribute

@github-actions
Copy link

github-actions bot commented May 9, 2022

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-522

@nickboldt
Copy link
Contributor

when merged, we need this cherrypicked to 7.46.x too

@akurinnoy akurinnoy marked this pull request as draft May 9, 2022 14:19
Copy link
Member

@ibuziuk ibuziuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akurinnoy could you please clarify if the problem is reproducible for you on dogfooding? I can not reproduce atm via #https://raw.githubusercontent.com/eclipse-che/che-operator/main/devfile.yaml for example. All the env vars seem to be propagated properly even without this fix 🤷

UPDATE: however after restart those env vars are disappearing!

@che-bot
Copy link
Contributor

che-bot commented May 10, 2022

Click here to review and test in web IDE: Contribute

@codecov
Copy link

codecov bot commented May 10, 2022

Codecov Report

Merging #522 (7a9afb6) into main (b16d601) will increase coverage by 0.03%.
The diff coverage is 60.71%.

@@            Coverage Diff             @@
##             main     #522      +/-   ##
==========================================
+ Coverage   54.66%   54.69%   +0.03%     
==========================================
  Files         235      235              
  Lines        8088     8098      +10     
  Branches     1393     1397       +4     
==========================================
+ Hits         4421     4429       +8     
- Misses       3448     3450       +2     
  Partials      219      219              
Flag Coverage Δ
unittests 54.69% <60.71%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...dashboard-frontend/src/services/bootstrap/index.ts 0.00% <0.00%> (ø)
...orkspace-client/devworkspace/devWorkspaceClient.ts 50.41% <70.83%> (+1.40%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b16d601...7a9afb6. Read the comment docs.

@github-actions
Copy link

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-522

@che-bot
Copy link
Contributor

che-bot commented May 11, 2022

Click here to review and test in web IDE: Contribute

@che-bot
Copy link
Contributor

che-bot commented May 11, 2022

Click here to review and test in web IDE: Contribute

@akurinnoy akurinnoy marked this pull request as ready for review May 11, 2022 13:55
@github-actions
Copy link

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-522

@openshift-ci
Copy link

openshift-ci bot commented May 11, 2022

@akurinnoy: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/v8-dashboard-happy-path 7a9afb6 link true /test v8-dashboard-happy-path

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-ci
Copy link

openshift-ci bot commented May 11, 2022

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: akurinnoy, olexii4

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@akurinnoy akurinnoy merged commit f6bb424 into main May 11, 2022
@akurinnoy akurinnoy deleted the add-env-vars branch May 11, 2022 14:37
@che-bot che-bot added this to the 7.48 milestone May 11, 2022
akurinnoy added a commit that referenced this pull request May 11, 2022
* fix: add registries and dashboard url to all containers

* fixup! fix: add registries and dashboard url to all containers

* fixup! fixup! fix: add registries and dashboard url to all containers

* fix: update dependencies list

* fixup! fixup! fixup! fix: add registries and dashboard url to all containers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants