Commit 78e655e2 authored by TonyFord's avatar TonyFord
Browse files

fix

parent 05e99f6a
#!/bin/bash #!/bin/bash
getenvfiles(){
projectfolder=${PWD##*/}
filenames=`ls -p ../${projectfolder}.tmp | grep -v /`
for eachfile in $filenames
do
export ${eachfile}=${PWD}/../${projectfolder}.tmp/${eachfile}
done
}
export RUNNER_UID=`id -u` export RUNNER_UID=`id -u`
export RUNNER_GID=`id -g` export RUNNER_GID=`id -g`
if [ -d ../${CI_PROJECT_NAME}.tmp ]; then if [ -d ../${CI_PROJECT_NAME}.tmp ]; then
export `cat ./${CI_PROJECT_NAME}.tmp/*` # export `cat ./${CI_PROJECT_NAME}.tmp/*`
getenvfiles
else else
export `cat ./env/*` export `cat ./env/*`
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment