From 70cedacc77d1f6d8ff54435d2a07a86455a4443d Mon Sep 17 00:00:00 2001 From: smokestacklightnin <125844868+smokestacklightnin@users.noreply.github.com> Date: Sat, 16 Nov 2024 02:50:47 -0800 Subject: [PATCH 1/4] Add pre-commit trigger for renovate config --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d1074a1862..d85a55ae8a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -82,3 +82,8 @@ repos: - id: terraform_fmt args: - --args=-write=true + + - repo: https://github.com/renovatebot/pre-commit-hooks + rev: 39.17.1 + hooks: + - id: renovate-config-validator From cbabdb0386c0c3dc33e909b88233a3c22f8dd044 Mon Sep 17 00:00:00 2001 From: smokestacklightnin <125844868+smokestacklightnin@users.noreply.github.com> Date: Sat, 16 Nov 2024 03:01:52 -0800 Subject: [PATCH 2/4] Add Renovate github actions workflow --- .github/workflows/renovate.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/renovate.yml diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 0000000000..0a5231bcea --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,19 @@ +name: Renovate +on: + workflow_dispatch: + schedule: + # The "*" (#42, asterisk) character has special semantics in YAML, so this + # string has to be quoted. + - cron: '0/5 * * * *' +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.2.2 + - name: Self-hosted Renovate + uses: renovatebot/github-action@v40.3.5 + with: + token: ${{ secrets.RENOVATE_TOKEN }} + env: + RENOVATE_REPOSITORIES: "smokestacklightnin/nebari" From 239d540bdbaf1baed6b2a699ce762780bee34398 Mon Sep 17 00:00:00 2001 From: smokestacklightnin <125844868+smokestacklightnin@users.noreply.github.com> Date: Sat, 16 Nov 2024 03:03:08 -0800 Subject: [PATCH 3/4] Add renovate repository config --- renovate.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000000..0157816b32 --- /dev/null +++ b/renovate.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "packageRules": [ + { + "allowedVersions": "<6.0", + "matchPackageNames": [ + "hashicorp/google" + ] + }, + { + "allowedVersions": "<=1.5.0", + "matchPackageNames": [ + "hashicorp/terraform" + ] + } + ] +} From 291a4ccf836e6f73406dfcdd4b2f80386ccc2831 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 16 Nov 2024 11:07:21 +0000 Subject: [PATCH 4/4] Update Helm release jupyterhub to v4.0.0 --- .../template/modules/kubernetes/services/jupyterhub/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/main.tf b/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/main.tf index a36090f41c..376484b20d 100644 --- a/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/main.tf +++ b/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/main.tf @@ -57,7 +57,7 @@ resource "helm_release" "jupyterhub" { repository = "https://jupyterhub.github.io/helm-chart/" chart = "jupyterhub" - version = "4.0.0-0.dev.git.6707.h109668fd" + version = "4.0.0" values = concat([ file("${path.module}/values.yaml"),