File tree Expand file tree Collapse file tree 3 files changed +15
-32
lines changed Expand file tree Collapse file tree 3 files changed +15
-32
lines changed Original file line number Diff line number Diff line change @@ -396,33 +396,6 @@ def install_server():
396
396
check = True ,
397
397
)
398
398
399
- typer .secho ("Copying credentials and certificates" , fg = c .GREEN )
400
- base_cmd = _build_docker_cmd ("client" , tty = False )
401
- subprocess .run (
402
- base_cmd
403
- + [
404
- "mkdir" ,
405
- "-p" ,
406
- "/home/dirac/ServerInstallDIR/user" ,
407
- "/home/dirac/ClientInstallDIR/etc" ,
408
- "/home/dirac/.globus" ,
409
- ],
410
- check = True ,
411
- )
412
-
413
- base_cmd = _build_docker_cmd ("pilot" , tty = False )
414
- subprocess .run (
415
- base_cmd
416
- + [
417
- "mkdir" ,
418
- "-p" ,
419
- "/home/dirac/ServerInstallDIR/user" ,
420
- "/home/dirac/PilotInstallDIR/etc" ,
421
- "/home/dirac/.globus" ,
422
- ],
423
- check = True ,
424
- )
425
-
426
399
427
400
@app .command ()
428
401
def install_client ():
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ source CONFIG
16
16
# shellcheck disable=SC2034
17
17
CSURL=https://$SERVER_HOST :9135/Configuration/Server
18
18
19
+ mkdir -p /home/dirac/ClientInstallDIR/etc
20
+ mkdir -p /home/dirac/.globus
21
+
19
22
echo -e " *** $( date -u) **** Getting the tests ****\n"
20
23
21
24
mkdir -p " $PWD /TestCode"
Original file line number Diff line number Diff line change @@ -11,11 +11,18 @@ set -x
11
11
source CONFIG
12
12
13
13
# Creating "the worker node"
14
+ mkdir -p /home/dirac/PilotInstallDIR/etc/grid-security/certificates
15
+ mkdir -p /home/dirac/PilotInstallDIR/etc/grid-security/vomsdir
16
+ mkdir -p /home/dirac/PilotInstallDIR/etc/grid-security/vomses
17
+
18
+ cp /ca/certs/pilot.pem /home/dirac/PilotInstallDIR/etc/grid-security/hostcert.pem
19
+ cp /ca/certs/pilot.key /home/dirac/PilotInstallDIR/etc/grid-security/hostkey.pem
20
+ cp /ca/certs/ca.cert.pem /home/dirac/PilotInstallDIR/etc/grid-security/certificates
21
+
22
+ touch /home/dirac/PilotInstallDIR/etc/grid-security/vomsdir/vomsdir
23
+ touch /home/dirac/PilotInstallDIR/etc/grid-security/vomses/vomses
24
+
14
25
cd /home/dirac/PilotInstallDIR
15
- mkdir -p etc/grid-security/vomsdir
16
- mkdir -p etc/grid-security/vomses
17
- touch etc/grid-security/vomsdir/vomsdir
18
- touch etc/grid-security/vomses/vomses
19
26
20
27
eval " ${PILOT_DOWNLOAD_COMMAND} "
21
28
@@ -29,7 +36,7 @@ elif command -v python2 &> /dev/null; then
29
36
py=' python2'
30
37
fi
31
38
32
- more pilot.json
39
+ more pilot.json | jq
33
40
34
41
# shellcheck disable=SC2086
35
42
$py ${PILOT_INSTALLATION_COMMAND}
You can’t perform that action at this time.
0 commit comments