Skip to content

Commit

Permalink
chore: Configure Renovate (#130)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

Welcome to [Renovate](https://github.com/renovatebot/renovate)! This
is an onboarding PR to help you understand and configure settings before
regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate,
simply close this Pull Request unmerged.



---
### Detected Package Files

 * `site/docker-compose.yaml` (docker-compose)
 * `Dockerfile` (dockerfile)
 * `site/Dockerfile` (dockerfile)
 * `.github/workflows/docker-publish.yaml` (github-actions)
 * `.github/workflows/helm-publish.yaml` (github-actions)
 * `.github/workflows/hugo.yaml` (github-actions)
 * `.github/workflows/make-test-e2e.yaml` (github-actions)
 * `.github/workflows/make-test.yaml` (github-actions)
 * `.github/workflows/pre-commit.yaml` (github-actions)
 * `.github/workflows/release-drafter.yml` (github-actions)
 * `go.mod` (gomod)
 * `site/go.mod` (gomod)
 * `charts/etcd-operator/values.yaml` (helm-values)
 * `site/package.json` (npm)
 * `site/.nvmrc` (nvm)
 * `Makefile` (regex)

### Configuration Summary

Based on the default config's presets, Renovate will:

  - Start dependency updates only once this onboarding PR is merged
  - Show all Merge Confidence badges for pull requests.
  - Enable Renovate Dependency Dashboard creation.
- Use semantic commit type `fix` for dependencies and `chore` for all
others if semantic commits are in use.
- Ignore `node_modules`, `bower_components`, `vendor` and various
test/tests directories.
  - Group known monorepo packages together.
  - Use curated list of recommended non-monorepo package groupings.
  - Apply crowd-sourced package replacement rules.
  - Apply crowd-sourced workarounds for known problems with packages.

🔡 Do you want to change how Renovate upgrades your dependencies? Add
your custom config to `renovate.json` in this branch. Renovate will
update the Pull Request description the next time it runs.

---

### What to Expect

With your current configuration, Renovate will create 22 Pull Requests:

<details>
<summary>fix(deps): update k8s.io/utils digest to 4693a02</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/k8s.io-utils-digest`
  - Merge into: `main`
- Upgrade [k8s.io/utils](https://github.com/kubernetes/utils) to
`4693a0247e57ebeacb9f261f07a03c9ecd569f44`


</details>

<details>
<summary>chore(deps): update dependency autoprefixer to
v10.4.19</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/autoprefixer-10.x-lockfile`
  - Merge into: `main`
- Upgrade [autoprefixer](https://github.com/postcss/autoprefixer) to
`10.4.19`


</details>

<details>
<summary>chore(deps): update dependency kubernetes/kubernetes to
v1.29.3</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/kubernetes-kubernetes-1.x`
  - Merge into: `main`
- Upgrade
[kubernetes/kubernetes](https://github.com/kubernetes/kubernetes) to
`v1.29.3`


</details>

<details>
<summary>chore(deps): update golang docker tag to v1.22.2</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/golang-1.x`
  - Merge into: `main`
  - Upgrade golang to `1.22.2`


</details>

<details>
<summary>fix(deps): update kubernetes packages to v0.29.3</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/kubernetes-go`
  - Merge into: `main`
- Upgrade [k8s.io/api](https://github.com/kubernetes/api) to `v0.29.3`
- Upgrade
[k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) to
`v0.29.3`
- Upgrade [k8s.io/client-go](https://github.com/kubernetes/client-go)
to `v0.29.3`


</details>

<details>
<summary>fix(deps): update module sigs.k8s.io/controller-runtime to
v0.17.3</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/sigs.k8s.io-controller-runtime-0.x`
  - Merge into: `main`
- Upgrade
[sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime)
to `v0.17.3`


</details>

<details>
<summary>chore(deps): update dependency golangci/golangci-lint to
v1.57.2</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/golangci-golangci-lint-1.x`
  - Merge into: `main`
- Upgrade
[golangci/golangci-lint](https://github.com/golangci/golangci-lint) to
`v1.57.2`


</details>

<details>
<summary>chore(deps): update dependency hugo-extended to
v0.124.1</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/hugo-extended-0.x`
  - Merge into: `main`
- Upgrade [hugo-extended](https://github.com/jakejarvis/hugo-extended)
to `0.124.1`


</details>

<details>
<summary>chore(deps): update dependency mikefarah/yq to
v4.43.1</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/mikefarah-yq-4.x`
  - Merge into: `main`
- Upgrade [mikefarah/yq](https://github.com/mikefarah/yq) to `v4.43.1`


</details>

<details>
<summary>chore(deps): update dependency
prometheus-operator/prometheus-operator to v0.73.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/prometheus-operator-prometheus-operator-0.x`
  - Merge into: `main`
- Upgrade
[prometheus-operator/prometheus-operator](https://github.com/prometheus-operator/prometheus-operator)
to `v0.73.0`


</details>

<details>
<summary>chore(deps): update docker/build-push-action action to
v5.3.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/docker-build-push-action-5.x`
  - Merge into: `main`
- Upgrade
[docker/build-push-action](https://github.com/docker/build-push-action)
to `v5.3.0`


</details>

<details>
<summary>chore(deps): update docker/login-action action to
v3.1.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/docker-login-action-3.x`
  - Merge into: `main`
- Upgrade
[docker/login-action](https://github.com/docker/login-action) to
`v3.1.0`


</details>

<details>
<summary>chore(deps): update docker/metadata-action action to
v5.5.1</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/docker-metadata-action-5.x`
  - Merge into: `main`
- Upgrade
[docker/metadata-action](https://github.com/docker/metadata-action) to
`v5.5.1`


</details>

<details>
<summary>chore(deps): update docker/setup-buildx-action action to
v3.3.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/docker-setup-buildx-action-3.x`
  - Merge into: `main`
- Upgrade
[docker/setup-buildx-action](https://github.com/docker/setup-buildx-action)
to `v3.3.0`


</details>

<details>
<summary>chore(deps): update gcr.io/kubebuilder/kube-rbac-proxy docker
tag to v0.16.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/gcr.io-kubebuilder-kube-rbac-proxy-0.x`
  - Merge into: `main`
  - Upgrade gcr.io/kubebuilder/kube-rbac-proxy to `v0.16.0`


</details>

<details>
<summary>chore(deps): update sigstore/cosign-installer action to
v3.4.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/sigstore-cosign-installer-3.x`
  - Merge into: `main`
- Upgrade
[sigstore/cosign-installer](https://github.com/sigstore/cosign-installer)
to `v3.4.0`


</details>

<details>
<summary>fix(deps): update module github.com/onsi/ginkgo/v2 to
v2.17.1</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/git.luolix.top-onsi-ginkgo-v2-2.x`
  - Merge into: `main`
- Upgrade [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo)
to `v2.17.1`


</details>

<details>
<summary>fix(deps): update module github.com/onsi/gomega to
v1.32.0</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/git.luolix.top-onsi-gomega-1.x`
  - Merge into: `main`
- Upgrade [github.com/onsi/gomega](https://github.com/onsi/gomega) to
`v1.32.0`


</details>

<details>
<summary>chore(deps): update actions/checkout action to v4</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/actions-checkout-4.x`
  - Merge into: `main`
- Upgrade [actions/checkout](https://github.com/actions/checkout) to
`v4.1.1`


</details>

<details>
<summary>chore(deps): update actions/configure-pages action to
v5</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/actions-configure-pages-5.x`
  - Merge into: `main`
- Upgrade
[actions/configure-pages](https://github.com/actions/configure-pages)
to `v5.0.0`


</details>

<details>
<summary>chore(deps): update actions/deploy-pages action to v4</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/actions-deploy-pages-4.x`
  - Merge into: `main`
- Upgrade
[actions/deploy-pages](https://github.com/actions/deploy-pages) to
`v4.0.5`


</details>

<details>
<summary>chore(deps): update actions/upload-pages-artifact action to
v3</summary>

  - Schedule: ["at any time"]
  - Branch name: `renovate/actions-upload-pages-artifact-3.x`
  - Merge into: `main`
- Upgrade
[actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact)
to `v3.0.1`


</details>

<br />

🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't
swamp any CI resources or overwhelm the project. See docs for
`prhourlylimit` for details.


---

❓ Got questions? Check out Renovate's
[Docs](https://docs.renovatebot.com/), particularly the Getting Started
section.
If you need any further assistance then you can also [request help
here](https://github.com/renovatebot/renovate/discussions).


---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/aenix-io/etcd-operator).


<!--renovate-config-hash:b7f20c3704cbb9320642391c0dc8067470ebc2958897a210538c701e44e82ece-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hidden Marten <hiddenmarten@gmail.com>
  • Loading branch information
renovate[bot] and hiddenmarten authored Apr 10, 2024
1 parent 39e8d17 commit 37d8514
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v3.6.0

# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ defaults:
jobs:
# Build job
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
HUGO_VERSION: 0.123.8
steps:
Expand All @@ -41,13 +41,13 @@ jobs:
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with:
submodules: recursive
fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
uses: actions/configure-pages@v4.0.0
- name: Install Node.js dependencies
working-directory: ./site
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
Expand All @@ -63,7 +63,7 @@ jobs:
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v2.0.0
with:
path: ./site/public

Expand All @@ -77,4 +77,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v3.0.1
4 changes: 2 additions & 2 deletions .github/workflows/make-test-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
if: contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(fromJSON('["COLLABORATOR", "MEMBER", "OWNER"]'), github.event.pull_request.author_association)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/checkout@v4.1.1
- uses: actions/setup-go@v5.0.0
with:
go-version: 1.22.1
- uses: helm/kind-action@v1.9.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/make-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
k8s_version: [1.27.1,1.28.0,1.29.0]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/checkout@v4.1.1
- uses: actions/setup-go@v5.0.0
with:
go-version: 1.22.1
- run: ENVTEST_K8S_VERSION=${{ matrix.k8s_version }} make test
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/checkout@v4.1.1
- uses: actions/setup-go@v5.0.0
with:
go-version: 1.22.1
- uses: pre-commit/action@v3.0.1
4 changes: 2 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ permissions:

jobs:
update_release_draft:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: release-drafter/release-drafter@v6
- uses: release-drafter/release-drafter@v6.0.0
with:
disable-releaser: github.ref != 'refs/heads/main'
config-name: release-drafter.yml
Expand Down
16 changes: 14 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
# Image URL to use all building/pushing image targets
IMG ?= ghcr.io/aenix-io/etcd-operator:latest
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
ENVTEST_K8S_VERSION ?= 1.29.0
# renovate: datasource=github-tags depName=kubernetes/kubernetes
ENVTEST_K8S_VERSION ?= v1.29.0
ENVTEST_K8S_VERSION_TRIMMED_V = $(subst v,,$(ENVTEST_K8S_VERSION))

# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))
Expand Down Expand Up @@ -62,7 +64,7 @@ vet: ## Run go vet against code.

.PHONY: test
test: manifests generate fmt vet envtest ## Run tests.
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test $$(go list ./... | grep -v /e2e) -coverprofile cover.out
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION_TRIMMED_V) --bin-dir $(LOCALBIN) -p path)" go test $$(go list ./... | grep -v /e2e) -coverprofile cover.out

# Utilize Kind or modify the e2e tests to load the image locally, enabling compatibility with other vendors.
.PHONY: test-e2e # Run the e2e tests against a Kind k8s instance that is spun up.
Expand Down Expand Up @@ -145,7 +147,9 @@ build-installer: manifests generate kustomize ## Generate a consolidated YAML wi
KIND_CLUSTER_NAME ?= etcd-operator-kind
NAMESPACE ?= etcd-operator-system

# renovate: datasource=github-tags depName=prometheus-operator/prometheus-operator
PROMETHEUS_OPERATOR_VERSION ?= v0.72.0
# renovate: datasource=github-tags depName=jetstack/cert-manager
CERT_MANAGER_VERSION ?= v1.14.4

ifndef ignore-not-found
Expand Down Expand Up @@ -221,14 +225,22 @@ HELM_DOCS ?= $(LOCALBIN)/helm-docs
YQ = $(LOCALBIN)/yq

## Tool Versions
# renovate: datasource=github-tags depName=kubernetes-sigs/kustomize
KUSTOMIZE_VERSION ?= v5.3.0
# renovate: datasource=github-tags depName=kubernetes-sigs/controller-tools
CONTROLLER_TOOLS_VERSION ?= v0.14.0
ENVTEST_VERSION ?= latest
# renovate: datasource=github-tags depName=golangci/golangci-lint
GOLANGCI_LINT_VERSION ?= v1.54.2
# renovate: datasource=github-tags depName=kubernetes-sigs/kind
KIND_VERSION ?= v0.22.0
# renovate: datasource=github-tags depName=helm/helm
HELM_VERSION ?= v3.14.3
# renovate: datasource=github-tags depName=losisin/helm-values-schema-json
HELM_SCHEMA_VERSION ?= v1.2.2
# renovate: datasource=github-tags depName=norwoodj/helm-docs
HELM_DOCS_VERSION ?= v1.13.1
# renovate: datasource=github-tags depName=mikefarah/yq
YQ_VERSION ?= v4.42.1

## Tool install scripts
Expand Down
16 changes: 16 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^Makefile$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?_VERSION \\?= (?<currentValue>.*)\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
]
}

0 comments on commit 37d8514

Please sign in to comment.