This migrate s2i to use `workspace` instead of an input
`GitResource`.
This also updates e2e tests to use a `Pipeline` in order to clone the
repository in the workspace.
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
`serviceAccount` is deprecated and now invalid (starting from 0.9.0),
so removing it from the examples.
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
Run the python s2i example from the official sclorgs image instead of the nodejs
one with my personal directory.
Add loglevel parameter to s2i
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
When building the dockerfile we were creating directory as root
unreadable by normal user, let's make sure it's readable/executable by
everyone.
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
Next update of plumbing will enable `yamllint` check, so this make
sure we have linted yaml before 👼
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
We are adding a test directory with a collection of yamls to runs.
There is a hook system which allows to do some manipulation on task for the
tests (as we don't want to modify the main task). Or if we want to do some extra
pre-setup before setting the taskrun
For example on buildah/kaniko would add a registry as a sidecontainers on
the tasks so we can do our testings without having to upload it somewhere.
S2I is disabled too due of not working on other cluster than openshift.
Closes: #103
- Small fix on the parameter name (and comments), `BUILDER_IMAGE` and
`S2I_IMAGE` were inverted.
- Remove the `examples` folder and add an example inline.
- Add a non-exhaustive list of s2i builder images that can be used
with this task.
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>