diff --git a/.github/renovate.json b/.github/renovate.json index 96668148..715e64bd 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,68 +1,4 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended", - ":semanticCommits", - ":preserveSemverRanges", - ":rebaseStalePrs" - ], - "minimumReleaseAge": "7 days", - "ignorePaths": [".github/workflows/lint.yaml", ".github/workflows/stale.yml"], - "labels": ["dependencies"], - "vulnerabilityAlerts": { - "labels": ["type:security"], - "minimumReleaseAge": null - }, - "constraints": {"go": "1.20"}, - "packageRules": [ - { - "matchFileNames": ["examples/**", "test/**", ".github/**"], - "commitMessagePrefix": "chore(deps):" - }, - { - "matchFileNames": ["*", "modules/**"], - "commitMessagePrefix": "fix(deps):" - }, - { - "matchFileNames": ["*", "modules/**"], - "matchUpdateTypes": "major", - "commitMessagePrefix": "fix(deps)!:" - }, - {"matchDepTypes": ["module"], "groupName": "TF modules"}, - { - "matchDepTypes": ["require"], - "groupName": "GO modules", - "postUpdateOptions": ["gomodTidy"] - }, - { - "matchDatasources": ["golang-version"], - "rangeStrategy": "bump", - "allowedVersions": "<1.21.0", - "postUpdateOptions": ["gomodTidy"] - }, - { - "matchDepNames": ["google", "google-beta"], - "groupName": "Terraform Google Provider" - } - ], - "regexManagers": [ - { - "fileMatch": ["(^|/)Makefile$"], - "matchStrings": [ - "DOCKER_TAG_VERSION_DEVELOPER_TOOLS := (?.*?)\\n" - ], - "datasourceTemplate": "docker", - "registryUrlTemplate": "https://gcr.io/cloud-foundation-cicd", - "depNameTemplate": "cft/developer-tools" - }, - { - "fileMatch": ["(^|/)build/(int|lint)\\.cloudbuild\\.yaml$"], - "matchStrings": [ - " _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '(?.*?)'\\n" - ], - "datasourceTemplate": "docker", - "registryUrlTemplate": "https://gcr.io/cloud-foundation-cicd", - "depNameTemplate": "cft/developer-tools" - } - ] + "extends": ["github>GoogleCloudPlatform/cloud-foundation-toolkit//infra/terraform/test-org/github/resources/renovate"] } diff --git a/Makefile b/Makefile index a58a141f..fb2b149a 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ # Make will use bash instead of sh SHELL := /usr/bin/env bash -DOCKER_TAG_VERSION_DEVELOPER_TOOLS := 1.13 +DOCKER_TAG_VERSION_DEVELOPER_TOOLS := 1.16 DOCKER_IMAGE_DEVELOPER_TOOLS := cft/developer-tools REGISTRY_URL := gcr.io/cloud-foundation-cicd ENABLE_BPMETADATA := 1 diff --git a/build/int.cloudbuild.yaml b/build/int.cloudbuild.yaml index f4284b4b..812e560d 100644 --- a/build/int.cloudbuild.yaml +++ b/build/int.cloudbuild.yaml @@ -53,4 +53,4 @@ tags: - 'integration' substitutions: _DOCKER_IMAGE_DEVELOPER_TOOLS: 'cft/developer-tools' - _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.13' + _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.16' diff --git a/build/lint.cloudbuild.yaml b/build/lint.cloudbuild.yaml index 339154d0..fab56a49 100644 --- a/build/lint.cloudbuild.yaml +++ b/build/lint.cloudbuild.yaml @@ -21,4 +21,4 @@ tags: - 'lint' substitutions: _DOCKER_IMAGE_DEVELOPER_TOOLS: 'cft/developer-tools' - _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.13' + _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.16'