[tor-commits] [metrics-cloud/master] Run ansible-lint in GitLab CI
irl at torproject.org
irl at torproject.org
Wed Aug 14 14:47:46 UTC 2019
commit 8ea774f250bb12dbcdaa515b3e58d91c47b67cf7
Author: Iain R. Learmonth <irl at fsfe.org>
Date: Wed Aug 14 15:47:41 2019 +0100
Run ansible-lint in GitLab CI
---
.gitlab-ci.yml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..db99318
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,14 @@
+variables:
+ GIT_STRATEGY: clone
+
+stages:
+ - ansible-lint
+
+ansible-lint:
+ stage: ansible-lint
+ image: debian:buster
+ script:
+ - apt -y update
+ - apt -y install ansible-lint
+ - pushd ansible
+ - ansible-lint -x 403 site.yml
More information about the tor-commits
mailing list