1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-12-01 06:43:19 +00:00
Commit Graph

431 Commits

Author SHA1 Message Date
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
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
joeyt
4e75194c5a Update the metadata 2022-03-14 07:10:18 +00:00
joeyt
8e59b50e15 Fix version in apply 2022-03-14 07:10:18 +00:00
joeyt
44b5707222 Update gcloud image, fix documentation
Currently the readme says the default `gcloud-image` uses the `slim` tag.  However, doing a `gcloud artifacts` command revealed gcloud was pinned to an old version.

So, updating the gcloud image to the latest, and correctly document that it has been pinned to a specific version
2022-03-14 07:10:18 +00:00
joeyt
c2e26086e5 Copy task gcloud 0.1 -> 0.2 2022-03-14 07:10:18 +00:00
Andreas Herz
3370574973 use the version of the current task for the installation command 2022-03-14 06:58:17 +00:00
Parth Patel
5fa4d13a4d added chains compliant kaniko task 2022-03-14 05:48:17 +00:00
Ruben van Kruistum
aeb957601c Change sonarqube source workspace name 2022-02-16 11:53:08 +00:00
Jorge Andrada Prieto
6767a97b1b Hadolint improve ignore rules 2022-02-16 09:39:08 +00:00
vinamra28
3db4ed2018 Update tests to use another repo in golang-test
Currently golang-test Task is using tektoncd/cli repo to test the task
golang-test but that's too flaky so changing that to use another repo.

Signed-off-by: vinamra28 <vinjain@redhat.com>
2022-02-14 10:22:07 +00:00
Gijs van Dulmen
4ea4112728 Fix bug with incorrect param
Add V1 of gitea set status task

Make testable and add test

Make https default
2022-02-10 06:04:07 +00:00
Kleber Cabral
b3f028ad17 Fix random Usage Sample for PWSH
Fix random Usage Sample for PWSH
2022-02-10 01:10:07 +00:00
Neil Carpenter
5956edb120 Adding ACS image-scan and image-check
Add README, samples

Add image check task, fix lint issues

Fix READMEs

Add spec description

Fix task name

Fix task name in sample

Convert ClusterTask to Task

Resolve typo in parameters

Enclose code in code block

Move insecure-skip-tls-verify to parameter

Address Catlin output

Author:    Neil Carpenter <me@neilcar.com>
Date:      Fri Jul 16 11:46:48 2021 -0400

Initial commit of stackrox-image-check and stackrox-image-scan

Initial commit

Add README, samples

Add image check task, fix lint issues

Fix READMEs

Add spec description

Enclose code in code block

Updated Changes as requested by review - Added OWNERS file - Changed Image FQDN - Rebased git history to make linear - Linted

Update owners file with spaces

Empty Commit - Refresh for update on owner update

Updated PR: 1 Fixed Comment - https://github.com/tektoncd/catalog/pull/834#discussion_r731073440 2 Renamed stackrox-image-check.yml to yaml

Co-Authored-By: neilcar <926748+neilcar@users.noreply.github.com>
2022-02-03 18:45:06 +00:00
Frerik Andriessen
f503f48cd6 Fix typo in script shebang of yq task 2022-02-03 15:25:05 +00:00
Scott
dc8b8523c7 Update e2e test script to Pipelines v0.32.0
Prior to this commit we were using Pipelines 0.28 for running e2e tests
in the Catalog.

This commit updates the pipelines version used during testing to 0.32.0,
which was released today.

After making this change one of the steps in an Orka Task is now failing
due to a naming conflict. This commit also renames the step to work
around the issue.
2022-02-03 14:41:05 +00:00
vinamra28
59420aee67 Fix upload-pypi task version 0.2
`upload-pypi` Task version 0.2 is failing during nightly tests and
reason for the failure was that the image digest was inaccessible.

Updated the image with the tag `v0.0.2`

Signed-off-by: vinamra28 <vinjain@redhat.com>
2022-02-03 10:44:05 +00:00
garethahealy
3422694b5c added 0.1 of pluto task 2022-02-03 07:35:05 +00:00
Samuel MARTIN MORO
f4c8ae3509 Adds dockerslim-build sample task & test 2022-02-03 06:30:06 +00:00
Jann Fischer
554e82d452 Update task argocd-task-sync-and-wait to v0.2
This changes the container registry where Argo CD image is pulled from
docker.io to quay.io (the project deprecated publishing on Docker Hub
since a few releases, and will stop publishing new images to there
soon). Also bumps the default version used by the task to the latest
stable release.

Signed-off-by: Jann Fischer <jfischer@redhat.com>
2022-02-03 04:09:05 +00:00
Jann Fischer
44299341e1 Deprecate version 0.1 of argocd-task-sync-and-wait
Since much time has passed since the Argo CD release v1.0.2 and meanwhile the
registry for official upstream containers has changed to quay.io, the version
0.1 of this task is being deprecated in favor of its new 0.2 version which
will adapt to more reasonable default settings.

Signed-off-by: Jann Fischer <jfischer@redhat.com>
2022-02-03 04:09:05 +00:00
vinamra28
b85c7c2184 Add kythe-go version 0.2
The following version of kythe-go task contains the latest changes in order
to make it compatible with the latest kythe binary. Added a few
environment variables and mountPath which contains go.mod

Signed-off-by: vinamra28 <vinjain@redhat.com>
2022-01-18 14:33:05 +00:00
vinamra28
8bd5deaa7b Deprecate kythe-go version 0.1
Kythe-go version 0.1 is being deprecated as it's incompatible with
latest versions of golang and the tests are also failing.

Signed-off-by: vinamra28 <vinjain@redhat.com>
2022-01-18 14:33:05 +00:00