1

So I have build my own custom resourse type. As, suggested in this link.

I want to know how to test this docker image? How would I get the docker running?

What would be the command? Would I have to pass additional build parameters?

Is there a particular way custom resource types are tested?

Please provide me all the information.

(thanks in advance)

yogs
  • 43
  • 6

1 Answers1

1

Most concourse resources get tested like this- you write some test that run the binary, with json piped in over stdin, and then you check the return code and the output.

You can run those tests standalone, or run them as a part of the build process- so just docker build . to re-test.

Henry Finucane
  • 704
  • 3
  • 12