-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YETUS-1233. 2023-09 Dependency Updates #311
Changes from all commits
41b089b
1da7f93
3cc964b
31eb1b0
fea5e71
261d784
69d41e1
da3506d
82b4fad
b3c6edd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
[filtering] | ||
ignore= | ||
http://localhost:8123/documentation/[0-9]+.[0-9]+.[0-9]+ | ||
resources/fonts/dejavu.css | ||
ignorewarnings=http-redirected | ||
|
||
[checking] | ||
norobots=1 | ||
|
||
[output] | ||
fileoutput=csv |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,7 +84,6 @@ | |
</goals> | ||
<configuration> | ||
<executable>${rdm.bin}</executable> | ||
<requiresOnline>true</requiresOnline> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh why were these here in the first place? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. At some point in time, we either used a plugin that was offline/online aware or they removed the functionality from maven. But they were there so that you could tell maven you were offline and it wouldn't try to connect to JIRA to generate the release notes, etc. |
||
<arguments> | ||
<argument>--lint=all</argument> | ||
<argument>--license</argument> | ||
|
@@ -109,7 +108,6 @@ | |
</goals> | ||
<configuration> | ||
<executable>${rdm.bin}</executable> | ||
<requiresOnline>true</requiresOnline> | ||
<arguments> | ||
<argument>--dirversions</argument> | ||
<argument>--fileversions</argument> | ||
|
@@ -140,7 +138,6 @@ | |
</goals> | ||
<configuration> | ||
<executable>bundle</executable> | ||
<requiresOnline>true</requiresOnline> | ||
<arguments> | ||
<argument>install</argument> | ||
</arguments> | ||
|
@@ -154,7 +151,6 @@ | |
</goals> | ||
<configuration> | ||
<executable>bundle</executable> | ||
<requiresOnline>false</requiresOnline> | ||
<arguments> | ||
<argument>exec</argument> | ||
<argument>middleman</argument> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,16 +149,22 @@ FROM yetusbase AS yetushadolint | |
ARG HADOLINT_VERSION=2.12.0 | ||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
RUN if [[ "$(uname -m)" == "x86_64" ]]; then curl -sSL \ | ||
https://github.com/hadolint/hadolint/releases/download/v$HADOLINT_VERSION/hadolint-Linux-"$(uname -m)" \ | ||
https://github.com/hadolint/hadolint/releases/download/v$HADOLINT_VERSION/hadolint-Linux-x86_64 \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I still prefer the style I proposed in my patch because docker can cache the downloaded artifacts between runs. The layer caching speeds up rebuild cycles drastically. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm seeing it being cached here. 🤷 |
||
-o /bin/hadolint \ | ||
&& chmod a+rx /bin/hadolint; \ | ||
else touch /bin/hadolint; fi | ||
&& chmod a+rx /bin/hadolint; \ | ||
elif [[ "$(uname -m)" == "aarch64" ]]; then curl -sSL \ | ||
https://github.com/hadolint/hadolint/releases/download/v$HADOLINT_VERSION/hadolint-Linux-arm64 \ | ||
-o /bin/hadolint \ | ||
&& chmod a+rx /bin/hadolint; \ | ||
else \ | ||
touch /bin/hadolint; \ | ||
fi | ||
|
||
#### | ||
# Install buf (protobuf lint) | ||
#### | ||
FROM yetusbase AS yetusbuf | ||
ARG BUF_VERSION=1.19.0 | ||
ARG BUF_VERSION=1.26.1 | ||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
RUN curl -sSL \ | ||
https://github.com/bufbuild/buf/releases/download/v$BUF_VERSION/buf-Linux-"$(uname -m)".tar.gz \ | ||
|
@@ -170,7 +176,7 @@ RUN curl -sSL \ | |
# Install bats (TAP-capable unit testing for shell scripts) | ||
#### | ||
FROM yetusbase AS yetusbats | ||
ARG BATS_VERSION=1.9.0 | ||
ARG BATS_VERSION=1.10.0 | ||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
RUN git clone --branch v$BATS_VERSION \ | ||
https://github.com/bats-core/bats-core.git \ | ||
|
@@ -209,7 +215,7 @@ RUN git clone \ | |
# NOTE: go must be installed prior to executing this block! | ||
#### | ||
FROM yetusbase as yetusgolangci | ||
ARG GOLANGCILINT_VERSION=1.52.2 | ||
ARG GOLANGCILINT_VERSION=1.54.2 | ||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
RUN curl -sSL \ | ||
https://github.com/golangci/golangci-lint/releases/download/v$GOLANGCILINT_VERSION/golangci-lint-$GOLANGCILINT_VERSION-"$(go env GOOS)"-"$(go env GOARCH)".tar.gz \ | ||
|
@@ -287,7 +293,7 @@ RUN add-apt-repository -y \ | |
# Install maven | ||
###### | ||
# hadolint ignore=DL3008,DL3059 | ||
ARG MVN_VERSION=3.9.2 | ||
ARG MVN_VERSION=3.9.4 | ||
ARG MVN_TGZ=apache-maven-$MVN_VERSION-bin.tar.gz | ||
RUN curl -sSL \ | ||
-o $MVN_TGZ \ | ||
|
@@ -321,12 +327,12 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends -y \ | |
# astroid and pylint go hand-in-hand. Upgrade both at the same time. | ||
###### | ||
#ARG PY3_ANSIBLE_VERSION=7.5.0 | ||
ARG PY3_ANSIBLELINT_VERSION=6.16.1 | ||
ARG PY3_ASTROID_VERSION=2.15.5 | ||
ARG PY3_CODESPELL_VERSION=2.2.4 | ||
ARG PY3_ANSIBLELINT_VERSION=6.18.0 | ||
ARG PY3_ASTROID_VERSION=2.15.6 | ||
ARG PY3_CODESPELL_VERSION=2.2.5 | ||
ARG PY3_DETECT_SECRETS=1.4.0 | ||
ARG PY3_PYLINT_VERSION=2.17.4 | ||
ARG PY3_YAMLLINT_VERSION=1.31.0 | ||
ARG PY3_PYLINT_VERSION=2.17.5 | ||
ARG PY3_YAMLLINT_VERSION=1.32.0 | ||
# hadolint ignore=DL3008 | ||
RUN apt-get -q update && apt-get -q install --no-install-recommends -y \ | ||
python3 \ | ||
|
@@ -365,9 +371,9 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends -y \ | |
#### | ||
# Install ruby and associated bits | ||
### | ||
ARG RUBY_BUNDLER_VERSION=2.4.13 | ||
ARG RUBY_BUNDLER_VERSION=2.4.19 | ||
ARG RUBY_RAKE_VERSION=13.0.6 | ||
ARG RUBY_RUBOCOP_VERSION=1.51 | ||
ARG RUBY_RUBOCOP_VERSION=1.56.1 | ||
# hadolint ignore=DL3008 | ||
RUN echo 'gem: --no-rdoc --no-ri' >> /root/.gemrc \ | ||
&& apt-get -q update && apt-get -q install --no-install-recommends -y \ | ||
|
@@ -388,10 +394,14 @@ ENV BUNDLE_PATH /var/tmp/.bundler-gems | |
# Install npm and JSHint | ||
### | ||
ARG JSHINT_VERSION=2.13.6 | ||
ARG MARKDOWNLINTCLI_VERSION=0.34.0 | ||
ARG MARKDOWNLINTCLI_VERSION=0.36.0 | ||
ARG JSONLINT_VERSION=1.6.3 | ||
# hadolint ignore=DL3008 | ||
RUN curl -sSL https://deb.nodesource.com/setup_lts.x | bash - \ | ||
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \ | ||
| gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \ | ||
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" \ | ||
> /etc/apt/sources.list.d/nodesource.list \ | ||
&& apt-get -q update \ | ||
&& apt-get -q install --no-install-recommends -y nodejs \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this ignore line? We don't want to check broken links on built documentation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is specifically ignoring the references to previous release versions of the documentation which don't get built as part of this process but do sit on the web server.