Giter VIP home page Giter VIP logo

Comments (5)

boranx avatar boranx commented on June 21, 2024

Hey @pankajmt

I've just gone over the readme of the plugin and go-getter, I think the following should do the trick (removing the git header and one of the double-slash)

./conftest plugin install github.com/open-policy-agent/conftest/contrib/plugins/kubectl

ll ~/.conftest/plugins/kubectl
total 8
drwxr-xr-x 4 bseref staff  128 Apr 30 16:15 ./
drwxr-xr-x 3 bseref staff   96 Apr 30 16:15 ../
-rwxr-xr-x 1 bseref staff 1876 Apr 30 16:15 kubectl-conftest.sh*
-rw-r--r-- 1 bseref staff  368 Apr 30 16:15 plugin.yaml

from conftest.

pankajmt avatar pankajmt commented on June 21, 2024

Hey @boranx

Many thanks. That worked. Looks like the main conftest plugins page needs updating.

image

from conftest.

pankajmt avatar pankajmt commented on June 21, 2024

#822 - the least i could do

from conftest.

boranx avatar boranx commented on June 21, 2024

yeah, as far as I know, for the download-upload operations conftest relies on go-getter, and sometimes there might be small ui/ux changes when the version of it's bumped-up
Feel free to propose more if there are places that need to be updated, all PRs are welcome

from conftest.

boranx avatar boranx commented on June 21, 2024

For posterity, the plugin install functionality is also protected by e2e tests: https://github.com/open-policy-agent/conftest/blob/master/tests/plugin/test.bats#L10

from conftest.

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.