Skip to content

Commit

Permalink
Add shellcheck linter for Makefiles
Browse files Browse the repository at this point in the history
Signed-off-by: Alba Hita Catala <[email protected]>
  • Loading branch information
ahitacat committed Sep 18, 2024
1 parent a089517 commit 5d622a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@
APPLY_FIXES: none
ENABLE_LINTERS:
- YAML_YAMLLINT
- BASH_SHELLCHECK
EXCLUDED_DIRECTORIES:
- "node_modules"
BASH_SHELLCHECK_ARGUMENTS:
- -i1101 -f gcc
BASH_SHELLCHECK_FILE_NAMES_REGEX:
- "Makefile"
LINTER_RULES_PATH: .
PRINT_ALPACA: false
GITHUB_STATUS_REPORTER: false
Expand Down
2 changes: 1 addition & 1 deletion cluster-service/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ deploy:
AZURE_FIRST_PARTY_APPLICATION_CLIENT_ID=$(shell az ad app list \
--display-name aro-hcp-dev-first-party \
--query '[*]'.appId \
-o tsv) && \
-o tsv) && \
CS_SERVICE_PRINCIPAL_CREDS_BASE64='$(shell az keyvault secret show --vault-name "service-kv-aro-hcp-dev" --name "aro-hcp-dev-sp-cs" | jq .value -r | base64 | tr -d '\n')' && \
TENANT_ID=$(shell az account show --query tenantId --output tsv) && \
oc process --local -f deploy/openshift-templates/arohcp-service-template.yml \
Expand Down

0 comments on commit 5d622a3

Please sign in to comment.