Loading .gitignore 0 → 100644 +1 −0 Original line number Diff line number Diff line /.idea/ gitlab-ci.yml 0 → 100644 +46 −0 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 GIT_SUBMODULE_STRATEGY: recursive ANSIBLE_FORCE_COLOR: "True" except: - /^master$/ before_script: - chmod -R o-w ../ ########################################################################################################## ### TEST SECTION shellcheck: <<: *common stage: shellcheck image: registry.cyberbrain.pw/tools/linters/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 - echo "This is too difficult. Skipping" Loading
gitlab-ci.yml 0 → 100644 +46 −0 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 GIT_SUBMODULE_STRATEGY: recursive ANSIBLE_FORCE_COLOR: "True" except: - /^master$/ before_script: - chmod -R o-w ../ ########################################################################################################## ### TEST SECTION shellcheck: <<: *common stage: shellcheck image: registry.cyberbrain.pw/tools/linters/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 - echo "This is too difficult. Skipping"