From 0535413a98ace7cbf301bba18dd95254302d584f Mon Sep 17 00:00:00 2001 From: Loys Ollivier Date: Fri, 8 Sep 2017 09:57:39 +0200 Subject: Add callback option to command line The callback option takes one argument. It is the name of the file located in ./templates/callback/ that contains all the "secret" information such as the callback FQDN, lab name and token. A readme is provided: ./templates/callback/callback_readme.txt Change-Id: Id457d90eba0d1312e43246ca607289ad829fd55f Signed-off-by: Loys Ollivier Signed-off-by: Kevin Hilman --- templates/callback/callback_readme.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 templates/callback/callback_readme.txt (limited to 'templates/callback') diff --git a/templates/callback/callback_readme.txt b/templates/callback/callback_readme.txt new file mode 100644 index 0000000..7bfed0d --- /dev/null +++ b/templates/callback/callback_readme.txt @@ -0,0 +1,19 @@ +## The callbacks info must be in this repo ## +- - - - + +### Requirements: ### + +* Filetype: .cfg +* Filename: .cfg + * [default] section + * backend_fqdn = "The FQDN of the kernelCI backend to callback" + * lab_name = "The lab name as registered for the kernelCI backend" + * lab_token = "The kernelCI backend lab token" + +Example file: lab-mylab.cfg +` +[default] +backend_fqdn = http(s)://api.mylab.com +lab_name = lab-mylab +lab_token = 123g5789-45f4-4f21-a485-7412589df235 +` -- cgit 1.2.3-korg