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

Add support to modify env with ${PROJECT_SOURCE}/workspace.rc on workspace startup #22

Merged
merged 2 commits into from
Jul 31, 2024

Conversation

cgruver
Copy link
Contributor

@cgruver cgruver commented Jul 31, 2024

When a workspace is started, if a file ${PROJECT_SOURCE}/workspace.rc exists, then it will be sourced by the shell to modify the shell environment.

Example: https://github.com/cgruver/devspaces-backstage-plugin/blob/main/workspace.rc

@cgruver cgruver requested a review from etsauer July 31, 2024 18:24
@etsauer
Copy link
Contributor

etsauer commented Jul 31, 2024

@cgruver you realized we have two different solutions for the same problem here right? https://github.com/etsauer/devhub-plugin/tree/main/.env.d

Copy link
Contributor

@etsauer etsauer left a comment

Choose a reason for hiding this comment

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

lgtm

@etsauer etsauer merged commit 3388b66 into redhat-cop:main Jul 31, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants