1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-21 05:55:35 +00:00
Commit Graph

334 Commits

Author SHA1 Message Date
Florian Hopfensperger
2fa2e40357 Moved example TaskRun to sub dir 2020-06-19 10:58:57 +01:00
Florian Hopfensperger
fe6e041a03 changed to apply yaml; avoid create error in tests 2020-06-19 10:58:57 +01:00
Florian Hopfensperger
226ce969b5 Changed Service Account name 2020-06-19 10:58:57 +01:00
Florian Hopfensperger
3babb5939a Added service account for testing 2020-06-19 10:58:57 +01:00
Florian Hopfensperger
5bcf9a096f This Task can be used to install/upgrade a helm chart into a Kubernetes/OpenShift Cluster.
Signed-off-by: Florian Hopfensperger <florian.hopfensperger@de.ibm.com>
2020-06-19 10:58:57 +01:00
Christie Wilson
4ce31b6c8d Update automation to test against 0.13.2
Eventually we want to be able to have Tasks declare what versions they
are compatible with and test against those
(https://github.com/tektoncd/catalog/issues/373) but in the meantime, it
seems reasonable to bump the version every time we do a release (and
even once we have #373, we would want to be running tests against new
versions as well - and this could have the benefit of giving us
information about issues in a release early, before users notice them!)
2020-06-18 21:15:57 +01:00
Billy Lynch
cb2cad2009 Add Kythe golang extractor task.
This task allows you to generate Kythe annotation metadata for a given
Go project. This follows the workspace model as presented by the `git`
Task. The expectation is that any results place in the workspace will be
exported by another Task in the pipeline for remote storage (e.g. GCS,
etc).

(cherry picked from commit 20d449cd43)
2020-06-16 12:21:56 +01:00
yuege01
82a433e397 added a pinned version of buildpack-deps 2020-06-16 11:54:56 +01:00
yuege01
480fbbbb06 add wget image url as a param 2020-06-16 11:54:56 +01:00
yuege01
72bc0d1e43 pin alpine to alpine:3 2020-06-16 11:54:56 +01:00
yuege01
40c1f0aa33 change container image
alpine image already installed up-to-date wget
2020-06-16 11:54:56 +01:00
yuege01
6367cbd96d fix workspace name in steps 2020-06-16 11:54:56 +01:00
yuege01
67f0f4ca48 change workspace name
change workspace name to pass test
2020-06-16 11:54:56 +01:00
yuege01
cd163708fe change workspace name
make workspace name same as in the task yaml file
2020-06-16 11:54:56 +01:00
yuege01
e1bbfd1e34 modified description of some params
deleted some unnecessary params and modifies descriptions of param to make them same as in the readme
2020-06-16 11:54:56 +01:00
yuege01
813a2306d5 Changed some descriptions in readme 2020-06-16 11:54:56 +01:00
yuege01
37e5a9e27b create a simple task run to test if wget works 2020-06-16 11:54:56 +01:00
yuege01
b0b0069b71 create a tests directory for adding test yaml file 2020-06-16 11:54:56 +01:00
yuege01
9270bc52c2 A sample taskrun of wget 2020-06-16 11:54:56 +01:00
yuege01
4183379718 create wget-task version1 2020-06-16 11:54:56 +01:00
yolandadu
f62f6ea70f Add prettier task with tests 2020-06-16 09:35:56 +01:00
Harshad Reddy Nalla
1c4a03f95e Task to publish python module to PyPI
This Task publishes python packages to PyPI index using Twine utility module.

Signed-off-by: Harshad Reddy Nalla <hnalla@redhat.com>
2020-06-16 09:08:56 +01:00
Meixing Dong
9847e3660a remove service account example in README.md 2020-06-16 08:42:57 +01:00
Meixing Dong
70e173bc68 remove gcs-generic-taskRun because this test will fail as no such a secret exists. 2020-06-16 08:42:57 +01:00
Meixing Dong
88577ddc05 Add gcs-generic Task and update README.md with a TaskRun example 2020-06-16 08:42:57 +01:00
Meixing Dong
7ee3335dc2 Add gcs-generic Task and update README.md with a TaskRun example 2020-06-16 08:42:57 +01:00
Chmouel Boudjnah
cfe711305b Pin maven repo test to a revision
Since the "master" branch has been renamed to "main", let's make sure we pin to
a revision and fix if there is other rename going on.

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
2020-06-16 07:50:56 +01:00
yuege01
8b39de7030 squash all commits of curl task
create curl task to request response from internet

Add a readme file to specify how to run curl task

Modify parts of the readme file

create two simple taskruns to test curl

change spec for url value

change spec to re-push

change image place to be param

users now can pin the version of image as they want

Add a new param

add a curl image option so users now can use different version of curl image at will

update readme file on param description
2020-06-16 06:57:56 +01:00
JJ Asghar
2abbdf3a59 A yellow warning for legcacy issue template was there
- This was to update to the new standard for issue templates for github.
- Also added a `.config.yml` which is also part of the new version

Signed-off-by: JJ Asghar <jjasghar@gmail.com>
2020-06-11 09:08:54 +01:00
pengli
becece2f29 Enhance "kubectl wrapper
The requirements discussed in #233
- action: ['get', 'create', 'apply', 'delete', 'replace', 'patch'] -- the action to perform to the resource
- merge_strategy: ['strategic', 'merge', 'json'] -- the strategy used to merge a patch, defaults to "strategic"
- success_condition: a label selector expression which describes the success condition
- failure_condition: a label selector expression which describes the failure condition
- manifest: the kubernetes manifest"
2020-06-10 13:39:54 +01:00
Daniel Noguerol
80d9d4cb9b Fixed param name in send-to-telegram. 2020-06-10 13:14:54 +01:00
Vincent Demeester
0716880b5d Add a "Run as non root" recommandation…
… also talk a little bit about `privileged` and how to be explicit in
the task if it needs to be run as root and/or privileged.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2020-06-10 09:02:55 +01:00
JJ Asghar
ab844fa5f3 I'm an owner now!
Added me as a reviewer and approver to the task resource i created.

Signed-off-by: JJ Asghar <jjasghar@gmail.com>
2020-06-08 10:41:53 +01:00
Natalie Arellano
1abf7ae5c8 Clarify usage of platform directory.
Signed-off-by: Natalie Arellano <narellano@vmware.com>
2020-06-08 10:14:53 +01:00
Natalie Arellano
9beb1daa4c Add support in buildpacks task for platform envs
This change makes it possible for users to provide
environment variables to buildpacks via a volume with
appropriately configured directories.

Also includes some fixes for v1beta1 compatibility.

See https://buildpacks.io/docs/reference/buildpack-api/
for more info on how PLATFORM_DIR is used.

Resolves #160

Signed-off-by: Natalie Arellano <narellano@vmware.com>
2020-06-08 10:14:53 +01:00
Javier Romero
e9eb4b07a0 Update buildpacks task platform API to 0.3
This change makes it so that the tekton task is compatible with
the latest changes from the Cloud Native Buildpacks.

Notably,

- Support for cred helpers has been removed. ([#259](https://github.com/buildpacks/lifecycle/pull/259))
- Default process type is configurable. ([#243](https://github.com/buildpacks/lifecycle/pull/260))

Resolves #194

Signed-off-by: Javier Romero <rjavier@vmware.com>
2020-06-08 10:14:53 +01:00
Divyansh42
265c6fe380 Add Gitlab Release task
This task can be used to make a release on the Gitlab.

Assets or binaries of the released version can also be uploaded with the release.

Signed-off-by: Divyansh42 <diagrawa@redhat.com>
2020-06-04 10:23:51 +01:00
Chmouel Boudjnah
6b7cf32a82 Make sure we skip the test if there is no yaml file in there
Test would be failing if there is a directory but no yaml template in there,
which in reality we should not have this happening but it happens sometime.

let's make sure we skip the test if there is no yaml files then.

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
2020-06-04 09:56:51 +01:00
Divyansh42
84fd3cc1ef Add support for merge requests in gitlab add-labels task
Current task doesn't support merge requests. Added support
for merge requests in the same task.
Now we can add labels to merge requests as well.

Signed-off-by: Divyansh42 <diagrawa@redhat.com>
2020-06-04 09:31:09 +01:00
Scott
d12e690595 Improve examples for the git-clone Task
The git-clone example only demonstrated the very simplest of behaviour
and didn't provide much in the way of instruction on using its features.

This PR adds examples for cloning a branch, cloning a specific commit,
and cloning tags. Each example includes clear description of its purpose
and the features it demonstrates.

I've removed the inline git-clone example from the README because it's
really long and the README needs to serve the purpose of documenting
multiple Tasks (git-clone as well as git-batch-merge, and any future
Tasks we add as well). Rather than bloat the README with many examples
which can go stale if we modify git-clone's behaviour I've simply linked
to the new example files.
2020-06-04 09:31:01 +01:00
Divyansh42
42d6a5678e Add task to label github pull request or an issue
This task can be used to add labels to a github pull request or an issue.

Signed-off-by: Divyansh42 <diagrawa@redhat.com>
2020-06-04 09:30:53 +01:00
vinamra28
aea5ad2415 Improve existing OpenShift provision task
Parameterized the UPI image so that if anybody wants to use their image then they can use it and also updated the README

Signed-off-by: vinamra28 <vinjain@redhat.com>
2020-06-04 09:06:00 +01:00
Divyansh42
c6c20e133a Add aws-cli task
This task performs operations on Amazon Web Services resources using `aws`.

Signed-off-by: Divyansh42 <diagrawa@redhat.com>
2020-06-04 09:05:51 +01:00
vinamra28
9b1f501dd6 Add SonarQube Task to catalog
The following task can be used to do static analysis of the source code by taking SonarQube server URL as the input.

Signed-off-by: vinamra28 <vinjain@redhat.com>
2020-06-02 12:46:50 +01:00
JJ Asghar
ca8c55d078 I'm not an owner, but Andrea is!
Added Andrea as an owner and reviewer for this task.

Signed-off-by: JJ Asghar <jjasghar@gmail.com>
2020-06-02 11:22:50 +01:00
JJ Asghar
8993fd78f5 IBM Cloud CLI Task for tekton
- Initial Release inspired by `az` for the IBM Cloud CLI in the catalog

Signed-off-by: JJ Asghar <jjasghar@gmail.com>
2020-06-02 11:22:50 +01:00
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
JJ Asghar
0e8ec65576 Update README.md
changed it to v1beta1 because master is out of sync/does not work.

Signed-off-by: JJ Asghar <jjasghar@gmail.com>
2020-05-29 17:32:49 +01:00
Martin Gencur
ed783dfdd8 Fixes 2020-05-27 13:43:48 +01:00
Martin Gencur
96c2b5fad1 Make Pipeline more generic 2020-05-27 13:43:48 +01:00