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
Léo-Paul Géneau
slapos
Commits
97eab1c1
Commit
97eab1c1
authored
Sep 21, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deploy-test: follow up mktemp changes
see
nexedi/slapos.core!418
parent
ddf132c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
software/erp5testnode/testsuite/deploy-test/standalone-local-playbook
...5testnode/testsuite/deploy-test/standalone-local-playbook
+5
-4
No files found.
software/erp5testnode/testsuite/deploy-test/standalone-local-playbook
View file @
97eab1c1
...
...
@@ -1950,10 +1950,10 @@ function download_playbook {
if
[
!
-f
/etc/opt/slapcache.cfg
]
;
then
slapcache-conf
fi
DFILE
=
"/tmp/tmpplaybook
$(
basename
$0
)
.
$$
/"
DFILE
=
$(
mktemp
-d
-t
"
$(
basename
"
$0
"
)
"
-XXXXXXXXXXXX
)
TFILE
=
"archive.tar.gz"
mkdir
-p
$DFILE
cd
$DFILE
cd
"
$DFILE
"
||
exit
1
slapcache-download
--destination
=
$TFILE
tar
-xzvf
$TFILE
rm
$TFILE
...
...
@@ -2198,10 +2198,11 @@ if [ ! -f /etc/opt/slapcache.cfg ]; then
fi
sed
-i
"s/key = slapos-global-key/key = slapos-global-official-vifib-key/g"
/etc/opt/slapcache.cfg
DFILE
=
"/tmp/tmpplaybook_unstable
$(
basename
$0
)
.
$$
/"
DFILE
=
$(
mktemp
-d
-t
"
$(
basename
"
$0
"
)
"
-XXXXXXXXXXXX
)
TFILE
=
"archive.tar.gz"
mkdir
-p
$DFILE
cd
$DFILE
cd
"
$DFILE
"
||
exit
1
wget
-O
$TFILE
http://10.0.2.100/playbook.tar.gz
tar
-xzvf
$TFILE
rm
$TFILE
...
...
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