Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
a3b0979
Add Renovate workflow configuration
Erwan-loot Oct 7, 2025
f1f1cbd
Add missing env declaration for Renovate job
Erwan-loot Oct 7, 2025
8d3c04c
Add RENOVATE_REPOSITORIES environment variable to Renovate job
Erwan-loot Oct 7, 2025
ccb7188
Fix workflow name indentation in Renovate configuration
Erwan-loot Oct 7, 2025
89b299c
Add renovate.json
renovate-bot Oct 7, 2025
edd2a03
Add Renovate workflow configuration
Erwan-loot Oct 7, 2025
ba134da
Add missing env declaration for Renovate job
Erwan-loot Oct 7, 2025
11cc0eb
Add RENOVATE_REPOSITORIES environment variable to Renovate job
Erwan-loot Oct 7, 2025
c653f8a
Fix workflow name indentation in Renovate configuration
Erwan-loot Oct 7, 2025
aa1d2d3
Add renovate.json
renovate-bot Oct 7, 2025
6d0b38e
Add custom manager for Dockerfile versions to Renovate extends config…
Erwan-loot Oct 9, 2025
af1404d
Update Dockerfile to use specific versions for dependencies and enhan…
Erwan-loot Oct 9, 2025
4f65082
Merge branch 'main' into feature/add-renovate
Erwan-loot Oct 9, 2025
8180af7
Merge pull request #15 from Erwan-loot/feature/add-renovate
Erwan-loot Oct 9, 2025
0c2b70f
Fix Dockerfile ARG for libssl3t64 and update registryUrl in renovate.…
Erwan-loot Oct 9, 2025
be5fc20
Fix typo in registryUrl key to registryUrls in renovate.json
Erwan-loot Oct 9, 2025
56c5eb5
Fix registryUrls format in renovate.json to use an array
Erwan-loot Oct 9, 2025
263c2c1
Update Debian packages
renovate-bot Oct 9, 2025
8e58321
Update dependency ca-certificates to v20250419 (from 20241027)
renovate-bot Oct 9, 2025
dd54c35
Merge pull request #17 from Erwan-loot/renovate/debian-packages
Erwan-loot Oct 9, 2025
e484d59
Merge pull request #21 from Erwan-loot/renovate/major-20250419-debian…
Erwan-loot Oct 9, 2025
6a34f1d
Add docker-compose manager configuration to renovate.json
Erwan-loot Oct 9, 2025
08caa51
Update dependency flask-cors to v5 (from 4.0.1)
renovate-bot Oct 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Renovate"
on:
workflow_dispatch:
inputs:
debug:
description: "Enable debug logging"
type: boolean
required: false
default: false
schedule:
- cron: "0 0 * * 1" # Triggers the workflow every Monday at midnight
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
- name: Self-hosted Renovate
uses: renovatebot/github-action@v43.0.15
with:
token: ${{ secrets.RENOVATE_TOKEN }}
env:
LOG_LEVEL: ${{ inputs.DEBUG == 'true' && 'debug' || 'info' }}
RENOVATE_REPOSITORIES: "['${{ github.repository }}']"
RENOVATE_COMMIT_MESSAGE_SUFFIX: '{{#unless groupName}}{{#if (equals updateType "digest")}}(from {{currentDigestShort}}){{else}}(from {{currentVersion}}){{/if}}{{/unless}}'
RENOVATE_LABELS: "['dependencies']"
RENOVATE_DEPENDENCY_DASHBOARD_LABELS: "['dependencies']"
RENOVATE_EXTENDS: '["config:best-practices","mergeConfidence:all-badges",":pinVersions","security:openssf-scorecard",":prHourlyLimitNone",":separateMultipleMajorReleases",":configMigration","customManagers:dockerfileVersions"]'
RENOVATE_PLATFORM: "github"
56 changes: 42 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,42 @@
# syntax=docker/dockerfile:1.19.0@sha256:b6afd42430b15f2d2a4c5a02b919e98a525b785b1aaff16747d2f623364e39b6

