Skip to content

Add TASK_ID environment variable with the singularity task_id#1170

Merged
ssalinas merged 1 commit into
HubSpot:masterfrom
grepsr:task_id_env_variable
Aug 5, 2016
Merged

Add TASK_ID environment variable with the singularity task_id#1170
ssalinas merged 1 commit into
HubSpot:masterfrom
grepsr:task_id_env_variable

Conversation

@grepsr

@grepsr grepsr commented Jul 25, 2016

Copy link
Copy Markdown

This could be helpful to get the actual TASK_ID of a Singularity task, rather than just the TASK_REQUEST_ID

@grepsr

grepsr commented Jul 25, 2016

Copy link
Copy Markdown
Author

Our containers rely exclusively on the TASK_ID variable to do some cleanup when webhooks are triggered. I think it is a good addition, because I did not find a very straight forward way to get the exact TASK_ID for a request (there might be multiple tasks in a request)

@grepsr

grepsr commented Aug 3, 2016

Copy link
Copy Markdown
Author

Can we please get this small patch into 0.10?

Having the actual TASK_ID accessible on every container is certainly helpful for referencing purposes.

Thanks

@ssalinas ssalinas modified the milestone: 0.10.0 Aug 4, 2016
@ssalinas ssalinas merged commit 6abdecd into HubSpot:master Aug 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants