launch tests on start

This commit is contained in:
Leif Johansson 2019-05-16 08:42:57 +02:00
parent 0e1bdfa5b6
commit 32dbff0a15

View file

@ -398,6 +398,12 @@ class eidastest($version="1.0.0", $hostname="locahost") {
description => 'eidastest service',
compose_dir => "${home}",
content => inline_template("<%= @compose.to_yaml %>\n")
} ->
exec { 'launch_test_prod':
command => "wget --no-check-certificate -qO- https://localhost/testid/prod/execution-start/7"
} ->
exec { 'launch_test_qa':
command => "wget --no-check-certificate -qO- https://localhost/testid/qa/execution-start/27"
}
ensure_resource('class','webserver',{})
ensure_resource('class','https_server',{})