mirror of
https://github.com/famedly/ansible-collection-services
synced 2024-11-10 05:54:14 +00:00
feat(ci): Add basic ansible-test-ci
This commit is contained in:
parent
7ce8425d13
commit
0844590c6f
9 changed files with 16 additions and 5 deletions
8
.gitlab-ci.yml
Normal file
8
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
include:
|
||||
- project: 'famedly/company/devops/templates/ci-cd'
|
||||
ref: 'ansible-v2'
|
||||
file: '/ansible.yml'
|
||||
|
||||
stages:
|
||||
- test
|
|
@ -15,4 +15,3 @@ ktra_container_labels: {}
|
|||
ktra_container_ports:
|
||||
- 8000:8000
|
||||
ktra_container_volumes: []
|
||||
|
||||
|
|
|
@ -57,5 +57,3 @@
|
|||
command:
|
||||
- "-c"
|
||||
- "/opt/ktra/config.toml"
|
||||
|
||||
|
||||
|
|
|
@ -17,4 +17,3 @@ galaxy_info:
|
|||
galaxy_tags: []
|
||||
|
||||
dependencies: []
|
||||
|
||||
|
|
|
@ -43,4 +43,3 @@
|
|||
volumes:
|
||||
- "{{ murmur_base_path }}:{{ murmur_base_path }}"
|
||||
become: true
|
||||
|
||||
|
|
5
tests/sanity/generate-ignore.sh
Normal file
5
tests/sanity/generate-ignore.sh
Normal file
|
@ -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"
|
1
tests/sanity/ignore-2.12.txt
Normal file
1
tests/sanity/ignore-2.12.txt
Normal file
|
@ -0,0 +1 @@
|
|||
roles/zammad/templates/zammad-docker.j2 shebang
|
1
tests/sanity/ignore-2.13.txt
Normal file
1
tests/sanity/ignore-2.13.txt
Normal file
|
@ -0,0 +1 @@
|
|||
roles/zammad/templates/zammad-docker.j2 shebang
|
1
tests/sanity/ignore.template
Normal file
1
tests/sanity/ignore.template
Normal file
|
@ -0,0 +1 @@
|
|||
validate-modules:missing-gplv3-license # ignore license check
|
Loading…
Reference in a new issue