diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6d11e02aa997beecc95c0f4dc61fc62e394f369f..d1437f35cd46379d70a1a089da748c0894be67e7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,29 @@ stages: - test -test_job: +test_scripts: stage: test script: - vagrant --fixture=scripts -- up - vagrant --fixture=scripts -- ssh -- -tt "cd /vagrant && pytest test/scripts/" - vagrant --fixture=scripts -- destroy --force when: manual + +test_streaming_sim: + stage: test + script: + - vagrant --fixture=streaming-sim -- up + - vagrant --fixture=streaming-sim -- ssh -- -tt "cd /vagrant && pytest test/streaming-sim/" + - vagrant --fixture=streaming-sim -- destroy --force + when: manual + +test_telegraf_agents: + stage: test + script: + - vagrant --fixture=telegraf-agents -- up + - vagrant --fixture=telegraf-agents -- ssh -- -tt "cd /vagrant && pytest test/telegraf-agents/" + - vagrant --fixture=telegraf-agents -- destroy --force + when: manual