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

added .profile file to keep environment variables #22

Merged
merged 1 commit into from
Jun 26, 2022

Conversation

hareldev
Copy link

Hello guys,

As cloudwash is accepting ENV variables for secrets, and also have a virtual environment configured in the container, it creates a challenge:
Environment variable that was created in session A, will not be available for session B (same container).

To overcome it, I added a .profile file that can be modified by the user in session A, and make the environment variable available for session B as well.

Let me know what you think.

@hareldev
Copy link
Author

This is similar to this implementation:
https://stackoverflow.com/a/62009612

@jyejare
Copy link
Collaborator

jyejare commented Jun 24, 2022

@hareldev Please rebase your PR with new merged PR #24 !

@jyejare jyejare force-pushed the shell-persistent-env branch from 78fc675 to cd1bda0 Compare June 26, 2022 15:14
@jyejare jyejare merged commit 57d3673 into RedHatQE:master Jun 26, 2022
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