Skip to content

Commit

Permalink
review feedback
Browse files Browse the repository at this point in the history
- remove dependabot file
- revert testdrive/utils.go terraformVersion
- separate conftest upgrade process
  • Loading branch information
krrrr38 committed Dec 18, 2022
1 parent 2366387 commit b328e30
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 24 deletions.
22 changes: 0 additions & 22 deletions .github/dependabot.yml

This file was deleted.

34 changes: 33 additions & 1 deletion renovate.json5 → .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,11 +1,43 @@
{
extends: [
"config:base",
":disableRateLimiting",
"schedule:earlyMondays"
],
automerge: false,
platformAutomerge: false,
labels: ["dependencies"],
postUpdateOptions: ["gomodTidy", "yarnDedupeHighest"],
prHourlyLimit: 0,
prConcurrentLimit: 5,
packageRules: [
// e2e test depends on testing/Dockefile testing-image which has conftest specific version.
// to upgrade conftest versions, we need following PRs.
// 1. update testing/Dockerfile conftest version
// 2. update testing-env tag
// 3. update e2e conftest version
// this settings allow to create only testing/Dockefile contest version update PR which uses branch prefix.
{
matchPaths: ["testing/**"],
matchPackagePatterns: ["conftest"],
additionalBranchPrefix: "{{baseDir}}-",
groupName: "conftest-testing",
prBodyNotes: [
":warning: You need to upgrade testing-env conftest firstly, then upgrade other conftest versions for e2e :warning:",
],
},
{
ignorePaths: ["testing/**"],
matchPackagePatterns: ["github-actions"],
groupName: "github-",
},
{
// we need to upgrade testing-env on ci quickly
matchPaths: [".github/**"],
matchPackageNames: ["ghcr.io/runatlantis/testing-env"],
groupName: "testing-env-ci-test",
schedules: ["every 1 hour after 00:00 and before 23:59 every day"],
},
],
// https://docs.renovatebot.com/modules/manager/regex/
regexManagers: [
{
Expand Down
2 changes: 1 addition & 1 deletion testdrive/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
)

const hashicorpReleasesURL = "https://releases.hashicorp.com"
const terraformVersion = "1.3.6" // renovate: datasource=github-releases depName=hashicorp/terraform versioning=hashicorp
const terraformVersion = "1.3.5" // renovate: datasource=github-releases depName=hashicorp/terraform versioning=hashicorp
const ngrokDownloadURL = "https://bin.equinox.io/c/4VmDzA7iaHb"
const ngrokAPIURL = "localhost:41414" // We hope this isn't used.
const atlantisPort = 4141
Expand Down

0 comments on commit b328e30

Please sign in to comment.