lint-rules is a dispacher script of LINT.
Apply lint to all files
git clone https://github.com/infra-ci-book/lint-rules.git
lint-rules/lint_master.sh
Apply lint to branch files
git clone https://github.com/infra-ci-book/lint-rules.git
lint-rules/lint_branches.sh
Lint_Check_Master:
stage: lint
image:
name: irixjp/lint-rules:latest
entrypoint: [""]
script:
- git clone https://github.com/infra-ci-book/lint-rules.git
- lint-rules/lint_master.sh
only:
- master
tags:
- docker
Lint_Check_Branches:
stage: lint
image:
name: irixjp/lint-rules:latest
entrypoint: [""]
script:
- git clone https://github.com/infra-ci-book/lint-rules.git
- lint-rules/lint_branches.sh
only:
- branches
except:
- master
tags:
- docker
when: result.changed setting, it's effectively acting as a handlerContent type
Image
Digest
Size
129.9 MB
Last updated
almost 8 years ago
docker pull irixjp/lint-rules