Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support helm-git powered repositories for helmfile manager #35141

Open
viceice opened this issue Apr 2, 2025 · 1 comment
Open

Support helm-git powered repositories for helmfile manager #35141

viceice opened this issue Apr 2, 2025 · 1 comment
Labels
manager:helmfile Related to the helmfile package manager priority-4-low Low priority, unlikely to be done unless it becomes important to more people type:feature Feature (new functionality)

Comments

@viceice
Copy link
Member

viceice commented Apr 2, 2025

Discussed in #34928

Originally posted by MaxymVlasov March 20, 2025

How are you running Renovate?

A Mend.io-hosted app

If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.

No response

Please tell us more about your question or problem

We using helmfile and helm-git plugin offical docs for manage ours and 3rd party helm charts.

I not sure is that issue always exist or was introduced in new Renovate versions, as I didn't check Renovate logs for long time. All logs for last 14 days includes that error, and we introduced this specific helm chart only 4 months ago.
But for sure, current Renovate start failing right after addition of

repositories:
  - name: "gitops-external-cluster"
    url: "git+https://github.com/codefresh-io/csdp-official@add-cluster/helm"

Screenshot from 2025-03-20 18-35-16

Minimum reproducible repository - https://github.com/MaxymVlasov/renovate-helmfile-url-issue/tree/main

Logs (if relevant)

Logs

ERROR-only:

ERROR: Request Error: cannot parse url
{
  "url": "index.yaml"
  "baseUrl": "git+https://github.com/codefresh-io/csdp-official@add-cluster/helm/"
  "resolvedUrl": "git+https://github.com/codefresh-io/csdp-official@add-cluster/helm/index.yaml"
}

DEBUG:


DEBUG: Using RE2 regex engine
DEBUG: Parsing configs
DEBUG: Checking for config file in /runner/renovate/job_config.json
DEBUG: Detected config in env RENOVATE_CONFIG
{
  "config": {
    "extends": [
      "mergeConfidence:all-badges"
    ],
    "prFooter": "This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/{{platform}}/{{repository}}).",
    "redisUrl": "redis://developer-platform-bare-metal-prd.aqffol.ng.0001.use1.cache.amazonaws.com:6379",
    "binarySource": "install",
    "globalExtends": [
      "global:safeEnv"
    ],
    "platformCommit": "enabled",
    "allowedCommands": [
      "^git add --all$",
      "^git reset$",
      "^pwd$"
    ],
    "repositoryCache": "enabled",
    "cacheTtlOverride": {
      "datasource-docker-hub-tags": 90,
      "datasource-maven:metadata-xml": 90
    },
    "encryptedWarning": "Encrypted secrets were detected in the repository config. This feature has been deprecated. Please migrate them to this portal. See the guide at http://docs.renovatebot.com/mend-hosted/migrating-secrets/",
    "onboardingConfig": {
      "$schema": "https://docs.renovatebot.com/renovate-schema.json",
      "extends": [
        "config:recommended"
      ]
    },
    "gitIgnoredAuthors": [
      "29139614+renovate[bot]@users.noreply.github.com"
    ],
    "customizeDashboard": {
      "repoProblemsHeader": "These problems occurred while renovating this repository. [View logs](https://developer.mend.io//{{platform}}/{{repository}})."
    },
    "repositoryCacheType": "local",
    "allowCommandTemplating": true,
    "dependencyDashboardFooter": "\n- [ ] <!-- manual job -->Check this box to trigger a request for Renovate to run again on this repository\n",
    "dependencyDashboardHeader": "This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.<br>[View this repository on the Mend.io Web Portal](https://developer.mend.io/{{platform}}/{{repository}})."
  }
}

DEBUG: File config
{
  "config": {
    "token": "***********",
    "privateKey": "***********",
    "privateKeyOld": "***********",
    "hostRules": [
      {
        "hostType": "docker",
        "matchHost": "docker.io",
        "username": "mdpprodrenovate",
        "password": "***********"
      },
      {
        "hostType": "docker",
        "matchHost": "hub.docker.com",
        "username": "mdpprodrenovatedc2",
        "password": "***********"
      },
      {
        "hostType": "github",
        "matchHost": "api.github.com",
        "token": "***********"
      },
      {
        "hostType": "github-tags",
        "matchHost": "api.github.com",
        "token": "***********"
      },
      {
        "hostType": "github-releases",
        "matchHost": "api.github.com",
        "token": "***********"
      },
      {
        "hostType": "pod",
        "matchHost": "api.github.com",
        "token": "***********"
      },
      {
        "hostType": "terraform-provider",
        "matchHost": "api.github.com",
        "token": "***********"
      },
      {
        "hostType": "rubygems",
        "matchHost": "github.com",
        "token": "***********"
      }
    ],
    "secrets": {}
  }
}

