-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move tools & configs from /home/user/ to /home/tooling/ (#525); upgra…
…de python to 3.11 (#524) (#530) * upgrade python to 3.11 (#524) Signed-off-by: Valeriy Svydenko <[email protected]> * Move tools & configs from /home/user/ to /home/tooling/ (#525) * Use bash-completions package Signed-off-by: Andrew Obuchowicz <[email protected]> * Don't modify ~/.bashrc, use /etc/profile.d/ instead Signed-off-by: Andrew Obuchowicz <[email protected]> * Build stow from sources Signed-off-by: Andrew Obuchowicz <[email protected]> * Move tools & configs from /home/user/ to /home/tooling/ Signed-off-by: Andrew Obuchowicz <[email protected]> * Fix for multiple $KUBEDOCK_PARAMS Signed-off-by: Andrew Obuchowicz <[email protected]> * Install vim Signed-off-by: Andrew Obuchowicz <[email protected]> * Don't stow .viminfo Signed-off-by: Andrew Obuchowicz <[email protected]> * Ensure ~/.bashrc and ~/.bash_profile exist when persistUserHome enabled Signed-off-by: Andrew Obuchowicz <[email protected]> * Remove obsolete bash prompt creation from UDI entrypoint Signed-off-by: Andrew Obuchowicz <[email protected]> * Don't fail entrypoint if kubeconfig could not be found Signed-off-by: Andrew Obuchowicz <[email protected]> * chore: define user directory for binaries Signed-off-by: Andrew Obuchowicz <[email protected]> * Ensure mountpoint test doesn't cause entrypoint to fail Signed-off-by: Andrew Obuchowicz <[email protected]> * Update devspaces-udi/etc/entrypoint.sh Co-authored-by: Valerii Svydenko <[email protected]> * Remove redundant creation of Go bin directory Signed-off-by: Andrew Obuchowicz <[email protected]> * Remove redundant /home/tooling/ creation Signed-off-by: Andrew Obuchowicz <[email protected]> * Pre-create common tooling config directories Signed-off-by: Andrew Obuchowicz <[email protected]> * Update devspaces-udi/etc/entrypoint.sh Co-authored-by: Angel Misevski <[email protected]> * Disable code ready builder repo after building stow We disable the code ready builder repo on each architecture to prevent accidentally pulling in the wrong packages. For example, the maven-resolver package differs between the rhel 8 app stream repo & the code ready builder repo which leads to maven being unable to download artifacts. Signed-off-by: Andrew Obuchowicz <[email protected]> * Fix for incorrect python module Signed-off-by: Andrew Obuchowicz <[email protected]> * Update devspaces-udi/Dockerfile Co-authored-by: Angel Misevski <[email protected]> * Update devspaces-udi/Dockerfile Co-authored-by: Angel Misevski <[email protected]> * Ensure PATH contains /home/user/ and /home/tooling/ entries Signed-off-by: Andrew Obuchowicz <[email protected]> * fixup! Disable code ready builder repo after building stow * Create ~/.java/current/ symbolic links in /home/tooling/ instead of /home/user/ In order for stow in the UDI's entrypoint to complete successfully, any files present in /home/user/ (that are not in the .stow-local-ignore) must not also exist in /home/tooling/, otherwise a conflict would occur. Since the symbolic link creation from JAVA_HOME_8/11/17 occurs before stow is executed, the symbolic link must be created from JAVA_HOME_8/11/17 -> /home/tooling/ to prevent a stow conflict. Stow will then create a symbolic link from /home/tooling/.java/current/ -> /home/user/.java/current/ so that JAVA_HOME remains valid. Signed-off-by: Andrew Obuchowicz <[email protected]> * Update devspaces-udi/Dockerfile * Update devspaces-udi/Dockerfile * fixup! Disable code ready builder repo after building stow --------- Signed-off-by: Andrew Obuchowicz <[email protected]> Co-authored-by: Nick Boldt <[email protected]> Co-authored-by: Valerii Svydenko <[email protected]> Co-authored-by: Angel Misevski <[email protected]> --------- Signed-off-by: Valeriy Svydenko <[email protected]> Signed-off-by: Andrew Obuchowicz <[email protected]> Co-authored-by: Valerii Svydenko <[email protected]> Co-authored-by: Nick Boldt <[email protected]> Co-authored-by: Angel Misevski <[email protected]>
- Loading branch information
1 parent
8d051b7
commit 47722f7
Showing
5 changed files
with
135 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# .viminfo cannot be a symlink for security reasons | ||
\.viminfo | ||
|
||
# We store bash related files in /home/tooling/ so they aren't overriden if persistUserHome is enabled | ||
# but we don't want them to be symbolic links (or to cause stow conflicts). They will be copied to /home/user/ manually. | ||
\.bashrc | ||
\.bash_profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters