Skip to content
Snippets Groups Projects
Commit 00d52935 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

updates to actually run deploy from the deploy job. :)

parent ee293f27
No related branches found
No related tags found
No related merge requests found
Pipeline #2629 failed
......@@ -165,7 +165,7 @@ elfdep-centos75:
deploy-u18:
stage: deploy
script:
- ./cicd_testing/elfdep.sh
- ./cicd_testing/deploy.sh
tags:
- ubuntu18
variables:
......
......@@ -17,6 +17,19 @@ print_usage()
echo ""
}
function is_in_activation
{
service "$1" status
activation=$(service "$1" status | grep "Active: activation" )
if [ -z "$activation" ]; then
true;
else
false;
fi
return $?;
}
main()
{
local res=0
......@@ -36,8 +49,7 @@ main()
echo
echo "Setting up postgres..."
echo
service postgresql start
sleep 2 # let service start up enough to print the message
service postgresql start
echo
echo 'The IRDB toolchain is setup and ready to run.'
echo 'You could start your first experiment with:'
......@@ -56,7 +68,7 @@ main()
echo ' < ls output > '
echo 'zuser@a3fc1666aaa4:~$ readelf -l /bin/ls ./ls.p1 '
echo
exec sudo su - zuser
bash
res=0
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment