Skip to content
Snippets Groups Projects
Commit 0fdcc2b0 authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

Add gitlab CI config

parent 180a8274
Branches
No related tags found
No related merge requests found
skip_list:
- role-name
---
stages:
- linting
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache
ansible-lint:
stage: linting
image: registry.gitlab.com/pipeline-components/ansible-lint:latest
before_script:
- pip3 install yamllint
script:
- ansible-lint .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment