[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-cloud/master] Run ansible-lint in GitLab CI
commit 8ea774f250bb12dbcdaa515b3e58d91c47b67cf7
Author: Iain R. Learmonth <irl@xxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits