Loading .gitlab-ci.ymldeleted 100644 → 0 +0 −45 Original line number Diff line number Diff line # VARIABLES variables: DOCKER_BUILDKIT: 1 DOCKER_DRIVER: overlay2 DOCKER_HOST: tcp://localhost:2375 DOCKER_TLS_CERTDIR: "" ########################################################################################################## ## PIPELINE DEFINITION stages: - shellcheck - ansible-lint ########################################################################################################## ### COMMON SECTION .common: &common variables: GIT_DEPTH: 1 ANSIBLE_FORCE_COLOR: "True" except: - /^master$/ before_script: - chmod -R o-w ../ ########################################################################################################## ### TEST SECTION shellcheck: <<: *common stage: shellcheck image: registry.cyberbrain.pw/tools/shellcheck script: - shellcheck -s sh setup.sh - shellcheck -s sh -e SC2068 run.sh ansible-lint: <<: *common stage: ansible-lint image: registry.cyberbrain.pw/ansible/ansible script: - sh setup.sh - find . -maxdepth 1 -mindepth 1 -name \*.yml -a -not -name requirements.yml -a -not -name .gitlab-ci.yml -type f -print0 | xargs -0 ansible-lint -v -x '204' -x '301' -x '305' -x '401' ansible.cfgdeleted 100644 → 0 +0 −9 Original line number Diff line number Diff line [defaults] transport = ssh timeout = 45 [privilege_escalation] become=True become_method=sudo become_user=root become_ask_pass=False run.shdeleted 100644 → 0 +0 −3 Original line number Diff line number Diff line #!/usr/bin/env sh ANSIBLE_CONFIG="$(dirname "$0")/ansible.cfg" ansible-playbook $@ setup.shdeleted 100644 → 0 +0 −3 Original line number Diff line number Diff line #!/usr/bin/env sh ansible-galaxy install -r "$(dirname "$0")/requirements.yml" Loading
.gitlab-ci.ymldeleted 100644 → 0 +0 −45 Original line number Diff line number Diff line # VARIABLES variables: DOCKER_BUILDKIT: 1 DOCKER_DRIVER: overlay2 DOCKER_HOST: tcp://localhost:2375 DOCKER_TLS_CERTDIR: "" ########################################################################################################## ## PIPELINE DEFINITION stages: - shellcheck - ansible-lint ########################################################################################################## ### COMMON SECTION .common: &common variables: GIT_DEPTH: 1 ANSIBLE_FORCE_COLOR: "True" except: - /^master$/ before_script: - chmod -R o-w ../ ########################################################################################################## ### TEST SECTION shellcheck: <<: *common stage: shellcheck image: registry.cyberbrain.pw/tools/shellcheck script: - shellcheck -s sh setup.sh - shellcheck -s sh -e SC2068 run.sh ansible-lint: <<: *common stage: ansible-lint image: registry.cyberbrain.pw/ansible/ansible script: - sh setup.sh - find . -maxdepth 1 -mindepth 1 -name \*.yml -a -not -name requirements.yml -a -not -name .gitlab-ci.yml -type f -print0 | xargs -0 ansible-lint -v -x '204' -x '301' -x '305' -x '401'
ansible.cfgdeleted 100644 → 0 +0 −9 Original line number Diff line number Diff line [defaults] transport = ssh timeout = 45 [privilege_escalation] become=True become_method=sudo become_user=root become_ask_pass=False
run.shdeleted 100644 → 0 +0 −3 Original line number Diff line number Diff line #!/usr/bin/env sh ANSIBLE_CONFIG="$(dirname "$0")/ansible.cfg" ansible-playbook $@
setup.shdeleted 100644 → 0 +0 −3 Original line number Diff line number Diff line #!/usr/bin/env sh ansible-galaxy install -r "$(dirname "$0")/requirements.yml"