summaryrefslogtreecommitdiff
path: root/templates/fragment_runner_config.toml.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/fragment_runner_config.toml.erb')
-rw-r--r--templates/fragment_runner_config.toml.erb10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/fragment_runner_config.toml.erb b/templates/fragment_runner_config.toml.erb
index a9c3ca3..092e37d 100644
--- a/templates/fragment_runner_config.toml.erb
+++ b/templates/fragment_runner_config.toml.erb
@@ -1,6 +1,8 @@
[[runners]]
+<% if @name -%>
name = "<%= @name %>"
+<% end -%>
executor = "<%= @executor %>"
<% if @url -%>
url = "<%= @url %>"
@@ -26,6 +28,12 @@
<% if @output_limit -%>
output_limit = <%= @output_limit %>
<% end -%>
+<% if @tls_skip_verify -%>
+ tls_skip_verify = <%= @tls_skip_verify %>
+<% end -%>
+<% if @tls_ca_file -%>
+ tls_ca_file = "<%= @tls_ca_file %>"
+<% end -%>
<% if executor == 'docker' -%>
[runners.docker]
<%- if @docker_params['host'] -%>
@@ -92,4 +100,4 @@
<%- if @ssh_params['identity_file'] -%>
identity_file = "<%= @ssh_params['identity_file'] %>"
<%- end -%>
-<% end -%> \ No newline at end of file
+<% end -%>