Initial commit

This commit is contained in:
Sonny Bakker 2021-01-31 23:32:33 +01:00
commit b16f2585c7
19 changed files with 690 additions and 0 deletions

26
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,26 @@
stages:
- lint
- test
cache:
key: $CI_COMMIT_REF_SLUG
paths:
- .cache/pip
- node_modules/
lint:
stage: lint
image: node:12
before_script:
- npm install prettier --no-save
script:
- npx prettier '**/*.yml' --check
syntax-test:
stage: test
image: python:3.7
before_script:
- pip install ansible --quiet
- ansible-galaxy install -r requirements.yml
script:
- ansible-playbook playbook.yml --syntax-check