added jupyterhub related workflow to group created

This commit is contained in:
Marco Lettere 2022-07-14 14:39:44 +02:00
parent 18cb707053
commit b0e83cc47d
2 changed files with 43 additions and 12 deletions

View File

@ -4,7 +4,7 @@ workflows:
# - group_deleted
# - user-group_created
# - user-group-role_created
# - group_created
- group_created
# - invitation-accepted
# - user-group_deleted
# - user-group-role_deleted
@ -26,7 +26,7 @@ workflows:
# - ghn_client_delete
# - ghn_client_remove_from_contexts
# - ghn_client_remove_from_context
- jupyterhub_add_serveroptions_to_context
# - jupyterhub_add_serveroptions_to_context
keycloak_host: "https://accounts.dev.d4science.org/auth"
keycloak: "{{ keycloak_host }}/realms"

View File

@ -525,6 +525,12 @@
}
}
},
{
"name" : "fork_subworkflows",
"type" : "FORK_JOIN",
"taskReferenceName" : "parallel_call_subworkflows",
"forkTasks" : [
[
{
"name": "sub_workflow_task",
"taskReferenceName": "call_enable_workspace_clients_for_context",
@ -536,5 +542,30 @@
},
"type": "SUB_WORKFLOW"
}
],
[
{
"name": "sub_workflow_task",
"taskReferenceName": "call_jupyterhub_add_serveroptions_to_context",
"subWorkflowParam": {
"name": "jupyterhub_add_serveroptions_to_context"
},
"inputParameters": {
"context" : "${workflow.input.group}"
},
"type": "SUB_WORKFLOW"
}
]
]
},
{
"name" : "join",
"type" : "JOIN",
"taskReferenceName" : "join_parallel_call_subworkflows"
"joinOn :[
"call_enable_workspace_clients_for_context",
"call_jupyterhub_add_serveroptions_to_context"
]
}
]
}