Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ RUN apk update && apk --no-cache add gcc musl-dev openjdk17-jdk curl graphviz tt
# Download plantuml file, Validate checksum & Move plantuml file
RUN curl -o plantuml.jar -L https://github.com/plantuml/plantuml/releases/download/v1.2024.6/plantuml-1.2024.6.jar && echo "3e944755cbed59e1ed9332691d92294bef7bbcda plantuml.jar" | sha1sum -c - && mv plantuml.jar /opt/plantuml.jar

RUN pip install --upgrade pip && pip install mkdocs-techdocs-core==1.5.4
COPY requirements.txt .
RUN pip install --upgrade pip && pip install -r requirements.txt

# Create script to call plantuml.jar from a location in path
# When adding TechDocs to the Backstage Backend container, avoid this
Expand Down
45 changes: 40 additions & 5 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,51 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:best-practices", ":gitSignOff"],
"labels": ["dependencies"],
"extends": [
"config:best-practices",
":gitSignOff"
],
"labels": [
"dependencies"
],
"enabledManagers": [
"dockerfile",
"pip_requirements"
],
"dockerfile": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm, I don't see this option as a configuration option here: https://docs.renovatebot.com/configuration-options. Am I missing something here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit weird, and I am not totally sure that I need it since the enabledManagers array has it as well, but there is also this guidance about enabling/disabling managers :
https://docs.renovatebot.com/modules/manager/#enabling-and-disabling-managers

"enabled": true
},
"packageRules": [
{
"matchUpdateTypes": ["major", "minor", "patch"],
"addLabels": ["{{ updateType }}"]
"description": "Automerge minor and patch updates for pip deps",
"matchManagers": [
"dockerfile"
],
"matchUpdateTypes": [
"patch"
],
"addLabels": [
"{{ updateType }}"
],
"automerge": true,
"automergeType": "pr"
},
{
"description": "Separate major updates - require manual review",
"matchUpdateTypes": [
"major"
],
"automerge": false,
"labels": [
"major-update",
"dependencies"
]
}
],
"osvVulnerabilityAlerts": true,
"vulnerabilityAlerts": {
"addLabels": ["security"],
"addLabels": [
"security"
],
"enabled": true
}
}
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mkdocs-techdocs-core==1.5.4
Loading