Skip to content

Commit

Permalink
Testing new pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafal Zielinski committed Mar 18, 2019
1 parent 9575937 commit 1b889b8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .gitlab-ci.yml
Expand Up @@ -16,4 +16,13 @@ molecule:
tags:
- shell
script:
- cd playbooks/roles/$CI_COMMIT_DESCRIPTION/ && molecule test
- |
cd playbooks/roles/
if [[ ! -z "$CI_COMMIT_DESCRIPTION" ]]; then
cd $CI_COMMIT_DESCRIPTION/ && molecule test
else
for role in `find . -type d -name "molecule" | cut -d'/' -f 2`; do
cd $role && molecule test
cd ..
done
fi

0 comments on commit 1b889b8

Please sign in to comment.