mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-03 05:01:22 +02:00
chore: Added renovate configuration
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ docs:
|
||||
- '**/*.md'
|
||||
|
||||
changelog:
|
||||
- cNhanged-files:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- 'CHAGELOG.md'
|
||||
|
||||
|
||||
+31
-4
@@ -1,12 +1,31 @@
|
||||
{
|
||||
$schema: "https://docs.renovatebot.com/renovate-schema.json",
|
||||
semanticCommits: "auto",
|
||||
semanticCommits: "enabled",
|
||||
schedule: [
|
||||
"after 8am on sunday"
|
||||
],
|
||||
prConcurrentLimit: 0,
|
||||
prHourlyLimit: 0,
|
||||
enabledManagers: [
|
||||
"dockerfile",
|
||||
"docker-compose",
|
||||
"gomod",
|
||||
"github-actions",
|
||||
"helmv3",
|
||||
"npm",
|
||||
"regex",
|
||||
"regex"
|
||||
],
|
||||
packageRules: [
|
||||
{
|
||||
matchManagers: [
|
||||
"dockerfile",
|
||||
"docker-compose",
|
||||
"gomod",
|
||||
"helmv3",
|
||||
"npm"
|
||||
],
|
||||
groupName: "{{{manager}}}"
|
||||
}
|
||||
],
|
||||
customManagers: [
|
||||
{
|
||||
@@ -18,7 +37,15 @@
|
||||
"DOCKER_BUILD_RUNTIME_IMAGE_ALPINE\\s+?\\?= alpine:(?<currentValue>.*)\\s"
|
||||
],
|
||||
depNameTemplate: "alpine",
|
||||
datasourceTemplate: "docker",
|
||||
datasourceTemplate: "docker"
|
||||
},
|
||||
],
|
||||
{
|
||||
customType: "regex",
|
||||
fileMatch: ["(^|/)\\.github/workflows/[^/]+\\.ya?ml$", "(^|/)\\.github/[^/]+\\.sh$"],
|
||||
matchStrings: [
|
||||
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+?[\\w\\s-]*?version: (?<currentValue>.*)\\s",
|
||||
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+?[\\w\\s]*?_VERSION: (?<currentValue>.*)\\s"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -14,21 +14,25 @@ jobs:
|
||||
build:
|
||||
env:
|
||||
COVER: true
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go 1.21
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.21
|
||||
# renovate: datasource=golang-version depName=golang
|
||||
go-version: 1.21.6
|
||||
id: go
|
||||
|
||||
- name: Get dependencies
|
||||
env:
|
||||
# renovate: datasource=github-tags depName=golangci/golangci-lint
|
||||
GOLANGCI_LINT_VERSION: v1.55.2
|
||||
run: |
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
|
||||
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||
chmod +x ./cc-test-reporter
|
||||
|
||||
@@ -51,7 +55,7 @@ jobs:
|
||||
./.github/workflows/test.sh
|
||||
|
||||
docker:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Check out code
|
||||
|
||||
@@ -56,7 +56,8 @@ jobs:
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: latest
|
||||
# renovate: datasource=node-version depName=node
|
||||
node-version: 20
|
||||
|
||||
- name: Update documentation
|
||||
run: |
|
||||
|
||||
@@ -22,6 +22,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
# renovate: datasource=node-version depName=node
|
||||
node-version: 20
|
||||
cache: npm
|
||||
cache-dependency-path: "./docs/package-lock.json"
|
||||
@@ -40,6 +41,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
# renovate: datasource=node-version depName=node
|
||||
node-version: 20
|
||||
|
||||
- name: Build docusaurus
|
||||
|
||||
@@ -45,12 +45,18 @@ jobs:
|
||||
- name: Set up go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.21
|
||||
# renovate: datasource=golang-version depName=golang
|
||||
go-version: 1.21.6
|
||||
|
||||
- name: Get dependencies
|
||||
env:
|
||||
# renovate: datasource=github-tags depName=golangci/golangci-lint
|
||||
GOLANGCI_LINT_VERSION: v1.55.2
|
||||
# renovate: datasource=github-tags depName=codeclimate/test-reporter
|
||||
CODECLIMATE_VERSION: v0.11.1
|
||||
run: |
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.0
|
||||
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
|
||||
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-${CODECLIMATE_VERSION}-linux-amd64 > ./cc-test-reporter
|
||||
chmod +x ./cc-test-reporter
|
||||
|
||||
# Install go depedencies
|
||||
|
||||
Reference in New Issue
Block a user