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: stages:
- test:scripts - test
- test:streaming_sim
- test:telegraf_agents
test:scripts: test:scripts:
stage: test:scripts stage: test
before_script: before_script:
- vagrant --fixture=scripts -- destroy --force - vagrant --fixture=scripts -- destroy --force
script: script:
- vagrant --fixture=scripts -- up - vagrant --fixture=scripts -- up
- vagrant --fixture=scripts -- ssh test-runner -- -tt "cd /vagrant && pytest test/scripts/" - vagrant --fixture=scripts -- ssh test-runner -- -tt "cd /vagrant && pytest test/scripts/"
after_script: after_script:
- vagrant --fixture=scripts -- destroy --force - vagrant --fixture=scripts -- destroy --force
when: manual when: manual
test:streaming_sim: test:streaming_sim:
stage: test:streaming_sim stage: test
before_script: before_script:
- vagrant --fixture=streaming-sim -- destroy --force - vagrant --fixture=streaming-sim -- destroy --force
script: script:
- vagrant --fixture=streaming-sim -- up - vagrant --fixture=streaming-sim -- up
- vagrant --fixture=streaming-sim -- ssh test-runner -- -tt "cd /vagrant && pytest test/streaming-sim/" - vagrant --fixture=streaming-sim -- ssh test-runner -- -tt "cd /vagrant && pytest test/streaming-sim/"
after_script: after_script:
- vagrant --fixture=streaming-sim -- destroy --force - vagrant --fixture=streaming-sim -- destroy --force
dependencies:
- test:streaming_sim
when: manual when: manual
test:telegraf_agents: test:telegraf_agents:
stage: test:telegraf_agents stage: test
before_script: before_script:
- vagrant --fixture=telegraf-agents -- destroy --force - vagrant --fixture=telegraf-agents -- destroy --force
script: script:
...@@ -34,6 +34,8 @@ test:telegraf_agents: ...@@ -34,6 +34,8 @@ test:telegraf_agents:
- vagrant --fixture=telegraf-agents -- ssh test-runner -- -tt "cd /vagrant && pytest test/telegraf-agents/" - vagrant --fixture=telegraf-agents -- ssh test-runner -- -tt "cd /vagrant && pytest test/telegraf-agents/"
after_script: after_script:
- vagrant --fixture=telegraf-agents -- destroy --force - vagrant --fixture=telegraf-agents -- destroy --force
dependencies:
- test:streaming_sim
when: manual 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