Skip to content

Commit

Permalink
Use renovate with bicep (#4529)
Browse files Browse the repository at this point in the history
* Use renovate with bicep

* [build-command] Update generated files

* Fixes

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
bdovaz and github-actions[bot] authored Jan 21, 2025
1 parent cd88afc commit 879b90a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@ ARG SFDX_HARDIS_VERSION=5.16.2
ARG ARM_TTK_VERSION=20240328
ARG ARM_TTK_NAME='arm-ttk.zip'
ARG ARM_TTK_DIRECTORY='/opt/microsoft'
# renovate: datasource=github-tags depName=Azure/bicep
ARG BICEP_VERSION=0.32.4
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'
# renovate: datasource=github-tags depName=clj-kondo/clj-kondo
ARG CLJ_KONDO_VERSION=2025.01.16
Expand Down Expand Up @@ -605,7 +606,7 @@ RUN curl --retry 5 --retry-delay 5 -sLO "https://github.com/Azure/arm-ttk/releas
# Managed with COPY --link --from=shfmt /bin/shfmt /usr/bin/
#
# bicep_linter installation
&& curl --retry 5 --retry-delay 5 -sLo ${BICEP_EXE} "${BICEP_URI}" \
&& curl --retry 5 --retry-delay 5 -sLo ${BICEP_EXE} "https://github.com/Azure/bicep/releases/download/v${BICEP_VERSION}/bicep-linux-musl-x64" \
&& chmod +x "${BICEP_EXE}" \
&& mv "${BICEP_EXE}" "${BICEP_DIR}" \
#
Expand Down
5 changes: 3 additions & 2 deletions flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ ARG POWERSHELL_VERSION=7.4.6
ARG ARM_TTK_VERSION=20240328
ARG ARM_TTK_NAME='arm-ttk.zip'
ARG ARM_TTK_DIRECTORY='/opt/microsoft'
# renovate: datasource=github-tags depName=Azure/bicep
ARG BICEP_VERSION=0.32.4
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'
# renovate: datasource=nuget depName=csharpier
ARG CSHARP_CSHARPIER_VERSION=0.30.6
Expand Down Expand Up @@ -341,7 +342,7 @@ RUN curl --retry 5 --retry-delay 5 -sLO "https://github.com/Azure/arm-ttk/releas
# Managed with COPY --link --from=shfmt /bin/shfmt /usr/bin/
#
# bicep_linter installation
&& curl --retry 5 --retry-delay 5 -sLo ${BICEP_EXE} "${BICEP_URI}" \
&& curl --retry 5 --retry-delay 5 -sLo ${BICEP_EXE} "https://github.com/Azure/bicep/releases/download/v${BICEP_VERSION}/bicep-linux-musl-x64" \
&& chmod +x "${BICEP_EXE}" \
&& mv "${BICEP_EXE}" "${BICEP_DIR}" \
#
Expand Down
5 changes: 3 additions & 2 deletions flavors/dotnetweb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ ARG POWERSHELL_VERSION=7.4.6
ARG ARM_TTK_VERSION=20240328
ARG ARM_TTK_NAME='arm-ttk.zip'
ARG ARM_TTK_DIRECTORY='/opt/microsoft'
# renovate: datasource=github-tags depName=Azure/bicep
ARG BICEP_VERSION=0.32.4
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'
# renovate: datasource=nuget depName=csharpier
ARG CSHARP_CSHARPIER_VERSION=0.30.6
Expand Down Expand Up @@ -363,7 +364,7 @@ RUN curl --retry 5 --retry-delay 5 -sLO "https://github.com/Azure/arm-ttk/releas
# Managed with COPY --link --from=shfmt /bin/shfmt /usr/bin/
#
# bicep_linter installation
&& curl --retry 5 --retry-delay 5 -sLo ${BICEP_EXE} "${BICEP_URI}" \
&& curl --retry 5 --retry-delay 5 -sLo ${BICEP_EXE} "https://github.com/Azure/bicep/releases/download/v${BICEP_VERSION}/bicep-linux-musl-x64" \
&& chmod +x "${BICEP_EXE}" \
&& mv "${BICEP_EXE}" "${BICEP_DIR}" \
#
Expand Down
5 changes: 3 additions & 2 deletions linters/bicep_bicep_linter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ FROM python:3.12.8-alpine3.21
## @generated by .automation/build.py using descriptor files, please do not update manually ##
#############################################################################################
#ARG__START
# renovate: datasource=github-tags depName=Azure/bicep
ARG BICEP_VERSION=0.32.4
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__END

Expand Down Expand Up @@ -149,7 +150,7 @@ ENV PATH="/node-deps/node_modules/.bin:${PATH}" \
#############################################################################################
#OTHER__START
# bicep_linter installation
RUN curl --retry 5 --retry-delay 5 -sLo ${BICEP_EXE} "${BICEP_URI}" \
RUN curl --retry 5 --retry-delay 5 -sLo ${BICEP_EXE} "https://github.com/Azure/bicep/releases/download/v${BICEP_VERSION}/bicep-linux-musl-x64" \
&& chmod +x "${BICEP_EXE}" \
&& mv "${BICEP_EXE}" "${BICEP_DIR}"

Expand Down
6 changes: 4 additions & 2 deletions megalinter/descriptors/bicep.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ linters:
apk:
- icu-libs
dockerfile:
- |-
# renovate: datasource=github-tags depName=Azure/bicep
ARG BICEP_VERSION=0.32.4
- 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'
- |
RUN curl --retry 5 --retry-delay 5 -sLo ${BICEP_EXE} "${BICEP_URI}" \
RUN curl --retry 5 --retry-delay 5 -sLo ${BICEP_EXE} "https://github.com/Azure/bicep/releases/download/v${BICEP_VERSION}/bicep-linux-musl-x64" \
&& chmod +x "${BICEP_EXE}" \
&& mv "${BICEP_EXE}" "${BICEP_DIR}"
ide:
Expand Down

0 comments on commit 879b90a

Please sign in to comment.