mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 20:04:32 +07:00
Add linters for metal and infra
This commit is contained in:
parent
b0dfe1995a
commit
03deb76eb9
4
Makefile
4
Makefile
@ -24,3 +24,7 @@ docs:
|
||||
|
||||
.PHONY: apply
|
||||
apply: metal infra apps
|
||||
|
||||
lint:
|
||||
make -C metal lint
|
||||
make -C infra lint
|
||||
|
@ -16,3 +16,6 @@ apply: plan
|
||||
|
||||
destroy:
|
||||
terraform destroy
|
||||
|
||||
lint:
|
||||
terraform fmt -recursive -diff -check
|
||||
|
@ -11,3 +11,6 @@ shutdown:
|
||||
ansible-playbook \
|
||||
--inventory hosts.yml \
|
||||
shutdown.yml
|
||||
|
||||
lint:
|
||||
ansible-lint --project-dir .
|
||||
|
@ -5,6 +5,8 @@ COPY ./mirrorlist /etc/pacman.d/mirrorlist
|
||||
|
||||
RUN yes | pacman --sync --refresh \
|
||||
ansible \
|
||||
ansible-lint \
|
||||
diffutils \
|
||||
docker \
|
||||
docker-compose \
|
||||
git \
|
||||
|
Loading…
Reference in New Issue
Block a user