DEBUG: CLI config
{
  "config": {}
}

DEBUG: Env config
{
  "config": {
    "extends": [
      "mergeConfidence:all-badges"
    ],
    "prFooter": "This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/{{platform}}/{{repository}}).",
    "redisUrl": "redis://developer-platform-bare-metal-prd.aqffol.ng.0001.use1.cache.amazonaws.com:6379",
    "binarySource": "install",
    "globalExtends": [
      "global:safeEnv"
    ],
    "platformCommit": "enabled",
    "allowedCommands": [
      "^git add --all$",
      "^git reset$",
      "^pwd$"
    ],
    "repositoryCache": "enabled",
    "cacheTtlOverride": {
      "datasource-docker-hub-tags": 90,
      "datasource-maven:metadata-xml": 90
    },
    "encryptedWarning": "Encrypted secrets were detected in the repository config. This feature has been deprecated. Please migrate them to this portal. See the guide at http://docs.renovatebot.com/mend-hosted/migrating-secrets/",
    "onboardingConfig": {
      "$schema": "https://docs.renovatebot.com/renovate-schema.json",
      "extends": [
        "config:recommended"
      ]
    },
    "gitIgnoredAuthors": [
      "29139614+renovate[bot]@users.noreply.github.com"
    ],
    "customizeDashboard": {
      "repoProblemsHeader": "These problems occurred while renovating this repository. [View logs](https://developer.mend.io//{{platform}}/{{repository}})."
    },
    "repositoryCacheType": "local",
    "allowCommandTemplating": true,
    "dependencyDashboardFooter": "\n- [ ] <!-- manual job -->Check this box to trigger a request for Renovate to run again on this repository\n",
    "dependencyDashboardHeader": "This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.<br>[View this repository on the Mend.io Web Portal](https://developer.mend.io/{{platform}}/{{repository}}).",
    "hostRules": [],
    "onboardingNoDeps": "enabled",
    "cacheDir": "/runner/cache",
    "onboarding": true,
    "forkProcessing": "enabled",
    "requireConfig": "required",
    "platform": "github",
    "username": "renovate[bot]",
    "repositories": [
      "MaxymVlasov/renovate-helmfile-url-issue"
    ],
    "gitAuthor": "renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>",
    "deleteConfigFile": true
  }
}

DEBUG: Combined config
{
  "config": {
    "token": "***********",
    "privateKey": "***********",
    "privateKeyOld": "***********",
    "hostRules": [
      {
        "hostType": "docker",
        "matchHost": "docker.io",
        "username": "mdpprodrenovate",
        "password": "***********"
      },
      {
        "hostType": "docker",
        "matchHost": "hub.docker.com",
        "username": "mdpprodrenovatedc2",
        "password": "***********"
      },
      {
        "hostType": "github",
        "matchHost": "api.github.com",
        "token": "***********"
      },
      {
        "hostType": "github-tags",
        "matchHost": "api.github.com",
        "token": "***********"
      },
      {
        "hostType": "github-releases",
        "matchHost": "api.github.com",
        "token": "***********"
      },
      {
        "hostType": "pod",
        "matchHost": "api.github.com",
        "token": "***********"
      },
      {
        "hostType": "terraform-provider",
        "matchHost": "api.github.com",
        "token": "***********"
      },
      {
        "hostType": "rubygems",
        "matchHost": "github.com",
        "token": "***********"
      }
    ],
    "secrets": {},
    "extends": [
      "mergeConfidence:all-badges"
    ],
    "prFooter": "This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/{{platform}}/{{repository}}).",
    "redisUrl": "redis://developer-platform-bare-metal-prd.aqffol.ng.0001.use1.cache.amazonaws.com:6379",
    "binarySource": "install",
    "globalExtends": [
      "global:safeEnv"
    ],
    "platformCommit": "enabled",
    "allowedCommands": [
      "^git add --all$",
      "^git reset$",
      "^pwd$"
    ],
    "repositoryCache": "enabled",
    "cacheTtlOverride": {
      "datasource-docker-hub-tags": 90,
      "datasource-maven:metadata-xml": 90
    },
    "encryptedWarning": "Encrypted secrets were detected in the repository config. This feature has been deprecated. Please migrate them to this portal. See the guide at http://docs.renovatebot.com/mend-hosted/migrating-secrets/",
    "onboardingConfig": {
      "$schema": "https://docs.renovatebot.com/renovate-schema.json",
      "extends": [
        "config:recommended"
      ]
    },
    "gitIgnoredAuthors": [
      "29139614+renovate[bot]@users.noreply.github.com"
    ],
    "customizeDashboard": {
      "repoProblemsHeader": "These problems occurred while renovating this repository. [View logs](https://developer.mend.io//{{platform}}/{{repository}})."
    },
    "repositoryCacheType": "local",
    "allowCommandTemplating": true,
    "dependencyDashboardFooter": "\n- [ ] <!-- manual job -->Check this box to trigger a request for Renovate to run again on this repository\n",
    "dependencyDashboardHeader": "This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.<br>[View this repository on the Mend.io Web Portal](https://developer.mend.io/{{platform}}/{{repository}}).",
    "onboardingNoDeps": "enabled",
    "cacheDir": "/runner/cache",
    "onboarding": true,
    "forkProcessing": "enabled",
    "requireConfig": "required",
    "platform": "github",
    "username": "renovate[bot]",
    "repositories": [
      "MaxymVlasov/renovate-helmfile-url-issue"
    ],
    "gitAuthor": "renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>",
    "deleteConfigFile": true
  }
}

