Git Product home page Git Product logo

Comments (9)

ggirtsou avatar ggirtsou commented on May 24, 2024

I'd like to contribute on this one :)

from reg.

jessfraz avatar jessfraz commented on May 24, 2024

sweet! im just going to set up the initial stuff with a fake registry then I think people should be able to add tests easily

from reg.

majst01 avatar majst01 commented on May 24, 2024

I guess i will add some tests as well.

from reg.

jessfraz avatar jessfraz commented on May 24, 2024

I added some sample tests and instructions on how to run locally: https://github.com/jessfraz/reg#testing but here is an example of TestList https://github.com/jessfraz/reg/blob/master/main_test.go#L78 copying that for other commands should work

from reg.

ggirtsou avatar ggirtsou commented on May 24, 2024

Are we going to run the tests on Travis as well? Perhaps it's worth integrating it with it, or another tool if anyone wants to suggest an alternative.

from reg.

majst01 avatar majst01 commented on May 24, 2024

I added 2 shell scripts to spin up a registry and clair with a fair amount of images to have a testable environment:

https://github.com/majst01/reg/blob/dynamic-frontend/startRegistryAndCreateImages.sh
https://github.com/majst01/reg/blob/dynamic-frontend/startClair.sh

from reg.

majst01 avatar majst01 commented on May 24, 2024

Forget about my dump shell scripts. Havent seen @jessfraz test implementation !
Stupid i am :-)

from reg.

jessfraz avatar jessfraz commented on May 24, 2024

from reg.

ggirtsou avatar ggirtsou commented on May 24, 2024

just making sure it compiles lol

@jessfraz Apologies for not checking if travis.yml is already in place, I assumed from your message that we don't know if the binary compiles.

from reg.

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.