summaryrefslogtreecommitdiffstats
path: root/templates/base/agl-callback.jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base/agl-callback.jinja2')
-rw-r--r--templates/base/agl-callback.jinja211
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/base/agl-callback.jinja2 b/templates/base/agl-callback.jinja2
new file mode 100644
index 0000000..6798b17
--- /dev/null
+++ b/templates/base/agl-callback.jinja2
@@ -0,0 +1,11 @@
+{%- block notify -%}
+notify:
+ criteria:
+ status: finished
+ callback:
+ url: {{ backend_fqdn }}/callback/{{ callback_name }}?lab_name={{ lab_name }}&status={STATUS}&status_string={STATUS_STRING}
+ method: POST
+ dataset: all
+ token: {{ lab_token }}
+ content-type: json
+{%- endblock %}