|
10 | 10 |
|
11 | 11 | Script.parseCommandLine()
|
12 | 12 |
|
13 |
| -setupName = "dirac-JenkinsSetup" |
14 |
| - |
15 | 13 | # Where to store outputs
|
16 |
| -if not os.path.isdir(f"{setupName}/sandboxes"): |
17 |
| - os.makedirs(f"{setupName}/sandboxes") |
| 14 | +if not os.path.isdir("sandboxes"): |
| 15 | + os.makedirs("sandboxes") |
18 | 16 |
|
19 | 17 | # now updating the CS
|
20 | 18 |
|
21 | 19 | from DIRAC.ConfigurationSystem.Client.CSAPI import CSAPI
|
22 | 20 |
|
23 | 21 | csAPI = CSAPI()
|
24 | 22 |
|
25 |
| -csAPI.setOption("Systems/WorkloadManagement/Services/SandboxStore/BasePath", f"{setupName}/sandboxes") |
| 23 | +csAPI.setOption("Systems/WorkloadManagement/Services/SandboxStore/BasePath", "sandboxes") |
26 | 24 | csAPI.setOption("Systems/WorkloadManagement/Services/SandboxStore/LogLevel", "DEBUG")
|
27 |
| -csAPI.setOption("Systems/WorkloadManagement/Services/TornadoSandboxStore/BasePath", f"{setupName}/sandboxes") |
| 25 | +csAPI.setOption("Systems/WorkloadManagement/Services/TornadoSandboxStore/BasePath", "sandboxes") |
28 | 26 | csAPI.setOption("Systems/WorkloadManagement/Services/TornadoSandboxStore/LogLevel", "DEBUG")
|
29 | 27 |
|
30 | 28 | # Now setting a SandboxSE as the following:
|
|
63 | 61 | csAPI.setOption("Resources/StorageElements/ProductionSandboxSE/DIP/ProtocolName", "DIP")
|
64 | 62 | csAPI.setOption("Resources/StorageElements/ProductionSandboxSE/DIP/Protocol", "dips")
|
65 | 63 | csAPI.setOption("Resources/StorageElements/ProductionSandboxSE/DIP/Access", "remote")
|
66 |
| -csAPI.setOption("Resources/StorageElements/ProductionSandboxSE/DIP/Path", f"{setupName}/sandboxes") |
| 64 | +csAPI.setOption("Resources/StorageElements/ProductionSandboxSE/DIP/Path", "sandboxes") |
67 | 65 |
|
68 | 66 | # Now setting a FileCatalogs section as the following:
|
69 | 67 | # FileCatalogs
|
|
0 commit comments