diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..ec13089 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,8 @@ +--- +include: + - project: 'famedly/company/devops/templates/ci-cd' + ref: 'ansible-v2' + file: '/ansible.yml' + +stages: + - test diff --git a/roles/ktra/defaults/main.yml b/roles/ktra/defaults/main.yml index 5b10f0e..6fd9e95 100644 --- a/roles/ktra/defaults/main.yml +++ b/roles/ktra/defaults/main.yml @@ -15,4 +15,3 @@ ktra_container_labels: {} ktra_container_ports: - 8000:8000 ktra_container_volumes: [] - diff --git a/roles/ktra/tasks/main.yml b/roles/ktra/tasks/main.yml index e6fee6d..8644e3e 100644 --- a/roles/ktra/tasks/main.yml +++ b/roles/ktra/tasks/main.yml @@ -57,5 +57,3 @@ command: - "-c" - "/opt/ktra/config.toml" - - diff --git a/roles/murmur/meta/main.yml b/roles/murmur/meta/main.yml index 8f50abc..85ee9be 100644 --- a/roles/murmur/meta/main.yml +++ b/roles/murmur/meta/main.yml @@ -17,4 +17,3 @@ galaxy_info: galaxy_tags: [] dependencies: [] - diff --git a/roles/murmur/tasks/main.yml b/roles/murmur/tasks/main.yml index 8ed4071..253e143 100644 --- a/roles/murmur/tasks/main.yml +++ b/roles/murmur/tasks/main.yml @@ -43,4 +43,3 @@ volumes: - "{{ murmur_base_path }}:{{ murmur_base_path }}" become: true - diff --git a/tests/sanity/generate-ignore.sh b/tests/sanity/generate-ignore.sh new file mode 100644 index 0000000..7925563 --- /dev/null +++ b/tests/sanity/generate-ignore.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +cd ../../ +while read -r line; do + find plugins -name "*.py" ! -path "plugins/module_utils/*" | xargs -I {} -n 1 printf "{} $line\n" +done <"tests/sanity/ignore.template" diff --git a/tests/sanity/ignore-2.12.txt b/tests/sanity/ignore-2.12.txt new file mode 100644 index 0000000..33d8cf4 --- /dev/null +++ b/tests/sanity/ignore-2.12.txt @@ -0,0 +1 @@ +roles/zammad/templates/zammad-docker.j2 shebang diff --git a/tests/sanity/ignore-2.13.txt b/tests/sanity/ignore-2.13.txt new file mode 100644 index 0000000..33d8cf4 --- /dev/null +++ b/tests/sanity/ignore-2.13.txt @@ -0,0 +1 @@ +roles/zammad/templates/zammad-docker.j2 shebang diff --git a/tests/sanity/ignore.template b/tests/sanity/ignore.template new file mode 100644 index 0000000..9d4f69e --- /dev/null +++ b/tests/sanity/ignore.template @@ -0,0 +1 @@ +validate-modules:missing-gplv3-license # ignore license check