1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-25 06:17:50 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
ishani2412
c89d3965b7 Improve Readme.md
PR to improve the Readme.md migrating the install task URL from
master to v1beta1

Signed-off-by: ishani2412 <ishani.1613039@kiet.edu>
2020-06-02 09:03:51 +01:00
Vincent Demeester
d25acef68e s2i: use workspace instead of GitResource 🐐
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>
2020-03-11 07:43:48 -05:00
Vincent Demeester
323e8d05f1 Update README to change inputs/params levels
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2020-03-06 09:01:47 -06:00
Vincent Demeester
c01ff34f08 Port s2i to v1beta1 🦇
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2020-03-06 07:49:46 -06:00
Vincent Demeester
55033bb02a Use workingDir instead of workingdir 🐺
Just use the correct camelcase field.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2020-03-04 09:02:46 -06:00
Vincent Demeester
000ce5e00a Use serviceAccountName instead of serviceAccount 💺
`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>
2020-01-28 05:23:52 -06:00
Chmouel Boudjnah
c9bd921943 [E2E] Add common function when we are adding a registry to tasks
Closes #145

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
2019-11-27 04:09:35 -06:00
Chmouel Boudjnah
1b3ceee11d Fix S2I E2E Test
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>
2019-11-25 07:39:35 -06:00
Chmouel Boudjnah
d079c68bca Fix running s2i binary as user
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>
2019-11-21 09:56:33 -06:00
Vincent Demeester
5c2ab7d6c3 Linting yamls with yamllint 🏷
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>
2019-11-15 09:39:31 -06:00
Chmouel Boudjnah
43f52adb4d Add Taskrun e2e testing
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
2019-11-14 08:10:31 -06:00
Vincent Demeester
74d8f3a555 Add initial OWNERS to some folders 📄
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2019-10-23 04:53:23 -05:00
Vincent Demeester
328b67800f Update templating to use $(…) instead of ${…}
Starting from 0.7.0, the later is not supported anymore.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2019-09-24 08:36:12 -05:00
Navid Shaikh
1015bc11f5 Fixes typo in s2i/README.md
Updates service account name.
`s/pipelines/pipeline`
2019-09-20 04:57:11 -05:00
Chmouel Boudjnah
2ab718ac48 s2i/Dockerfile run yum update in docker image
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
2019-09-03 10:47:06 -05:00
Khurram Baig
984c3a249b Change buildah image to official repository 2019-06-26 09:56:13 -05:00
Vincent Demeester
c24059e0fc Update s2i tasks documentation
- 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>
2019-05-29 10:50:03 -05:00
Khurram Baig
d64009e4fa Added s2i task with example 2019-05-29 07:53:03 -05:00