GithubHelp home page GithubHelp logo

Comments (6)

monotek avatar monotek commented on May 19, 2024

OK, seems this is the cause: #56

Imho its still a problem that setting "check-version-increment: true" explicitly is ignored.

At least an error message like "parameters can't be used together" would be nice.

from chart-testing.

monotek avatar monotek commented on May 19, 2024

I guess if i put the chart into a subdirectory (charts )it would work.
Is this wanted behaviour?

Edit: #73 may fix my problem too :-)

from chart-testing.

unguiculus avatar unguiculus commented on May 19, 2024

I don't think #53 is your problem. If you want to lint all charts no matter if they changed or not, it makes sense to have the version check disabled. But #73 could indeed fix the issue. Please try again. v2.1.0 was just released.

from chart-testing.

monotek avatar monotek commented on May 19, 2024

Unfortunately the new version did not help. The chart is still linted.

I want to lint a single chart in the top directory of my repo. See: https://github.com/zammad/helm

If i update the for example the circle ci config in my repo currently, the pipeline starts, the chart is rebuild with the last already existing version, pushed to the helm repo and overwrites the original chart create time in the index.yaml.

What i like to see to happen is, that the pipeline fails because there is no chart version update and therefore nothing is pushed. I have a workaround for this in another repo with multiple charts: https://github.com/kiwigrid/helm-charts/blob/master/.circleci/lint-charts.sh

But i cant use this in zammad repo because the version check does not work.

A workaround to get at least the version check working would likly be to put my zammad directory in a subdir like "charts" but this looks kind of ugly in a single chart repo.

from chart-testing.

unguiculus avatar unguiculus commented on May 19, 2024

You should not set the --charts flag, which causes this. Also, --chart-dirs should point to the repo root in your case. Try this config:

helm-extra-args: --timeout 3600
chart-dirs: "."

from chart-testing.

monotek avatar monotek commented on May 19, 2024

Oh, this seems to work now.
I've seen errors like ". can't be found" before in the install step.
Can't reproduce now. Closing...

from chart-testing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.