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

ci for givry

parent f3508e15
No related branches found
No related tags found
No related merge requests found
...@@ -45,17 +45,20 @@ test:all: ...@@ -45,17 +45,20 @@ test:all:
dependencies: dependencies:
- build:tests - build:tests
script: script:
# - echo "REPO_USER=${REPO_USER}" > reporc - echo "REPO_USER=${REPO_USER}" > reporc
# - echo "REPO_PASS=${REPO_PASS}" >> reporc - echo "REPO_PASS=${REPO_PASS}" >> reporc
- vagrant --fixture=scripts -- up - sudo /vagrant/scripts/test/fixtures.sh create -f /vagrant/src/test/clmctest/rspec.json
- vagrant --fixture=scripts -- ssh test-runner -- -tt "pip3 install /vagrant/build/clmctest-SNAPSHOT.tar.gz" - sudo lxc-attach -n test-runner
- vagrant --fixture=scripts -- ssh test-runner -- -tt "pytest -s --pyargs clmctest.scripts" - cd /vagrant/src/test
- vagrant --fixture=monitoring -- up - python setup.py sdist --dist-dir=../../build
- vagrant --fixture=monitoring -- ssh test-runner -- -tt "pip3 install /vagrant/build/clmcservice-SNAPSHOT.tar.gz" - cd ../../src/service
- vagrant --fixture=monitoring -- ssh test-runner -- -tt "pytest -s --pyargs clmctest.monitoring" - python setup.py sdist --dist-dir=../../build
- vagrant --fixture=monitoring -- ssh test-runner -- -tt "pytest -s --pyargs clmcservice.tests" - pip3 install /vagrant/build/clmctest-SNAPSHOT.tar.gz
- vagrant --fixture=inputs -- up - pip3 install /vagrant/build/clmcservice-SNAPSHOT.tar.gz
- vagrant --fixture=inputs -- ssh test-runner -- -tt "pytest -s --pyargs clmctest.inputs" - pytest -s --pyargs clmctest.scripts
- pytest -s --pyargs clmcservice.tests
- pytest -s --pyargs clmctest.inputs
- pytest -s --pyargs clmctest.monitoring
when: on_success when: on_success
clean: clean:
...@@ -63,5 +66,5 @@ clean: ...@@ -63,5 +66,5 @@ clean:
only: only:
- schedules - schedules
script: script:
- python scripts/test/deleteallvms.py - sudo /vagrant/scripts/test/fixtures.sh destroy -f /vagrant/src/test/clmctest/rspec.json
when: always when: always
\ No newline at end of file
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