DEBUG: Enabling forkProcessing while in non-autodiscover mode
DEBUG: Enabling onboardingNoDeps while in non-autodiscover mode
DEBUG: Found valid git version: 2.48.1
DEBUG: Setting global hostRules
DEBUG: Adding password authentication for docker.io (hostType=docker) to hostRules
DEBUG: Adding password authentication for hub.docker.com (hostType=docker) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=github) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=github-tags) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=github-releases) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=pod) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=terraform-provider) to hostRules
DEBUG: Adding token authentication for github.com (hostType=rubygems) to hostRules
DEBUG: Using default github endpoint: https://api.github.com/
DEBUG: Platform config
{
  "platformConfig": {
    "hostType": "github",
    "endpoint": "https://api.github.com/",
    "isGHApp": true,
    "isGhe": false
  }
  "renovateUsername": "renovate[bot]"
}

DEBUG: Using configured gitAuthor (renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>)
DEBUG: Adding token authentication for api.github.com (hostType=github) to hostRules
DEBUG: Using baseDir: /tmp/renovate
DEBUG: Using configured cacheDir: /runner/cache
DEBUG: Using containerbaseDir: /runner/cache/containerbase
DEBUG: Redis cache init
DEBUG: Redis cache connected
DEBUG: Commits limit = null
DEBUG: Setting global hostRules
DEBUG: Adding password authentication for docker.io (hostType=docker) to hostRules
DEBUG: Adding password authentication for hub.docker.com (hostType=docker) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=github) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=github-tags) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=github-releases) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=pod) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=terraform-provider) to hostRules
DEBUG: Adding token authentication for github.com (hostType=rubygems) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=github) to hostRules
DEBUG: validatePresets()
DEBUG: Reinitializing hostRules for repo
DEBUG: Clearing hostRules
DEBUG: Adding password authentication for docker.io (hostType=docker) to hostRules
DEBUG: Adding password authentication for hub.docker.com (hostType=docker) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=github) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=github-tags) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=github-releases) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=pod) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=terraform-provider) to hostRules
DEBUG: Adding token authentication for github.com (hostType=rubygems) to hostRules
DEBUG: Adding token authentication for api.github.com (hostType=github) to hostRules
INFO: Repository started
{
  "renovateVersion": "39.207.1"
}

DEBUG: Using localDir: /tmp/renovate/repos/github/MaxymVlasov/renovate-helmfile-url-issue
DEBUG: PackageFiles.clear() - Package files deleted
DEBUG: initRepo("MaxymVlasov/renovate-helmfile-url-issue")
DEBUG: hostRules: authentication already set for api.github.com
DEBUG: Using queue: host=api.github.com, concurrency=16
DEBUG: MaxymVlasov/renovate-helmfile-url-issue default branch = main
DEBUG: Using app token for git init
DEBUG: Repository cache is restored from revision 13
DEBUG: Resetting npmrc
DEBUG: Resetting npmrc
DEBUG: checkOnboarding()
DEBUG: isOnboarded()
DEBUG: findPr(renovate/configure, Configure Renovate, !open)
DEBUG: http cache: saving https://api.github.com/repos/MaxymVlasov/renovate-helmfile-url-issue/pulls?per_page=20&state=all&sort=updated&direction=desc&page=1 (etag=W/"8aa740df53da940bfea4be296a390a0a8d61b5db5ac13bd07596444f192f9556", lastModified=undefined)
DEBUG: getPrList success
{
  "pullsTotal": 1
  "requestsTotal": 1
  "apiQuotaAffected": true
}

DEBUG: Found PR #1
DEBUG: Checking cached config file name
DEBUG: http cache: Using cached response: https://api.github.com/repos/MaxymVlasov/renovate-helmfile-url-issue/contents/renovate.json from 2025-03-20T16:28:34.319Z
DEBUG: Existing config file confirmed
DEBUG: Repository config
{
  "fileName": "renovate.json"
  "config": {
    "$schema": "https://docs.renovatebot.com/renovate-schema.json",
    "extends": [
      "config:recommended"
    ]
  }
}

