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
Conftest is a tool used to validate configuration files using Open
Policy Agent. This commit adds a `Task` spec for using Conftest from
Tekton, along with documentation of the parameters and usage.
The default value of GO11MODULE is auto in golang.
We should allow to change the value, in order to force module support on or off regardless of directory location
Signed-off-by: jtcheng <jtcheng0616@gmail.com>
Adding OpenWhisk Tekton Resources which can be used to serve OpenWhisk actions on Knative.
These changes include an entire workflow of how to run OpenWhisk Actions on Knative,
specifically OpenWhisk NodeJS runtime. It also includes examples such as:
1. Simple Hello World action
2. Hello World action with JSON Payload as Parameters
3. OpenWhisk Action File from a GitHub Repo
4. OpenWhisk Action from a zip file
Kubeval is a tool used to validate Kubernetes configuration against
the upstream object schemas. This commit adds a `Task` spec for using
Kubeval from Tekton, along with documentation of the parameters and usage.
This task is used to sync an Argo CD application with its underlying Git repository and to wait for it to become healthy. It takes in no resources, only parameters, and passes them to the argocd command. The application's name and the Argo CD server address are required. Some form of login is also required, either through a username/password combo or an authentication token. The specific revision to sync to and the flags to append to commands can also be passed as parameters.
Currently there is no way to pass plain strings or files between tasks, or it could have been better to split the login and sync tasks. This way, there could have been two login tasks - one for username/password and one for authentication token. With the current approach, the bash command runs an if statement to see if the token's default value was overriden, and if so, it uses that token. Otherwise, it uses the username/password passed in. This issue (typing of PipelineResources) is being discussed in https://github.com/tektoncd/pipeline/issues/238.
This adds initial golang tasks : build (`golang-build`),
tests (`golang-tests`) and linting (`golangci-lint`, using
golangci-lint).
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
- 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>
We need to pin to specific version rather than go with the dynamic
latest commit. The version v0.9.0 seems to be a stable one.
Add the parameter context support for kaniko.