Skip to content
Snippets Groups Projects
Commit 5c22a3a9 authored by nimrod's avatar nimrod
Browse files

- Revert back to virtualenv.

parent 318d8240
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,8 @@ pipeline { ...@@ -4,7 +4,8 @@ pipeline {
stage('install') { stage('install') {
steps { steps {
sh 'git submodule update --init' sh 'git submodule update --init'
sh 'pip install -r tests/requirements.txt --user' sh 'virtualenv example'
sh '. example/bin/activate && pip install -r tests/requirements.txt'
sh '. example/bin/activate && ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles' sh '. example/bin/activate && ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles'
sh '. example/bin/activate && molecule dependency' sh '. example/bin/activate && molecule dependency'
} }
...@@ -12,13 +13,13 @@ pipeline { ...@@ -12,13 +13,13 @@ pipeline {
stage('test') { stage('test') {
steps { steps {
sh '. example/bin/activate && pre-commit run --all-files' sh '. example/bin/activate && pre-commit run --all-files'
// sh 'molecule test --platform all' // sh '. example/bin/activate && molecule test --platform all'
} }
} }
} }
post { post {
success { success {
sh 'ansible-galaxy import -v' sh '. example/bin/activate && ansible-galaxy import -v'
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment