Skip to content

Commit 170a532

Browse files
authored
Update libwebp and improve updates configuration (#308)
1 parent add6458 commit 170a532

File tree

5 files changed

+8
-26
lines changed

5 files changed

+8
-26
lines changed

.github/renovate.json

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,15 @@
33
"labels": [
44
"dependencies"
55
],
6-
"assignees": [
7-
"rob93c"
8-
],
96
"packageRules": [
107
{
11-
"enabledManagers": [
12-
"gradle",
13-
"dockerfile",
14-
"github-actions"
15-
],
168
"matchUpdateTypes": [
179
"minor",
1810
"patch"
1911
],
20-
"automerge": true,
21-
"assignAutomerge": true,
22-
"minimumReleaseAge": "1 week",
2312
"matchPackageNames": [
2413
"*"
2514
]
26-
},
27-
{
28-
"matchManagers": [
29-
"gradle-wrapper"
30-
],
31-
"schedule": [
32-
"at any time"
33-
],
34-
"automerge": false
3515
}
3616
],
3717
"extends": [

Bumpfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.github/workflows/unit-test.yml
22
Dockerfile
3+
qodana.yaml

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ FROM eclipse-temurin AS builder
22

33
# bump: libwebp /LIBWEBP_VERSION=([\d.]+)/ git:https://chromium.googlesource.com/webm/libwebp.git|^1
44
# bump: libwebp after ./hashupdate Dockerfile LIBWEBP $LATEST
5-
ARG LIBWEBP_VERSION=1.4.0
5+
ARG LIBWEBP_VERSION=1.5.0
66
ARG LIBWEBP_URL="https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-$LIBWEBP_VERSION-linux-x86-64.tar.gz"
7-
ARG LIBWEBP_SHA256=94ac053be5f8cb47a493d7a56b2b1b7328bab9cff24ecb89fa642284330d8dff
7+
ARG LIBWEBP_SHA256=f4bf49f85991f50e86a5404d16f15b72a053bb66768ed5cc0f6d042277cc2bb8
88

99
WORKDIR /app
10-
RUN curl "$LIBWEBP_URL" -o libwebp.tar.gz && \
10+
RUN curl -L --fail --retry 3 --retry-delay 5 "$LIBWEBP_URL" -o libwebp.tar.gz && \
1111
echo "$LIBWEBP_SHA256 libwebp.tar.gz" | sha256sum -c - && \
1212
tar -xzf libwebp.tar.gz --one-top-level=libwebp --strip-components=1
1313
COPY settings.gradle build.gradle gradlew ./

hashupdate

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/sh
2-
set -eu
2+
set -euo
33

44
# Usage: hashupdate <FILE> <NAME> <VERSION>
5-
URL_TEMPLATE=$(grep "$2_URL=" "$1" | sed -E 's/.*="(.*)"/\1/' | tr -d '\r')
5+
URL_TEMPLATE=$(grep "$2_URL=" "$1" | sed -E 's/.*="(.*)"/\1/')
66
URL=$(echo "$URL_TEMPLATE" | sed "s/\$$2_VERSION/$3/g")
77
SHA256=$(curl -sL "$URL" | sha256sum | sed -e 's/ -//g')
88
sed -i -E "s/$2_SHA256=.*/$2_SHA256=$SHA256/" "$1"

qodana.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ profile:
33
name: qodana.recommended
44
include:
55
- name: VulnerableLibrariesGlobal
6-
linter: jetbrains/qodana-jvm:2024.2
6+
# bump: qodana /qodana-jvm:([\d.]+)/ docker:jetbrains/qodana-jvm|/^[\d]{4}\.\d+$/|sort
7+
linter: jetbrains/qodana-jvm:2024.3
78
projectJDK: temurin-23

0 commit comments

Comments
 (0)