Skip to content

Commit

Permalink
Propagate SWAN_DEV env variable to culler service
Browse files Browse the repository at this point in the history
The culler service invokes check_ticket.sh, which invokes
eos_token.sh, which makes use of the SWAN_DEV variable to decide
on its behaviour.

Without this setting, the culler service does not get such
variable from the hub, even when it's set for a dev cluster.
  • Loading branch information
etejedor committed Aug 31, 2023
1 parent f1397c6 commit 1ef29e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swan/files/swan_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def swan_pod_hook(spawner, pod):
"name": "cull-idle",
"admin": True,
"command": cull_cmd,
"environment": {'SWAN_DEV': os.environ.get('SWAN_DEV', 'false')}
}
)

Expand Down

0 comments on commit 1ef29e9

Please sign in to comment.