UNPKG

@installdoc/ansible-gas-station

Version:

An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤

22 lines (21 loc) 469 B
--- packer:validate: stage: lint image: name: megabytelabs/packer:slim entrypoint: [''] allow_failure: true rules: - if: $DO_CI == 'false' when: never - if: $CI_COMMIT_BRANCH == 'synchronize' when: never - exists: - '*template.json' needs: [] variables: GIT_DEPTH: 1 GIT_SUBMODULE_STRATEGY: recursive script: - set -eo pipefail - for TEMPLATE in *template.json; do packer validate "$TEMPLATE"; done