1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-29 06:34:08 +00:00
Commit Graph

928 Commits

Author SHA1 Message Date
Brad Beck
d9183e36f0 Update task buildpacks to be chains compatible
Signed-off-by: Brad Beck <bradley.beck@gmail.com>
2022-07-12 11:45:21 +01:00
Brad Beck
a00431e6eb Copy task buildpacks from 0.4 to 0.5
Signed-off-by: Brad Beck <bradley.beck@gmail.com>
2022-07-12 11:45:21 +01:00
Brad Beck
bcb227b61e Update buildpacks to work with Pipeline v0.36.0
The recent update to Tekton Pipeline v0.36.0 (https://github.com/tektoncd/pipeline/releases/tag/v0.36.0) appears to cause an error when executing the build tasks in the buildpacks pipeline.

This change removes task parameters that should be automatically propagated when using Pipeline v0.36.0+

Signed-off-by: Brad Beck <bradley.beck@gmail.com>
2022-07-07 09:25:07 +01:00
Brad Beck
6f12d26d6c Copy buildpacks from 0.1 to 0.2
Signed-off-by: Brad Beck <bradley.beck@gmail.com>
2022-07-07 09:25:07 +01:00
Kumar-Abhishek
b8383a8391 bugfix: apply multi-arched python image
The task was using python:3.10.1-alpine3.15 x86 image only. Removing sha256 value to get images for respective platforms (pp64le, s390x).
2022-07-04 16:45:04 +01:00
savitaashture
ded536ef46 Update readme on how to use ssl-ca-directory workspace for 0.5 and 0.6 git-clone 2022-06-29 04:32:38 +01:00
savitaashture
e4e2f1b9ed Added samples for ssl-ca-directory 2022-06-29 04:23:40 +01:00
savitaashture
ee66a1d12d Update git-clone task to fix custom CAs for https and bump to 0.7 version 2022-06-27 12:10:37 +01:00
Jimmy Jones
11030b03f4 Merge into single step and add IMAGE_URL result to make Tekton Chains friendly 2022-06-27 10:12:37 +01:00
Jimmy Jones
3e388881ea Added buildah 0.4, using image quay.io/buildah/stable:v1.23.3 2022-06-27 10:12:37 +01:00
manojbison
8c5bb21350 Use Multi-arch gradle image for ppc64le, s390x gradle tasks 2022-06-21 09:55:09 +01:00
carlosmestredp
1151ae52cf Add task to connect a repository to an ArgoCD server 2022-06-14 16:05:02 +01:00
vinamra28
611101496d Use RBAC v1 instead of v1beta1 in tasks' tests
RBAC v1beta1 was deprecated in kubernetes and was removed in recent
versions.

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2022-06-14 08:20:02 +01:00
Avinash Upadhyaya K R
7f84840c11 docs: update datree description 2022-06-14 06:27:04 +01:00
Jorge Tudela
37e8a986d9 Ansible builder task 0.1 2022-05-07 13:34:44 +01:00
Andrea Frittoli
15493b71b7 Add tests for GitHub set status
Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
2022-05-06 01:33:08 +01:00
Andrea Frittoli
83ebdd8223 Use environment variables in github-set-status
Rather than using params in the script, set environment variables
and use them in the python script with os.getenv

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
2022-05-06 01:33:08 +01:00
Avinash Upadhyaya
b8bc174817 docs: remove unused parameter from datree docs 2022-05-04 08:20:26 +01:00
pritidesai
2d08b8cc98 updating pipeline release
Updating the catalog repo test infrastructure to use the latest release - v0.35
2022-05-03 15:15:53 +01:00
vinamra28
0e962455a2 Fix pypiserver in tests of upload-pypi task
Currently in the tests of upload-pypi task, pypiserver was pointing to
latest and there are some recent changes made there which is breaking
the test here. Pinning the version to v1.4.2

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2022-05-03 09:13:53 +01:00
vinamra28
dfc9c97b08 Add v0.2 of ansible-runner
This bumps the version of ansible-runner which uses the latest
ansible-runner image and this requires community.general to be installed
from ansible collections.

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2022-05-03 05:53:52 +01:00
vinamra28
c799a5d05d Deprecate v0.1 of ansible-runner
The image being used here was removed by the authors from dockerhub and
instead moved to quay.io. Also the tag used in this version was very old
and no longer present in quay.io.

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2022-05-03 05:53:52 +01:00
Brad Beck
89c6c656cd Update minimum pipeline version to v0.29.0 2022-04-15 10:26:16 +01:00
Brad Beck
3a3732bbd4 Copy task git-clone from 0.5 to 0.6 2022-04-15 10:26:16 +01:00
Jordan Durzi
20f9f53224 Add explicit type to params in Task 2022-04-11 10:48:16 +01:00
Andrea Frittoli
825c99934c Add missing default value in gcs-upload param
The new param introduced in the latest version of the task was meant
to have a default value (as documented). Actually set the default.

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
2022-04-06 14:30:13 +01:00
Andrea Frittoli
d1fdc34049 Improve gcs-upload performace with busy targets
gcs-upload uses rsync to upload folders. When the target contains
many thousands of files, it can take a very long time.

Change the default implementation to use "cp -r" which only copies
new files. Recursive copy supports not replacing existing files,
so adding an option to the task for that.

The option to delete extra remote files is still there, and still
false by default. Delete extra remote files is not compatible with
"not replace remote files" so adding a note about that.

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
2022-04-06 13:52:13 +01:00
Andrea Frittoli
b2d4815f36 Vanilla gcs-upload 0.3
Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
2022-04-06 13:52:13 +01:00
Andrew Smithson
66bffa2068 Create Gradle Task 2022-04-05 17:47:26 +01:00
ggalloro
ec3af2a2b5 added -n to IMAGE_URL result to avoid adding a line feed
added -n tto IMAGE_URL result to avoid adding a line feed

edited v 0.6 rather than creating 0.7
2022-04-05 16:07:26 +01:00
Avinash Upadhyaya
bc2444829c feat: add datree task to catalog
fix: Use single parameter for YAML source

Update pipeline with kubernetes example repository

docs: add description for datree task

docs: add complete steps to datree readme

fix: run as non root and non privileged for datree task

feat: add labels annotations to datree task

feat: datree image as parameter

Use parameter for datree image instead of hardcoded image with latest tag

fix: remove trailing spaces for datree task
2022-04-05 13:32:25 +01:00
Ed Mooney
a7922104a7 Update README.md
Bad url - updated to working:
Correct url: https://raw.githubusercontent.com/tektoncd/catalog/main/task/ansible-tower-cli/0.1/ansible-tower-cli.yaml
2022-04-04 22:26:26 +01:00
Eleonora Mamedova
eee38ccefa fixed the link to the Pipelines' auth.md file 2022-04-01 18:41:24 +01:00
vinamra28
7f6c32af98 Bump pipelines version to 0.34.1
Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2022-04-01 14:14:24 +01:00
vinamra28
c54abcc2a7 Increase no of parallel test runs to 8
Since the no of resources in catalog are increasing, the whole test
suite is taking more time so increasing the parallel run from 5 -> 8

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2022-04-01 14:14:24 +01:00
vinamra28
7bc352148f use namespace-scoped roles instead of cluster-scoped 2022-04-01 14:14:24 +01:00
vinamra28
2a290827ba Fix pluto task version 0.1
Image sha of existing pluto task became unavailable, so removing the sha

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2022-04-01 14:14:24 +01:00
vinamra28
9e8a006a38 Fix black task CI
Black task tests are failing with the following issue

```
Traceback (most recent call last):
  File "/tmp/python/.local/bin/black", line 8, in <module>
    sys.exit(patched_main())
  File "/tmp/python/.local/lib/python3.8/site-packages/black/__init__.py", line 1127, in patched_main
    patch_click()
  File "/tmp/python/.local/lib/python3.8/site-packages/black/__init__.py", line 1113, in patch_click
    from click import _unicodefun  # type: ignore
ImportError: cannot import name '_unicodefun' from 'click' (/tmp/python/.local/lib/python3.8/site-packages/click/__init__.py)
```

bumping the version of black in resources.yaml fixes the issue

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2022-04-01 14:14:24 +01:00
Zbynek Roubalik
1abac6b453 Buildpacks: remove securityContext.privileged and add dockerconfig workspace
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2022-04-01 12:22:24 +01:00
Andrea Frittoli
f400e99456 gcs-upload v0.2 do not delete missing files by default
The gcs-upload task v0.1, when dealing with folders, uses the "-d"
option by default, which deletes remote files by default. This is
a relatively dangerous choice of default, and it's safer to make
that as an opt-in, as it may result in deletion of a lot of remote
files by accident.

V0.2 has a new parameter "deleteExtraFiles" which corresponds to
gsutil "-d" flag. deleteExtraFiles defaults to false, making the
default behaviour of the task different from v0.1.

V0.2 replaces parameters in the script with environment variables
for security as recommended in the catalog best practices.

The cloud-sdk image version has been updated to 390.0.0-slim which
is newer, ~60% smaller than the current image and includes gsutil.

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
2022-03-31 14:44:24 +01:00
Andrea Frittoli
7eb56668e4 Copy gcs-uload 0.1 to 0.2
Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
2022-03-31 14:44:24 +01:00
jacco.mook@alliander.com
a5afb97831 Bump tkn task image version 2022-03-31 14:31:25 +01:00
Brad Beck
78b59ba38e Update jib-gradle task to be chains compatible 2022-03-23 19:37:21 +00:00
Brad Beck
723de46553 Copy task jib-gradle from 0.3 to 0.4 2022-03-23 19:37:21 +00:00
hkadiri
5194320ece Parameterizing orka-image name 2022-03-21 06:56:21 +00:00
Andreas Herz
30ca1efa8c Adapt README.md to the real used builderah version quay.io/buildah/stable:v1.18.0
change README from `quay.io/buildah/stable:v1.17.0` to the real used version `quay.io/buildah/stable:v1.18.0`
2022-03-15 17:47:18 +00:00
Sebastian Schimpfhauser
c4bd6401be Fix API prefix path in github-add-comment task
The parameter API_PATH_PREFIX has not been used in the script.
Because of that the task did not work for GitHub Enterprise Server.
2022-03-15 09:16:18 +00:00
Andreas Herz
edca0781e7 wrong parameter name SCRIPT. using script instead 2022-03-14 17:54:18 +00:00
Gyorgy Hrabovszki
2a487ca565 fix: Allow multi-line description for PRs. 2022-03-14 17:45:18 +00:00
Andreas Herz
6f32083643 use the correct task name
In the documentation the wrong task name is used. 
According to the definition it must be `kubernetes-actions` and not `kubectl-actions`
2022-03-14 11:29:18 +00:00