[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-cloud/master] Add CloudFormation linter to GitLab CI
commit 3022a0c2a3c18cfdb2342fdde348b282cb3ef9ed
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date: Wed Aug 14 15:54:29 2019 +0100
Add CloudFormation linter to GitLab CI
---
.gitlab-ci.yml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index db99318..016e575 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,7 @@ variables:
stages:
- ansible-lint
+ - cfn-lint
ansible-lint:
stage: ansible-lint
@@ -12,3 +13,12 @@ ansible-lint:
- apt -y install ansible-lint
- pushd ansible
- ansible-lint -x 403 site.yml
+
+cfn-lint:
+ stage: cfn-lint
+ image: debian:buster
+ script:
+ - apt -y update
+ - apt -y install python3-pip
+ - pip3 install cfn-lint
+ - cfn-lint cloudformation/*.yml
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits