Skip to content

Commit b2187ff

Browse files
fixed name not set bug, renamed path of ingetration_test bibigrid.yaml to bibigrid_test.yaml
1 parent 8857a61 commit b2187ff

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

bibigrid/core/utility/ansible_configurator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ def generate_site_file_yaml(user_roles):
5858

5959
def get_full_volume_name(volume, name, count):
6060
if volume.get("exists"):
61-
return volume["name"]
62-
61+
return volume.get("name")
6362
if volume.get("permanent"):
6463
infix = "perm"
6564
elif volume.get("semiPermanent"):

tests/integration/integration_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
def start_cluster():
2020
"""Start the cluster by calling bibigrid.sh."""
2121
print("Starting the cluster...")
22-
result = subprocess.run([BIBIGRID_SCRIPT, "-c", "-vv", "-i", "bibigrid.yaml"], capture_output=True, text=True,
22+
result = subprocess.run([BIBIGRID_SCRIPT, "-c", "-vv", "-i", "bibigrid_test.yaml"], capture_output=True, text=True,
2323
check=False)
2424
if result.returncode == 0:
2525
print("Cluster started successfully.")
@@ -58,7 +58,7 @@ def ssh_command(master_ip, keyfile, command, ssh_user):
5858
def terminate_cluster():
5959
"""Terminate the cluster by calling bibigrid.sh."""
6060
print("Terminating the cluster...")
61-
result = subprocess.run([BIBIGRID_SCRIPT, "-i", "bibigrid.yaml", "-t", "-vv"], capture_output=True, text=True,
61+
result = subprocess.run([BIBIGRID_SCRIPT, "-i", "bibigrid_test.yaml", "-t", "-vv"], capture_output=True, text=True,
6262
check=False)
6363
if result.returncode == 0:
6464
print("Cluster terminated successfully.")

0 commit comments

Comments
 (0)