v3.7.5
===================================================================== --- New Features ------------------------- - adding variables of the format `^SCWRYPTS_GROUP_LOADERS__[a-z_]\+=` will let those files be explicitly sourced during run (this should allow custom group usage in CI)
This commit is contained in:
parent
3ca4fe0c65
commit
91780024f0
@ -55,8 +55,7 @@ runs:
|
||||
--name scwrypts/virtualenv/update-all \
|
||||
--group scwrypts \
|
||||
--type zsh \
|
||||
;
|
||||
#> $HOME/.scwrypts.virtualenv.log 2>&1
|
||||
> $HOME/.scwrypts.virtualenv.log 2>&1
|
||||
|
||||
echo "CI_SCWRYPTS_READY=1" >> $GITHUB_ENV
|
||||
exit 0
|
||||
|
1
run
1
run
@ -218,6 +218,7 @@ __RUN() {
|
||||
|
||||
[[ $ENV_REQUIRED -eq 1 ]] && {
|
||||
[ ! $ENV_NAME ] && ENV_NAME=$(SCWRYPTS__SELECT_ENV)
|
||||
|
||||
for GROUP in ${SCWRYPTS_GROUPS[@]}
|
||||
do
|
||||
local ENV_FILE=$(SCWRYPTS__GET_ENV_FILE "$ENV_NAME" "$GROUP")
|
||||
|
@ -47,6 +47,13 @@ do
|
||||
}
|
||||
done
|
||||
|
||||
#####################################################################
|
||||
|
||||
for GROUP_LOADER in $(env | sed -n 's/^SCWRYPTS_GROUP_LOADER__[a-z_]\+=//p')
|
||||
do
|
||||
[ -f "$GROUP_LOADER" ] && source "$GROUP_LOADER"
|
||||
done
|
||||
|
||||
#####################################################################
|
||||
[ $NO_EXPORT_CONFIG ] || __SCWRYPT=1 # arbitrary; indicates currently inside a scwrypt
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user