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

Move tools & configs from /home/user/ to /home/tooling/ #525

Merged
merged 30 commits into from Nov 21, 2023

Commits on Nov 16, 2023

  1. Use bash-completions package

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    ad96997 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. Don't modify ~/.bashrc, use /etc/profile.d/ instead

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    10077fa View commit details
    Browse the repository at this point in the history
  2. Build stow from sources

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    fde3e68 View commit details
    Browse the repository at this point in the history
  3. Move tools & configs from /home/user/ to /home/tooling/

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    4fdff00 View commit details
    Browse the repository at this point in the history
  4. Fix for multiple $KUBEDOCK_PARAMS

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    a0dd10a View commit details
    Browse the repository at this point in the history
  5. Install vim

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    a65c70f View commit details
    Browse the repository at this point in the history
  6. Don't stow .viminfo

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    5b33cb2 View commit details
    Browse the repository at this point in the history
  7. Ensure ~/.bashrc and ~/.bash_profile exist when persistUserHome enabled

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    ff3207c View commit details
    Browse the repository at this point in the history
  8. Remove obsolete bash prompt creation from UDI entrypoint

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    c5c3692 View commit details
    Browse the repository at this point in the history
  9. Don't fail entrypoint if kubeconfig could not be found

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    ab9e41e View commit details
    Browse the repository at this point in the history
  10. chore: define user directory for binaries

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    f5394e9 View commit details
    Browse the repository at this point in the history
  11. Ensure mountpoint test doesn't cause entrypoint to fail

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    a35d692 View commit details
    Browse the repository at this point in the history
  12. Update devspaces-udi/etc/entrypoint.sh

    Co-authored-by: Valerii Svydenko <vsvydenk@redhat.com>
    2 people authored and AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    801f38c View commit details
    Browse the repository at this point in the history
  13. Remove redundant creation of Go bin directory

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    a0a8763 View commit details
    Browse the repository at this point in the history
  14. Remove redundant /home/tooling/ creation

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    357da00 View commit details
    Browse the repository at this point in the history
  15. Pre-create common tooling config directories

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    d2bc061 View commit details
    Browse the repository at this point in the history
  16. Update devspaces-udi/etc/entrypoint.sh

    Co-authored-by: Angel Misevski <amisevsk@redhat.com>
    2 people authored and AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    73661ae View commit details
    Browse the repository at this point in the history
  17. 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 <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    577dd89 View commit details
    Browse the repository at this point in the history
  18. Fix for incorrect python module

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    6600618 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. Update devspaces-udi/Dockerfile

    Co-authored-by: Angel Misevski <amisevsk@redhat.com>
    nickboldt and amisevsk committed Nov 18, 2023
    Configuration menu
    Copy the full SHA
    1d669ad View commit details
    Browse the repository at this point in the history
  2. Update devspaces-udi/Dockerfile

    Co-authored-by: Angel Misevski <amisevsk@redhat.com>
    nickboldt and amisevsk committed Nov 18, 2023
    Configuration menu
    Copy the full SHA
    27cc42c View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Configuration menu
    Copy the full SHA
    3f6939f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b6d707 View commit details
    Browse the repository at this point in the history
  3. Ensure PATH contains /home/user/ and /home/tooling/ entries

    Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
    AObuchow committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    c41126d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    82cfdbf View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. 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 <aobuchow@redhat.com>
    AObuchow committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    49b87a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4321b73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d94abfc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9df2e2c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    761a5ce View commit details
    Browse the repository at this point in the history