Skip to content
Snippets Groups Projects
Commit e817f64e authored by Michael Boniface's avatar Michael Boniface
Browse files

Update .gitlab-ci.yml

parent 71cd8eb2
No related branches found
No related tags found
No related merge requests found
stages:
- test:scripts
- test:streaming_sim
- test:telegraf_agents
- test
test:scripts:
stage: test:scripts
stage: test
before_script:
- vagrant --fixture=scripts -- destroy --force
script:
- vagrant --fixture=scripts -- up
- vagrant --fixture=scripts -- ssh test-runner -- -tt "cd /vagrant && pytest test/scripts/"
after_script:
- vagrant --fixture=scripts -- destroy --force
- vagrant --fixture=scripts -- destroy --force
when: manual
test:streaming_sim:
stage: test:streaming_sim
stage: test
before_script:
- vagrant --fixture=streaming-sim -- destroy --force
script:
- vagrant --fixture=streaming-sim -- up
- vagrant --fixture=streaming-sim -- ssh test-runner -- -tt "cd /vagrant && pytest test/streaming-sim/"
after_script:
- vagrant --fixture=streaming-sim -- destroy --force
- vagrant --fixture=streaming-sim -- destroy --force
dependencies:
- test:streaming_sim
when: manual
test:telegraf_agents:
stage: test:telegraf_agents
stage: test
before_script:
- vagrant --fixture=telegraf-agents -- destroy --force
script:
......@@ -34,6 +34,8 @@ test:telegraf_agents:
- vagrant --fixture=telegraf-agents -- ssh test-runner -- -tt "cd /vagrant && pytest test/telegraf-agents/"
after_script:
- vagrant --fixture=telegraf-agents -- destroy --force
dependencies:
- test:streaming_sim
when: manual
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment