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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos
Commits
343f2af5
Commit
343f2af5
authored
2 years ago
by
Ophélie Gagnard
Committed by
Ophélie Gagnard
2 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/erp5testnode/testsuite/deploy-test: Comment changes.
parent
2ac3a536
Changes
2
Hide 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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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