Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
bonzofenix committed Jun 7, 2024
1 parent 3d7bfca commit c797468
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
22 changes: 20 additions & 2 deletions ci/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@

.PHONY: set-autoscaler-pipeline

set-autoscaler-pipeline:
@./autoscaler/set-pipeline.sh

.PHONY: unpause-pipeline

unpause-pipeline:
@./scripts/unpause-pipeline.sh


.PHONY: delete-pipeline
delete-pipeline:
@./scripts/delete-pipeline.sh

.PHONY: set-target
set-target:
@fly --target app-autoscaler-release login --team-name app-autoscaler --concourse-url https://concourse.app-runtime-interfaces.ci.cloudfoundry.org

.PHONY: lint
lint:
shellcheck --external-sources -x -s bash autoscaler/**/**/*.sh

.PHONY: fix-lint
fix-lint:
shellcheck --external-sources -x -s bash -f diff autoscaler/**/**/*.sh

.PHONY: browse
browse:
@open https://concourse.app-runtime-interfaces.ci.cloudfoundry.org
8 changes: 5 additions & 3 deletions ci/infrastructure/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@


.PHONY: set-pipeline
set-pipeline:
./set-pipeline.sh

.PHONY: lint
lint:
shellcheck -x -s bash scripts/*.sh
shellcheck --external-sources -x -s bash **/*.sh

.PHONY: lint-fix
lint-fix:
# uses shellcheck to fix any issues it can
shellcheck -x -s bash scripts/*.sh --fix
shellcheck --external-sources -x -s bash -f diff **/*.sh

0 comments on commit c797468

Please sign in to comment.