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 d1074a186..d85a55ae8 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 000000000..0a5231bce --- /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 000000000..0157816b3 --- /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 dd92549c1e8a70820a1f55f1b79e08ec9f938ef9 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 16 Nov 2024 13:02:11 +0000 Subject: [PATCH 4/4] Update dependency questionary to v2.0.1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a9a9b6d66..dabf522cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,7 +75,7 @@ dependencies = [ "pydantic==2.9.2", "pynacl==1.5.0", "python-keycloak>=3.9.0,<4.0.0", - "questionary==2.0.0", + "questionary==2.0.1", "requests-toolbelt==1.0.0", "rich==13.5.1", "ruamel.yaml==0.18.6",