feat: integrate work bash modules as submodule

Add work bash utilities as git submodule to centralize and
version-control work development utilities.

Changes:
- Add submodule at .bash_aliases/hosts/work
- Add host loader with single-line import (sources init.sh)
- Company-specific config kept in submodule
- Simplified import chain: just source init.sh

The modules are now independently version-controlled and can be easily
shared across machines or used in other contexts.

Work modules include:
- init.sh: Single entry point for all modules
- config.sh: Company-specific environment configuration
- modules/gitlab.sh: GitLab MR workflow utilities
- modules/jira.sh: Jira issue management aliases
- modules/kubernetes-secrets.sh: K8s secret management
- modules/tenant-manager.sh: Tenant Manager dev tools
This commit is contained in:
2025-12-17 13:52:14 +01:00
parent 63ceb40b45
commit 403d6f543c
3 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
# shellcheck shell=bash
# vim: set ft=bash :
# Source work modules
[ -f "$HOME/.bash_aliases/hosts/work/init.sh" ] && source "$HOME/.bash_aliases/hosts/work/init.sh"

9
.gitmodules vendored Normal file
View File

@@ -0,0 +1,9 @@
[submodule ".bash_aliases/hosts/rightcrowd-modules"]
path = .bash_aliases/hosts/rightcrowd-modules
url = git@gitlab.com:hektor.misplon/bash-modules-rightcrowd.git
[submodule ".bash_aliases/hosts/work-modules"]
path = .bash_aliases/hosts/work-modules
url = git@gitlab.com:hektor.misplon/bash-modules-rightcrowd.git
[submodule ".bash_aliases/hosts/work"]
path = .bash_aliases/hosts/work
url = git@gitlab.com:hektor.misplon/bash-modules-rightcrowd.git