Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
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
slapos.core!418
parent
ddf132c0
Changes
1
Hide 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