Skip to content

Commit

Permalink
ls
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed Nov 1, 2024
1 parent 1006bb1 commit 77e18af
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/run-globus.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
branch = sys.argv[2]
endpoint = sys.argv[3]

with open('perlmutter/env.sh', 'rb') as file:
with open('perlmutter/env.sh', 'r') as file:
env_file = file.read()

with open('perlmutter/install.sh', 'rb') as file:
with open('perlmutter/install.sh', 'r') as file:
install_file = file.read()

def run_on_endpoint(name, branch, env_file, install_file):
Expand All @@ -31,7 +31,8 @@ def run_on_endpoint(name, branch, env_file, install_file):
text_file.write("%s" % install_file)
text_file.close()

install_command = "cd {0}-test && source env.sh && ./install.sh {0} {1}".format(name, branch)
# install_command = "cd {0}-test && source env.sh && ./install.sh {0} {1}".format(name, branch)
install_command = "cd {0}-test && ls".format(name, branch)
install = subprocess.run([install_command], shell=True, encoding="utf_8", stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
return (install, None)

Expand Down

0 comments on commit 77e18af

Please sign in to comment.