# renovate: datasource=deb depName=build-essential
ARG BUILD_ESSENTIAL_VERSION=12.12
# renovate: datasource=deb depName=libpq-dev
ARG LIBPQ_DEV_VERSION=17.6-0+deb13u1
# renovate: datasource=deb depName=libcurl4-openssl-dev
ARG LIBCURL4_OPENSSL_DEV_VERSION=8.14.1-2
# renovate: datasource=deb depName=libssl-dev
ARG LIBSSL_DEV_VERSION=3.5.1-1
# renovate: datasource=deb depName=pkg-config
ARG PKG_CONFIG_VERSION=1.8.1-4
# renovate: datasource=deb depName=nginx
ARG NGINX_VERSION=1.26.3-3+deb13u1
# renovate: datasource=deb depName=supervisor
ARG SUPERVISOR_VERSION=4.2.5-3
# renovate: datasource=deb depName=postgresql-client
ARG POSTGRESQL_CLIENT_VERSION=15.10-0+deb13u1
# renovate: datasource=deb depName=gettext-base
ARG GETTEXT_BASE_VERSION=0.23.1-2
# renovate: datasource=deb depName=curl
ARG CURL_VERSION=8.14.1-2
# renovate: datasource=deb depName=ca-certificates
ARG CA_CERTIFICATES_VERSION=20250419
# renovate: datasource=deb depName=libpq5
ARG LIBPQ5_VERSION=17.6-0+deb13u1
# renovate: datasource=deb depName=libssl3t64
ARG LIBSSL3T64_VERSION=3.5.1-1

FROM python:3.13-slim-trixie AS builder

# Install build tools (only in builder stage)
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
libpq-dev \
libcurl4-openssl-dev \
libssl-dev \
pkg-config && \
build-essential=${BUILD_ESSENTIAL_VERSION} \
libpq-dev=${LIBPQ_DEV_VERSION} \
libcurl4-openssl-dev=${LIBCURL4_OPENSSL_DEV_VERSION} \
libssl-dev=${LIBSSL_DEV_VERSION} \
pkg-config=${PKG_CONFIG_VERSION} && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Expand All @@ -29,15 +57,15 @@ LABEL org.opencontainers.image.description="Warracker - Warranty Tracker"
# Install runtime dependencies only
RUN apt-get update && \
apt-get install -y --no-install-recommends \
nginx \
supervisor \
postgresql-client \
gettext-base \
curl \
ca-certificates \
libpq5 \
libcurl4 \
libssl3 && \
nginx=${NGINX_VERSION} \
supervisor=${SUPERVISOR_VERSION} \
postgresql-client=${POSTGRESQL_CLIENT_VERSION} \
gettext-base=${GETTEXT_BASE_VERSION} \
curl=${CURL_VERSION} \
ca-certificates=${CA_CERTIFICATES_VERSION} \
libpq5=${LIBPQ5_VERSION} \
libcurl4=${LIBCURL4_OPENSSL_DEV_VERSION} \
libssl3t64=${LIBSSL3_VERSION} && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Expand Down
2 changes: 1 addition & 1 deletion backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Flask==3.0.3
gunicorn==23.0.0
psycopg2==2.9.10
Werkzeug==3.0.3
flask-cors==4.0.1
flask-cors==5.0.1
Flask-Login==0.6.3
Flask-Bcrypt==1.0.1
PyJWT==2.8.0
Expand Down
23 changes: 23 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"matchDatasources": ["deb"],
"registryUrls": ["https://deb.debian.org/debian?suite=trixie&components=main,contrib,non-free&binaryArch=amd64"],
"groupName": "Debian packages"
},
{
"matchManagers": ["pip_requirements"],
"groupName": "Python packages"
},
{
"matchDatasources": ["github-actions"],
"groupName": "GitHub Actions"
},
{
"matchManagers": ["docker-compose"],
"pinDigests": false,
"enabled": false
}
]
}