Skip to content
Permalink
Browse files

Testing new pipeline

  • Loading branch information...
Rafal Zielinski
Rafal Zielinski committed Mar 18, 2019
1 parent 9575937 commit 1b889b8878fdd0eb444addf049e610eb6dedc440
Showing with 10 additions and 1 deletion.
  1. +10 −1 .gitlab-ci.yml
@@ -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.
You can’t perform that action at this time.