Skip to content

Commit

Permalink
Update dags_airflow_fede_rucio.py
Browse files Browse the repository at this point in the history
  • Loading branch information
leggerf authored Jan 31, 2024
1 parent aab952f commit 285ed61
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions dags_airflow_fede_rucio.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,11 @@
def rucio_task():
log.info("Using image " + f"{repo}:{tag}")

response = subprocess.run("whoami", capture_output=True, text=True)

# response= subprocess.call(["/root/get-token.sh"], stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
# response = subprocess.run("whoami", capture_output=True, text=True)
response = subprocess.run("/home/airflow/get-token.sh", capture_output=True, text=True)
log.info("Response " + str(response))
#log.info("stdout " + stdout)
#log.info("stderr " + stderr)
log.info("stdout " + response.stdout)
log.info("stderr " + response.stderr)

rucio_task = rucio_task()

Expand Down

0 comments on commit 285ed61

Please sign in to comment.