Skip to content

Commit

Permalink
Configure renovate version comments for some linters (#3627)
Browse files Browse the repository at this point in the history
* Configure renovate for PSScriptAnalyzer

* Configure renovate for pmd

* Configure renovate for tflint

* Configure renovate for editorconfig-checker

* Configure renovate for detekt

* Build
  • Loading branch information
echoix authored Jun 9, 2024
1 parent a5a9870 commit a26ea58
Show file tree
Hide file tree
Showing 29 changed files with 174 additions and 64 deletions.
18 changes: 14 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARGTOP__START
ARG EDITORCONFIG_CHECKER_VERSION=latest
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

# renovate: datasource=docker depName=ghcr.io/terraform-linters/tflint
ARG TFLINT_VERSION=0.51.1

#ARGTOP__END

#############################################################################################
Expand All @@ -27,7 +31,7 @@ FROM koalaman/shellcheck:stable as shellcheck
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:$EDITORCONFIG_CHECKER_VERSION as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM golang:1-alpine as revive
## The golang image used as a builder is a temporary workaround (https://github.com/mgechev/revive/issues/787)
## for the released revive binaries not returning version numbers (devel).
Expand Down Expand Up @@ -68,9 +72,15 @@ ARG BICEP_EXE='bicep'
ARG BICEP_URI='https://github.com/Azure/bicep/releases/latest/download/bicep-linux-musl-x64'
ARG BICEP_DIR='/usr/local/bin'
ARG DART_VERSION='2.8.4'
# renovate: datasource=github-tags depName=pmd/pmd extractVersion=^pmd_releases/(?<version>.*)$
ARG PMD_VERSION=7.1.0
ARG DETEKT_VERSION='1.23.6'
ARG PSSA_VERSION='latest'

# renovate: datasource=github-tags depName=detekt/detekt
ARG DETEKT_VERSION=1.23.6

# renovate: datasource=nuget depName=PSScriptAnalyzer registryUrl=https://www.powershellgallery.com/api/v2/
ARG PSSA_VERSION='1.22.0'

#ARG__END

# Static args
Expand Down
10 changes: 7 additions & 3 deletions flavors/c_cpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARGTOP__START
ARG EDITORCONFIG_CHECKER_VERSION=latest
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

#ARGTOP__END

#############################################################################################
Expand All @@ -27,7 +29,7 @@ FROM koalaman/shellcheck:stable as shellcheck
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:$EDITORCONFIG_CHECKER_VERSION as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.18.2 as gitleaks
Expand All @@ -45,7 +47,9 @@ FROM python:3.12.3-alpine3.19
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARG__START
ARG DETEKT_VERSION='1.23.6'
# renovate: datasource=github-tags depName=detekt/detekt
ARG DETEKT_VERSION=1.23.6

#ARG__END

# Static args
Expand Down
14 changes: 11 additions & 3 deletions flavors/cupcake/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARGTOP__START
ARG EDITORCONFIG_CHECKER_VERSION=latest
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

# renovate: datasource=docker depName=ghcr.io/terraform-linters/tflint
ARG TFLINT_VERSION=0.51.1

#ARGTOP__END

#############################################################################################
Expand All @@ -28,7 +32,7 @@ FROM koalaman/shellcheck:stable as shellcheck
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:$EDITORCONFIG_CHECKER_VERSION as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM golang:1-alpine as revive
## The golang image used as a builder is a temporary workaround (https://github.com/mgechev/revive/issues/787)
## for the released revive binaries not returning version numbers (devel).
Expand Down Expand Up @@ -56,8 +60,12 @@ FROM python:3.12.3-alpine3.19
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARG__START
# renovate: datasource=github-tags depName=pmd/pmd extractVersion=^pmd_releases/(?<version>.*)$
ARG PMD_VERSION=7.1.0
ARG DETEKT_VERSION='1.23.6'

# renovate: datasource=github-tags depName=detekt/detekt
ARG DETEKT_VERSION=1.23.6

#ARG__END

# Static args
Expand Down
10 changes: 7 additions & 3 deletions flavors/documentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARGTOP__START
ARG EDITORCONFIG_CHECKER_VERSION=latest
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

#ARGTOP__END

#############################################################################################
Expand All @@ -27,7 +29,7 @@ FROM koalaman/shellcheck:stable as shellcheck
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:$EDITORCONFIG_CHECKER_VERSION as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.18.2 as gitleaks
Expand All @@ -45,7 +47,9 @@ FROM python:3.12.3-alpine3.19
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARG__START
ARG DETEKT_VERSION='1.23.6'
# renovate: datasource=github-tags depName=detekt/detekt
ARG DETEKT_VERSION=1.23.6

#ARG__END

# Static args
Expand Down
14 changes: 10 additions & 4 deletions flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARGTOP__START
ARG EDITORCONFIG_CHECKER_VERSION=latest
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

#ARGTOP__END

#############################################################################################
Expand All @@ -27,7 +29,7 @@ FROM koalaman/shellcheck:stable as shellcheck
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:$EDITORCONFIG_CHECKER_VERSION as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.18.2 as gitleaks
Expand All @@ -51,8 +53,12 @@ ARG ARM_TTK_DIRECTORY='/opt/microsoft'
ARG BICEP_EXE='bicep'
ARG BICEP_URI='https://github.com/Azure/bicep/releases/latest/download/bicep-linux-musl-x64'
ARG BICEP_DIR='/usr/local/bin'
ARG DETEKT_VERSION='1.23.6'
ARG PSSA_VERSION='latest'
# renovate: datasource=github-tags depName=detekt/detekt
ARG DETEKT_VERSION=1.23.6

# renovate: datasource=nuget depName=PSScriptAnalyzer registryUrl=https://www.powershellgallery.com/api/v2/
ARG PSSA_VERSION='1.22.0'

#ARG__END

# Static args
Expand Down
14 changes: 10 additions & 4 deletions flavors/dotnetweb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARGTOP__START
ARG EDITORCONFIG_CHECKER_VERSION=latest
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

#ARGTOP__END

#############################################################################################
Expand All @@ -27,7 +29,7 @@ FROM koalaman/shellcheck:stable as shellcheck
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:$EDITORCONFIG_CHECKER_VERSION as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.18.2 as gitleaks
Expand All @@ -51,8 +53,12 @@ ARG ARM_TTK_DIRECTORY='/opt/microsoft'
ARG BICEP_EXE='bicep'
ARG BICEP_URI='https://github.com/Azure/bicep/releases/latest/download/bicep-linux-musl-x64'
ARG BICEP_DIR='/usr/local/bin'
ARG DETEKT_VERSION='1.23.6'
ARG PSSA_VERSION='latest'
# renovate: datasource=github-tags depName=detekt/detekt
ARG DETEKT_VERSION=1.23.6

# renovate: datasource=nuget depName=PSScriptAnalyzer registryUrl=https://www.powershellgallery.com/api/v2/
ARG PSSA_VERSION='1.22.0'

#ARG__END

# Static args
Expand Down
4 changes: 3 additions & 1 deletion flavors/formatters/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ FROM python:3.12.3-alpine3.19
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARG__START
ARG PSSA_VERSION='latest'
# renovate: datasource=nuget depName=PSScriptAnalyzer registryUrl=https://www.powershellgallery.com/api/v2/
ARG PSSA_VERSION='1.22.0'

#ARG__END

# Static args
Expand Down
10 changes: 7 additions & 3 deletions flavors/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARGTOP__START
ARG EDITORCONFIG_CHECKER_VERSION=latest
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

#ARGTOP__END

#############################################################################################
Expand All @@ -27,7 +29,7 @@ FROM koalaman/shellcheck:stable as shellcheck
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:$EDITORCONFIG_CHECKER_VERSION as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM golang:1-alpine as revive
## The golang image used as a builder is a temporary workaround (https://github.com/mgechev/revive/issues/787)
## for the released revive binaries not returning version numbers (devel).
Expand All @@ -51,7 +53,9 @@ FROM python:3.12.3-alpine3.19
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARG__START
ARG DETEKT_VERSION='1.23.6'
# renovate: datasource=github-tags depName=detekt/detekt
ARG DETEKT_VERSION=1.23.6

#ARG__END

# Static args
Expand Down
12 changes: 9 additions & 3 deletions flavors/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARGTOP__START
ARG EDITORCONFIG_CHECKER_VERSION=latest
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

#ARGTOP__END

#############################################################################################
Expand All @@ -27,7 +29,7 @@ FROM koalaman/shellcheck:stable as shellcheck
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:$EDITORCONFIG_CHECKER_VERSION as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.18.2 as gitleaks
Expand All @@ -45,8 +47,12 @@ FROM python:3.12.3-alpine3.19
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARG__START
# renovate: datasource=github-tags depName=pmd/pmd extractVersion=^pmd_releases/(?<version>.*)$
ARG PMD_VERSION=7.1.0
ARG DETEKT_VERSION='1.23.6'

# renovate: datasource=github-tags depName=detekt/detekt
ARG DETEKT_VERSION=1.23.6

#ARG__END

# Static args
Expand Down
10 changes: 7 additions & 3 deletions flavors/javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARGTOP__START
ARG EDITORCONFIG_CHECKER_VERSION=latest
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

#ARGTOP__END

#############################################################################################
Expand All @@ -27,7 +29,7 @@ FROM koalaman/shellcheck:stable as shellcheck
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:$EDITORCONFIG_CHECKER_VERSION as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.18.2 as gitleaks
Expand All @@ -45,7 +47,9 @@ FROM python:3.12.3-alpine3.19
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARG__START
ARG DETEKT_VERSION='1.23.6'
# renovate: datasource=github-tags depName=detekt/detekt
ARG DETEKT_VERSION=1.23.6

#ARG__END

# Static args
Expand Down
10 changes: 7 additions & 3 deletions flavors/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARGTOP__START
ARG EDITORCONFIG_CHECKER_VERSION=latest
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

#ARGTOP__END

#############################################################################################
Expand All @@ -27,7 +29,7 @@ FROM koalaman/shellcheck:stable as shellcheck
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:$EDITORCONFIG_CHECKER_VERSION as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.18.2 as gitleaks
Expand All @@ -45,7 +47,9 @@ FROM python:3.12.3-alpine3.19
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARG__START
ARG DETEKT_VERSION='1.23.6'
# renovate: datasource=github-tags depName=detekt/detekt
ARG DETEKT_VERSION=1.23.6

#ARG__END

# Static args
Expand Down
10 changes: 7 additions & 3 deletions flavors/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARGTOP__START
ARG EDITORCONFIG_CHECKER_VERSION=latest
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1

#ARGTOP__END

#############################################################################################
Expand All @@ -27,7 +29,7 @@ FROM koalaman/shellcheck:stable as shellcheck
# FROM koalaman/shellcheck:stable as shellcheck
FROM mvdan/shfmt:latest-alpine as shfmt
FROM hadolint/hadolint:v2.12.0-alpine as hadolint
FROM mstruebing/editorconfig-checker:$EDITORCONFIG_CHECKER_VERSION as editorconfig-checker
FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
FROM ghcr.io/yannh/kubeconform:latest-alpine as kubeconform
FROM yoheimuta/protolint:latest as protolint
FROM zricethezav/gitleaks:v8.18.2 as gitleaks
Expand All @@ -45,7 +47,9 @@ FROM python:3.12.3-alpine3.19
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARG__START
ARG DETEKT_VERSION='1.23.6'
# renovate: datasource=github-tags depName=detekt/detekt
ARG DETEKT_VERSION=1.23.6

#ARG__END

# Static args
Expand Down
Loading

0 comments on commit a26ea58

Please sign in to comment.