DEBUG: Repo is onboarded
DEBUG: http cache: Using cached response: https://api.github.com/repos/MaxymVlasov/renovate-helmfile-url-issue/contents/renovate.json from 2025-03-20T16:28:34.319Z
DEBUG: migrateAndValidate()
DEBUG: No config migration necessary
DEBUG: Found repo ignorePaths
{
  "ignorePaths": [
    "**/node_modules/**",
    "**/bower_components/**",
    "**/vendor/**",
    "**/examples/**",
    "**/__tests__/**",
    "**/test/**",
    "**/tests/**",
    "**/__fixtures__/**"
  ]
}

DEBUG: No vulnerability alerts enabled for repo
DEBUG: No vulnerability alerts found
DEBUG: findIssue(Dependency Dashboard)
DEBUG: Issues cache: synced
DEBUG: Found issue 2
DEBUG: http cache: saving https://api.github.com/repos/MaxymVlasov/renovate-helmfile-url-issue/issues/2 (etag=W/"804d1c6febd3d6e10ffd49f14bf738b2254b82219ffc9873b01ab8e9f1ce9c1e", lastModified=Thu, 20 Mar 2025 16:28:34 GMT)
DEBUG: No baseBranches
DEBUG: extract()
DEBUG: Cached extract result cannot be used due to base branch SHA change (old=d9f10a7415f54eeb2d7ab38702a4a12748794857, new=43a3bdfadb9d7ceeec10b6bd166c1b322b340942)
DEBUG: Setting current branch to main
DEBUG: Initializing git repository into /tmp/renovate/repos/github/MaxymVlasov/renovate-helmfile-url-issue
DEBUG: Performing blobless clone
DEBUG: git clone completed
{
  "durationMs": 547
}

DEBUG: latest repository commit
{
  "latestCommit": {
    "hash": "43a3bdfadb9d7ceeec10b6bd166c1b322b340942",
    "date": "2025-03-20T18:29:09+02:00",
    "message": "Add helmfile",
    "refs": "HEAD -> main, origin/main, origin/HEAD",
    "body": "",
    "author_name": "MaxymVlasov",
    "author_email": "[email protected]"
  }
}

DEBUG: latest commit
{
  "branchName": "main"
  "latestCommitDate": "2025-03-20T18:29:09+02:00"
}

