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>
- Move test functiosn to e2e-common
- Remove old serviceaccount things
- Allow override functions (or add) like the way we do with plumbing
functions (for downstream CIs)
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
As of today, kaniko assumes it is running as root, which means, this
example fails on platform that default to run containers as random
uid (like OpenShift). Adding this securityContext make it explicit that
it needs to run as root.
Signed-off-by: Vincent Demeester <vdemeest@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
Author: Raffael Mendes <raffael.pikachu@gmail.com>
Committer: Raffael Mendes <raffael.pikachu@gmail.com.
Removing the extra white space and adding secret information on the Readme
Author: Raffael Mendes <raffael.pikachu@gmail.com>
Committer: Raffael Mendes <raffael.pikachu@gmail.com>
Removing the pipeline-example form the files
Author: Raffael Mendes <raffael.pikachu@gmail.com>
Squashing the commits after PR Approved
Author: Raffael Mendes <raffael.pikachu@gmail.com>
Fixing identation of the secret yaml and adding the yaml markup
Text and identation fixes
Author: Raffael Mendes <raffael.pikachu@gmail.com>
Although this appears to be the default I just started seeing errors:
invalid input params: param types don't match the user-specified type: [files]
with the following params:
```
params:
- name: files
value: Pipfile
```
Explicitly setting the type resolves this issue so doing that for now.
I'm going to investigate further.
The purpose of this is to provide additional information on _how_ to join Slack and what some of the channels are as described in the contact info section.
Signed-off-by: Javier Romero <jromero@pivotal.io>
* `buildkit` task is updated to use mTLS for connecting to the
`buildkit` daemon `Service`.
This prohibits Dockerfile `RUN` containers from connecting to the daemon.
* `buildkit-daemonless` task is newly added for ease of setting up.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This will update the openshift client task to work
with tekton 0.7.0
Also we dont need the Dockerfile and script further
as the oc binary image is available and with
the support of array type param in tekton 0.7
Changes in doc
Fixes#79
Changes:
1. Renames task `kn-create` to `kn`
2. `kn` task takes a parameter of type array as `ARGS`
3. `kn` task defines a resource of type image as `image`
4. User should reference the `image` as an element of array parameter `ARGS` for e.g. `--image=$(inputs.resources.image.url)`
5. Additional `ClusterRole` for `kn-deployer` account for `revisions` and `routes` resources
6. Adds examples in README.md for creating and updating a Knative Service
7. Adds `kn-image` parameter to task for referencing the kn CLI image to be used, defaults to latest released version of kn image available `gcr.io/knative-releases/github.com/knative/client/cmd/kn`
We are currently using the latest release to run tests on
catalog. This means this fails with 0.7.0 and above.
`containerTemplate` is now `stepTemplate`.
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
This will remove the script used in image for/
openshift client task.
As we are able to provide arguments as string
with tekton pipeline 0.6.0
we dont need script any more, also updated the
Dockerfile, tasks and README accordingly