diff options
| author | jerome <jerome@xlinfo.fr> | 2023-05-06 09:18:42 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2023-05-06 09:18:42 +0200 |
| commit | fe3cc8d1a1cb0bca1dd7172bb198117b9069f996 (patch) | |
| tree | 2989df51a9d7fc45cb79918c0f61d2ae54aae74f | |
| parent | 6f6b07ec602f1ade81d27bbe2533abc82e4d0606 (diff) | |
| download | helloworld-fe3cc8d1a1cb0bca1dd7172bb198117b9069f996.tar.gz helloworld-fe3cc8d1a1cb0bca1dd7172bb198117b9069f996.zip | |
update .gitlab-ci.yml
| -rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 40dbc12..f91b556 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,12 +17,11 @@ build-job: - loufux-docker image: ansible script: - - ansible-galaxy install git+https://gitlab.com/loufux/ansible/helloworld.git - - ansible-galaxy list - - ansible-playbook ~/.ansible/roles/helloworld/tests/test.yml + - ansible-galaxy install git+https://gitlab.com/loufux/ansible/helloworld.git --roles-path "." + - ansible-playbook helloworld/tests/test.yml artifacts: paths: - - ~/.ansible/roles/helloworld + - helloworld lint-test-job: stage: test @@ -30,7 +29,7 @@ lint-test-job: - loufux-docker image: ansible script: - - ansible-lint -p ~/.ansible/roles/helloworld/tests/test.yml | ansible-lint-junit -o ansible-lint.xml || true + - ansible-lint -p helloworld/tests/test.yml | ansible-lint-junit -o ansible-lint.xml || true artifacts: reports: junit: ansible-lint.xml |
