Code Monkey home page Code Monkey logo

Comments (6)

spiogit avatar spiogit commented on July 19, 2024

HelmQA specifically has split SaaS and CI/CD modes. We have successfully implemented CLI-based CI/CD here for example: appuio/charts#22 - Perhaps this comes closer to your desired solution? Thank you for your other feedback. It will be considered for the evolving implementation and packaging. As there are not many users yet, you may want to share more details about your intended use case, and therefore get a customised solution which fits your situation.

from helmqa.

christian-weiss avatar christian-weiss commented on July 19, 2024

This is a integration of helmqa instance running at helmqa-zhaw-prod-demos.appuioapp.ch in a CI pipeline, but it is still using helmqa as a webserver and sends a URL to it to ask helmqa webserver to validate this github repo.

What i am dreaming of is NOT:
http://helmqa-zhaw-prod-demos.appuioapp.ch/livecheck?repo=https://github.com/appuio/charts.git

What i need is to feed a tgz file to it:
helmqa.sh --verify local/path/to/file/myChart.tgz
helmqa.sh --verify local/path/to/file/chart/dir
To work with repos that are not hosted at github.com. Maybe using Atlassian Bitbucket or gitlab. Maybe not public (without auth). Maybe even a local dir or a local chart.tgz (without a git repo at all).

At least URLs that point directly to a tgz file (archive) would help:
http://helmqa-zhaw-prod-demos.appuioapp.ch/livecheck?repo=https://www.customwebsite.com/myChart.tgz
or
http://localhost/livecheck?repo=https://localhost:8080/myChart.tgz
(where helmqa runs as a local webservice that loads the data from another webserver at localhost:8080.)

from helmqa.

spiogit avatar spiogit commented on July 19, 2024

OK, understood. The code is in principle prepared for that, but during the refactoring to OOP the main.py script lost some parameters. Essentially, you could say in main.py: 'bucket = Bucket(path = /my/local/path[.tgz])' and you should get the desired result working on directories and tgzs. We will provide a convenience script for this purpose.

from helmqa.

ChristianWeissCG avatar ChristianWeissCG commented on July 19, 2024

Do you know when the script will be available?

from helmqa.

ChristianWeissCG avatar ChristianWeissCG commented on July 19, 2024

Any news on this?

from helmqa.

spiogit avatar spiogit commented on July 19, 2024

Some progress - sorry for the delay. There is now preliminary support for running the following:
docker run -ti -v $PWD:/charts jszhaw/helmqa, where $PWD references a single chart directory or a directory with multiple charts. It only runs the checks without feeding back the same JSON as the web server does, and it does not modify the exit status yet.

from helmqa.

Related Issues (1)

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.