DEBUG: Using file match: (^|/)tasks/[^/]+\.ya?ml$ for manager ansible
DEBUG: Using file match: (^|/)(galaxy|requirements)(\.ansible)?\.ya?ml$ for manager ansible-galaxy
DEBUG: Using file match: (^|/)\.tool-versions$ for manager asdf
DEBUG: Using file match: (^|/).azuredevops/.+\.ya?ml$ for manager azure-pipelines
DEBUG: Using file match: azure.*pipelines?.*\.ya?ml$ for manager azure-pipelines
DEBUG: Using file match: (^|/)batect(-bundle)?\.ya?ml$ for manager batect
DEBUG: Using file match: (^|/)batect$ for manager batect-wrapper
DEBUG: Using file match: (^|/)WORKSPACE(|\.bazel|\.bzlmod)$ for manager bazel
DEBUG: Using file match: \.WORKSPACE\.bazel$ for manager bazel
DEBUG: Using file match: \.bzl$ for manager bazel
DEBUG: Using file match: (^|/|\.)MODULE\.bazel$ for manager bazel-module
DEBUG: Using file match: (^|/)\.bazelversion$ for manager bazelisk
DEBUG: Using file match: \.bicep$ for manager bicep
DEBUG: Using file match: (^|/)\.?bitbucket-pipelines\.ya?ml$ for manager bitbucket-pipelines
DEBUG: Using file match: (^|/)bitrise\.ya?ml$ for manager bitrise
DEBUG: Using file match: buildkite\.ya?ml for manager buildkite
DEBUG: Using file match: \.buildkite/.+\.ya?ml$ for manager buildkite
DEBUG: Using file match: (^|/)project\.toml$ for manager buildpacks
DEBUG: Using file match: (^|/)bun\.lockb?$ for manager bun
DEBUG: Using file match: (^|/)\.bun-version$ for manager bun-version
DEBUG: Using file match: (^|/)Gemfile$ for manager bundler
DEBUG: Using file match: \.cake$ for manager cake
DEBUG: Using file match: (^|/)Cargo\.toml$ for manager cargo
DEBUG: Using file match: (^|/)\.circleci/.+\.ya?ml$ for manager circleci
DEBUG: Using file match: (^|/)cloudbuild\.ya?ml for manager cloudbuild
DEBUG: Using file match: (^|/)Podfile$ for manager cocoapods
DEBUG: Using file match: (^|/)([\w-]*)composer\.json$ for manager composer
DEBUG: Using file match: (^|/)conanfile\.(txt|py)$ for manager conan
DEBUG: Using file match: (^|/)\.copier-answers(\..+)?\.ya?ml for manager copier
DEBUG: Using file match: (^|/)cpanfile$ for manager cpanfile
DEBUG: Using file match: (^|/)(?:deps|bb)\.edn$ for manager deps-edn
DEBUG: Using file match: (^|/)devbox\.json$ for manager devbox
DEBUG: Using file match: ^.devcontainer/devcontainer.json$ for manager devcontainer
DEBUG: Using file match: ^.devcontainer.json$ for manager devcontainer
DEBUG: Using file match: (^|/)(?:docker-)?compose[^/]*\.ya?ml$ for manager docker-compose
DEBUG: Using file match: (^|/|\.)([Dd]ocker|[Cc]ontainer)file$ for manager dockerfile
DEBUG: Using file match: (^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$ for manager dockerfile
DEBUG: Using file match: (^|/)\.drone\.yml$ for manager droneci
DEBUG: Using file match: (^|/)fleet\.ya?ml for manager fleet
DEBUG: Using file match: (?:^|/)gotk-components\.ya?ml$ for manager flux
DEBUG: Using file match: (^|/)\.fvm/fvm_config\.json$ for manager fvm
DEBUG: Using file match: (^|/)\.fvmrc$ for manager fvm
DEBUG: Using file match: (^|/)\.gitmodules$ for manager git-submodules
DEBUG: Using file match: (^|/)(workflow-templates|\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\.ya?ml$ for manager github-actions
DEBUG: Using file match: (^|/)action\.ya?ml$ for manager github-actions
DEBUG: Using file match: \.gitlab-ci\.ya?ml$ for manager gitlabci
DEBUG: Using file match: \.gitlab-ci\.ya?ml$ for manager gitlabci-include
DEBUG: Using file match: (^|/)gleam.toml$ for manager gleam
DEBUG: Using file match: (^|/)go\.mod$ for manager gomod
DEBUG: Using file match: \.gradle(\.kts)?$ for manager gradle
DEBUG: Using file match: (^|/)gradle\.properties$ for manager gradle
DEBUG: Using file match: (^|/)gradle/.+\.toml$ for manager gradle
DEBUG: Using file match: (^|/)buildSrc/.+\.kt$ for manager gradle
DEBUG: Using file match: \.versions\.toml$ for manager gradle
DEBUG: Using file match: (^|/)versions.props$ for manager gradle
DEBUG: Using file match: (^|/)versions.lock$ for manager gradle
DEBUG: Using file match: (^|/)gradle/wrapper/gradle-wrapper\.properties$ for manager gradle-wrapper
DEBUG: Using file match: \.cabal$ for manager haskell-cabal
DEBUG: Using file match: (^|/)requirements\.ya?ml$ for manager helm-requirements
DEBUG: Using file match: (^|/)values\.ya?ml$ for manager helm-values
DEBUG: Using file match: (^|/)helmfile\.ya?ml(?:\.gotmpl)?$ for manager helmfile
DEBUG: Using file match: (^|/)Chart\.ya?ml$ for manager helmv3
DEBUG: Using file match: (^|/)bin/hermit$ for manager hermit
DEBUG: Using file match: ^Formula/[^/]+[.]rb$ for manager homebrew
DEBUG: Using file match: \.html?$ for manager html
DEBUG: Using file match: (^|/)plugins\.(txt|ya?ml)$ for manager jenkins
DEBUG: Using file match: (^|/)jsonnetfile\.json$ for manager jsonnet-bundler
DEBUG: Using file match: ^.+\.main\.kts$ for manager kotlin-script
DEBUG: Using file match: (^|/)kustomization\.ya?ml$ for manager kustomize
DEBUG: Using file match: (^|/)project\.clj$ for manager leiningen
DEBUG: Using file match: (^|/|\.)pom\.xml$ for manager maven
DEBUG: Using file match: ^(((\.mvn)|(\.m2))/)?settings\.xml$ for manager maven
DEBUG: Using file match: (^|/)\.mvn/extensions\.xml$ for manager maven
DEBUG: Using file match: (^|\/).mvn/wrapper/maven-wrapper.properties$ for manager maven-wrapper
DEBUG: Using file match: (^|/)package\.js$ for manager meteor
DEBUG: Using file match: (^|/)Mintfile$ for manager mint
DEBUG: Using file match: (^|/)\.?mise\.toml$ for manager mise
DEBUG: Using file match: (^|/)\.?mise/config\.toml$ for manager mise
DEBUG: Using file match: (^|/)mix\.exs$ for manager mix
DEBUG: Using file match: (^|/)flake\.nix$ for manager nix
DEBUG: Using file match: (^|/)\.node-version$ for manager nodenv
DEBUG: Using file match: (^|/)package\.json$ for manager npm
DEBUG: Using file match: (^|/)pnpm-workspace\.yaml$ for manager npm
DEBUG: Using file match: \.(?:cs|fs|vb)proj$ for manager nuget
DEBUG: Using file match: \.(?:props|targets)$ for manager nuget
DEBUG: Using file match: (^|/)dotnet-tools\.json$ for manager nuget
DEBUG: Using file match: (^|/)global\.json$ for manager nuget
DEBUG: Using file match: (^|/)\.nvmrc$ for manager nvm
DEBUG: Using file match: (^|/)src/main/features/.+\.json$ for manager osgi
DEBUG: Using file match: (^|/)pyproject\.toml$ for manager pep621
DEBUG: Using file match: (^|/)[\w-]*requirements([-.]\w+)?\.(txt|pip)$ for manager pip_requirements
DEBUG: Using file match: (^|/)setup\.py$ for manager pip_setup
DEBUG: Using file match: (^|/)Pipfile$ for manager pipenv
DEBUG: Using file match: (^|/)pyproject\.toml$ for manager pixi
DEBUG: Using file match: (^|/)pixi\.toml$ for manager pixi
DEBUG: Using file match: (^|/)pyproject\.toml$ for manager poetry
DEBUG: Using file match: (^|/)\.pre-commit-config\.ya?ml$ for manager pre-commit
DEBUG: Using file match: (^|/)pubspec\.ya?ml$ for manager pub
DEBUG: Using file match: (^|/)Puppetfile$ for manager puppet
DEBUG: Using file match: (^|/)\.python-version$ for manager pyenv
DEBUG: Using file match: (^|/)\.ruby-version$ for manager ruby-version
DEBUG: Using file match: (^|/)runtime.txt$ for manager runtime-version
DEBUG: Using file match: \.sbt$ for manager sbt
DEBUG: Using file match: project/[^/]*\.scala$ for manager sbt
DEBUG: Using file match: project/build\.properties$ for manager sbt
DEBUG: Using file match: (^|/)repositories$ for manager sbt
DEBUG: Using file match: (^|/)\.scalafmt.conf$ for manager scalafmt
DEBUG: Using file match: (^|/)setup\.cfg$ for manager setup-cfg
DEBUG: Using file match: (^|/)Package\.swift for manager swift
DEBUG: Using file match: \.tf$ for manager terraform
DEBUG: Using file match: (^|/)\.terraform-version$ for manager terraform-version
DEBUG: Using file match: (^|/)terragrunt\.hcl$ for manager terragrunt
DEBUG: Using file match: (^|/)\.terragrunt-version$ for manager terragrunt-version
DEBUG: Using file match: \.tflint\.hcl$ for manager tflint-plugin
DEBUG: Using file match: ^\.travis\.ya?ml$ for manager travis
DEBUG: Using file match: (^|/)\.vela\.ya?ml$ for manager velaci
DEBUG: Using file match: (^|/)vendir\.yml$ for manager vendir
DEBUG: Using file match: ^\.woodpecker(?:/[^/]+)?\.ya?ml$ for manager woodpecker
DEBUG: Matched 1 file(s) for manager helmfile: helmfile.yaml
DEBUG: repositories discovered.
{
  "registryAliases": {
    "gitops-external-cluster": {
      "name": "gitops-external-cluster",
      "url": "git+https://github.com/codefresh-io/csdp-official@add-cluster/helm"
    }
  }
  "packageFile": "helmfile.yaml"
}

DEBUG: manager extract durations (ms)
{
  "managers": {
    "helmfile": 17
  }
}

DEBUG: Found helmfile package files
DEBUG: Found 1 package file(s)
INFO: Dependency extraction complete
{
  "baseBranch": "main"
  "stats": {
    "managers": {
      "helmfile": {
        "fileCount": 1,
        "depCount": 1
      }
    },
    "total": {
      "fileCount": 1,
      "depCount": 1
    }
  }
}

ERROR: Request Error: cannot parse url
{
  "url": "index.yaml"
  "baseUrl": "git+https://github.com/codefresh-io/csdp-official@add-cluster/helm/"
  "resolvedUrl": "git+https://github.com/codefresh-io/csdp-official@add-cluster/helm/index.yaml"
}

DEBUG: Datasource unknown error
{
  "datasource": "helm"
  "packageName": "csdp-add-cluster"
  "err": {
    "message": "Invalid URL",
    "stack": "Error: Invalid URL\n    at Http.resolveUrl (/usr/local/renovate/lib/util/http/http.ts:278:13)\n    at Http.request (/usr/local/renovate/lib/util/http/http.ts:121:30)\n    at Http.getText (/usr/local/renovate/lib/util/http/http.ts:307:17)\n    at Http.getYaml (/usr/local/renovate/lib/util/http/http.ts:421:28)\n    at Http.getYamlSafe (/usr/local/renovate/lib/util/http/http.ts:458:30)\n    at HelmDatasource.getRepositoryData (/usr/local/renovate/lib/modules/datasource/helm/index.ts:38:8)\n    at callback (/usr/local/renovate/lib/util/decorator/index.ts:55:34)\n    at /usr/local/renovate/lib/util/cache/package/decorator.ts:131:26\n    at processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at HelmDatasource.getReleases (/usr/local/renovate/lib/modules/datasource/helm/index.ts:61:28)\n    at getRegistryReleases (/usr/local/renovate/lib/modules/datasource/index.ts:85:15)\n    at fetchReleases (/usr/local/renovate/lib/modules/datasource/index.ts:318:15)\n    at lookupUpdates (/usr/local/renovate/lib/workers/repository/process/lookup/index.ts:142:56)\n    at /usr/local/renovate/lib/workers/repository/process/fetch.ts:79:12\n    at Function.wrap (/usr/local/renovate/lib/util/stats.ts:38:20)\n    at /usr/local/renovate/lib/workers/repository/process/fetch.ts:125:23\n    at /usr/local/renovate/node_modules/.pnpm/[email protected]/node_modules/p-map/index.js:57:22"
  }
}

DEBUG: Failed to look up helm package csdp-add-cluster
{
  "dependency": "csdp-add-cluster"
  "packageFile": "helmfile.yaml"
}

DEBUG: PackageFiles.add() - Package file saved for base branch
{
  "baseBranch": "main"
}

DEBUG: Package releases lookups complete
{
  "baseBranch": "main"
}

DEBUG: Repository libYears
{
  "managerLibYears": {
    "helmfile": 0
  }
  "totalLibYears": 0
  "totalDepsCount": 1
  "outdatedDepsCount": 0
}

DEBUG: branchifyUpgrades
DEBUG: detectSemanticCommits()
DEBUG: getCommitMessages
DEBUG: semanticCommits: detected "unknown"
DEBUG: semanticCommits: disabled
DEBUG: 0 flattened updates found: 
DEBUG: Returning 0 branch(es)
DEBUG: config.repoIsOnboarded=true
DEBUG: packageFiles with updates
{
  "baseBranch": "main"
  "config": {
    "helmfile": [
      {
        "deps": [
          {
            "depName": "csdp-add-cluster",
            "currentValue": "0.4.0",
            "registryUrls": [
              "git+https://github.com/codefresh-io/csdp-official@add-cluster/helm"
            ],
            "updates": [],
            "packageName": "csdp-add-cluster",
            "versioning": "helm",
            "warnings": [
              {
                "topic": "csdp-add-cluster",
                "message": "Failed to look up helm package csdp-add-cluster"
              }
            ]
          }
        ],
        "datasource": "helm",
        "packageFile": "helmfile.yaml"
      }
    ]
  }
}

DEBUG: detectSemanticCommits()
DEBUG: semanticCommits: returning "disabled" from cache
DEBUG: processRepo()
DEBUG: Processing 0 branches: 
DEBUG: 0 PRs are currently open
DEBUG: ConcurrentPRs count = 0
DEBUG: 0 already existing branches found.
DEBUG: Branches count = 0
DEBUG: Calculating PRs created so far in this hour currentHourStart=2025-03-20T16:00:00.000Z
DEBUG: 0 PRs have been created so far in this hour.
DEBUG: HourlyPRs count = 0
DEBUG: http cache: Using cached response: https://api.github.com/repos/MaxymVlasov/renovate-helmfile-url-issue/contents/renovate.json from 2025-03-20T16:28:34.319Z
DEBUG: Config does not need migration
DEBUG: ensureDependencyDashboard()
DEBUG: Ensuring Dependency Dashboard
DEBUG: Checking packageFiles for deprecated packages
WARN: Package lookup failures
{
  "warnings": [
    "Failed to look up helm package csdp-add-cluster"
  ]
  "files": [
    "helmfile.yaml"
  ]
}

DEBUG: http cache: saving https://api.github.com/repos/MaxymVlasov/renovate-helmfile-url-issue/issues/2 (etag=W/"804d1c6febd3d6e10ffd49f14bf738b2254b82219ffc9873b01ab8e9f1ce9c1e", lastModified=Thu, 20 Mar 2025 16:28:34 GMT)
DEBUG: http cache: saving https://api.github.com/repos/MaxymVlasov/renovate-helmfile-url-issue/issues/2 (etag=W/"804d1c6febd3d6e10ffd49f14bf738b2254b82219ffc9873b01ab8e9f1ce9c1e", lastModified=Thu, 20 Mar 2025 16:28:34 GMT)
DEBUG: ensureIssue(Dependency Dashboard)
DEBUG: http cache: saving https://api.github.com/repos/MaxymVlasov/renovate-helmfile-url-issue/issues/2 (etag=W/"804d1c6febd3d6e10ffd49f14bf738b2254b82219ffc9873b01ab8e9f1ce9c1e", lastModified=Thu, 20 Mar 2025 16:28:34 GMT)
DEBUG: Patching issue
DEBUG: Issue updated
DEBUG: checkReconfigureBranch()
DEBUG: No reconfigure branch found
DEBUG: Removing any stale branches
DEBUG: config.repoIsOnboarded=true
DEBUG: No renovate branches found
DEBUG: PackageFiles.clear() - Package files deleted
DEBUG: Branch summary
{
  "cacheModified": true
  "baseBranches": [
    {
      "branchName": "main",
      "sha": "43a3bdfadb9d7ceeec10b6bd166c1b322b340942"
    }
  ]
  "branches": []
  "defaultBranch": "main"
  "inactiveBranches": []
}

DEBUG: Renovate repository PR statistics
{
  "stats": {
    "total": 0,
    "open": 0,
    "closed": 0,
    "merged": 0
  }
}

DEBUG: Repository result: done, status: onboarded, enabled: true, onboarded: true
DEBUG: repository problems
{
  "repoProblems": [
    "ERROR: Request Error: cannot parse url",
    "WARN: Package lookup failures"
  ]
}

DEBUG: Repository timing splits (milliseconds)
{
  "splits": {
    "init": 2735,
    "extract": 1349,
    "lookup": 176,
    "onboarding": 1,
    "update": 3
  }
  "total": 4954
}

DEBUG: Package cache statistics
{
  "get": {
    "count": 1,
    "avgMs": 1,
    "medianMs": 1,
    "maxMs": 1,
    "totalMs": 1
  }
  "set": {
    "count": 0,
    "avgMs": 0,
    "medianMs": 0,
    "maxMs": 0,
    "totalMs": 0
  }
}

DEBUG: HTTP statistics
{
  "hosts": {
    "api.github.com": {
      "count": 5,
      "reqAvgMs": 256,
      "reqMedianMs": 151,
      "reqMaxMs": 530,
      "queueAvgMs": 2,
      "queueMedianMs": 0,
      "queueMaxMs": 10
    }
  }
  "requests": 5
}

DEBUG: HTTP cache statistics
{
  "https://api.github.com": {
    "/repos/MaxymVlasov/renovate-helmfile-url-issue/contents/renovate.json": {
      "hit": 3,
      "miss": 0
    },
    "/repos/MaxymVlasov/renovate-helmfile-url-issue/issues/2": {
      "hit": 0,
      "miss": 4
    },
    "/repos/MaxymVlasov/renovate-helmfile-url-issue/pulls": {
      "hit": 0,
      "miss": 1
    }
  }
}

DEBUG: Lookup statistics
{
  "helm": {
    "count": 1,
    "avgMs": 74,
    "medianMs": 74,
    "maxMs": 74,
    "totalMs": 74
  }
}

INFO: Repository finished
{
  "cloned": true
  "durationMs": 4954
}

INFO: Renovate is exiting with a non-zero code due to the following logged errors
{
  "loggerErrors": [
    {
      "name": "renovate",
      "level": 50,
      "logContext": "52PFipBiUbd9z6ruao4tZ",
      "repository": "MaxymVlasov/renovate-helmfile-url-issue",
      "url": "index.yaml",
      "baseUrl": "git+https://github.com/codefresh-io/csdp-official@add-cluster/helm/",
      "resolvedUrl": "git+https://github.com/codefresh-io/csdp-official@add-cluster/helm/index.yaml",
      "msg": "Request Error: cannot parse url"
    }
  ]
}

@viceice viceice added manager:helmfile Related to the helmfile package manager type:feature Feature (new functionality) priority-4-low Low priority, unlikely to be done unless it becomes important to more people labels Apr 2, 2025
@viceice
Copy link
Member Author

viceice commented Apr 2, 2025

🤔 Will probably need a new datasource.

git+https://github.com/codefresh-io/csdp-official@add-cluster/helm means check the version inside add-cluster/helm/Chart.yaml in https://github.com/codefresh-io/csdp-official repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
manager:helmfile Related to the helmfile package manager priority-4-low Low priority, unlikely to be done unless it becomes important to more people type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

1 participant