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 \
|
--name scwrypts/virtualenv/update-all \
|
||||||
--group scwrypts \
|
--group scwrypts \
|
||||||
--type zsh \
|
--type zsh \
|
||||||
;
|
> $HOME/.scwrypts.virtualenv.log 2>&1
|
||||||
#> $HOME/.scwrypts.virtualenv.log 2>&1
|
|
||||||
|
|
||||||
echo "CI_SCWRYPTS_READY=1" >> $GITHUB_ENV
|
echo "CI_SCWRYPTS_READY=1" >> $GITHUB_ENV
|
||||||
exit 0
|
exit 0
|
||||||
|
1
run
1
run
@ -218,6 +218,7 @@ __RUN() {
|
|||||||
|
|
||||||
[[ $ENV_REQUIRED -eq 1 ]] && {
|
[[ $ENV_REQUIRED -eq 1 ]] && {
|
||||||
[ ! $ENV_NAME ] && ENV_NAME=$(SCWRYPTS__SELECT_ENV)
|
[ ! $ENV_NAME ] && ENV_NAME=$(SCWRYPTS__SELECT_ENV)
|
||||||
|
|
||||||
for GROUP in ${SCWRYPTS_GROUPS[@]}
|
for GROUP in ${SCWRYPTS_GROUPS[@]}
|
||||||
do
|
do
|
||||||
local ENV_FILE=$(SCWRYPTS__GET_ENV_FILE "$ENV_NAME" "$GROUP")
|
local ENV_FILE=$(SCWRYPTS__GET_ENV_FILE "$ENV_NAME" "$GROUP")
|
||||||
|
@ -47,6 +47,13 @@ do
|
|||||||
}
|
}
|
||||||
done
|
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
|
[ $NO_EXPORT_CONFIG ] || __SCWRYPT=1 # arbitrary; indicates currently inside a scwrypt
|
||||||
true
|
true
|
||||||
|
Loading…
Reference in New Issue
Block a user