Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Steven Gueguen
slapos
Commits
343f2af5
Commit
343f2af5
authored
Sep 30, 2022
by
Ophélie Gagnard
Committed by
Ophélie Gagnard
Oct 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/erp5testnode/testsuite/deploy-test: Comment changes.
parent
2ac3a536
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
software/erp5testnode/testsuite/deploy-test/buildout.hash.cfg
...ware/erp5testnode/testsuite/deploy-test/buildout.hash.cfg
+1
-1
software/erp5testnode/testsuite/deploy-test/deploy-script-controller
...p5testnode/testsuite/deploy-test/deploy-script-controller
+5
-2
No files found.
software/erp5testnode/testsuite/deploy-test/buildout.hash.cfg
View file @
343f2af5
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
# not need these here).
# not need these here).
[deploy-script-controller-script]
[deploy-script-controller-script]
filename = deploy-script-controller
filename = deploy-script-controller
md5sum =
00bceb73d800806c100312ee027dcdcf
md5sum =
ca83be8dd6ebebe0fa37ec1266330b0d
[template-deploy-test]
[template-deploy-test]
filename = instance.cfg.in
filename = instance.cfg.in
...
...
software/erp5testnode/testsuite/deploy-test/deploy-script-controller
View file @
343f2af5
...
@@ -13,10 +13,13 @@
...
@@ -13,10 +13,13 @@
# Format of data-to-vm is shell script:
# Format of data-to-vm is shell script:
# URL=<url>\nWAITTIME=<seconds>\nTRIES=<amount>
# URL=<url>\nWAITTIME=<seconds>\nTRIES=<amount>
#
#
#
Expected
values in configuration:
#
MANDATORY
values in configuration:
# * URL - the url of the script to download and test
# * URL - the url of the script to download and test
# OPTIONAL values in configuration:
# * WAITTIME - waiting time, before next try
# * WAITTIME - waiting time, before next try
# * TRIES - amount of tries
# * TRIES - amount of tries
# * any other exported variables can be used by the deployment script
# note: you need to export the variables for them to be used in the deployment script
# Possible TODOs:
# Possible TODOs:
# * post results on each try
# * post results on each try
...
@@ -34,7 +37,7 @@ if [ -z "$LOG_FILE" ] ; then
...
@@ -34,7 +37,7 @@ if [ -z "$LOG_FILE" ] ; then
fi
fi
if
[
-z
"
$URL
"
]
;
then
if
[
-z
"
$URL
"
]
;
then
echo
"URL is missing"
>>
"
$LOG_FILE
"
2>&1
echo
"URL is missing
.
"
>>
"
$LOG_FILE
"
2>&1
exit
1
exit
1
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment