1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-22 06:02:51 +00:00
Commit Graph

413 Commits

Author SHA1 Message Date
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
Jorge Andrada Prieto
27472bf750 Add asciidoctor Task
Asciidoctor text processor task
2022-01-13 15:36:04 +00:00
Ruben van Kruistum
04e1310fec Remove quotes from args param in pytest script
The quotation marks are breaking the proper execution of args
2022-01-13 12:46:03 +00:00
Frerik Andriessen
578e1b9fe7 Add Basic Auth option to github-add-comment 2022-01-12 15:12:02 +00:00
Frerik Andriessen
69781086c8 Make yq task fail if one of the replacements fails 2022-01-12 06:10:02 +00:00
Frerik Andriessen
25d9a7669c Add image param to yq task 2022-01-12 06:10:02 +00:00
Jorge Andrada Prieto
83c2016c6a Fix Readme hadolint task 0.1
Fix Readme hadolint task 0.1, no compatible tags with tekton catalog web
2022-01-10 09:13:01 +00:00
Jorge Andrada Prieto
837a8f6ece Add hadolint task
Dockerfile linter task


fix shellcheck


test lint


fix SC2155


fix SC2155


add set -e


fix SC2155


ignore rule value


fix test


fix empty lines


Clean code and digest image

Resolved @vinamra28 suggestions
Digest and image tag
2022-01-08 06:45:01 +00:00
Scott
ae02f26988 Fix small issue with gcs-download README
Prior to this commit an example in the readme for gcs-download
referenced a Task that didn't exist.

This commit updates the broken taskRef to point to the correctly
named Task.
2022-01-06 10:23:00 +00:00
Guillaume
77b3f9a16b Smaller default image for github-set-status
The default image for the github-set-status is more
than 800MB. The python code actually run in this task
is small and used only the stdlib. A smaller image
would works just as well.

The new default is python-alpine (45MB), which is the
smallest python image possible. It is now configurable.
2022-01-06 10:15:00 +00:00
Jörg Heyduk
a5a1fe17be Correct quoting in sample file
Correct the quoting in the patch. Now the variables are included
in the patch.

Fixes #887
2022-01-06 07:04:00 +00:00
ec2ainun
4f365ec668 feat: discord messaging
Update task/send-to-webhook-discord/0.1/README.md

Co-authored-by: Vinamra Jain <vinjain@redhat.com>

Update task/send-to-webhook-discord/0.1/README.md

Co-authored-by: Vinamra Jain <vinjain@redhat.com>

fix: trailing spaces

fix: add default message and avatar

Update task/send-to-webhook-discord/0.1/send-to-webhook-discord.yaml

Update task/send-to-webhook-discord/0.1/README.md
2021-12-21 11:26:55 +00:00
Chris
a768679711 Added comments reguarding id_rsa as default filename for private key 2021-12-20 17:05:55 +00:00
Ameya Lokare
ea4fa15b5f Don't omit params.context in source path construction
Looks like the `context` param is never used in 0.2 which fails builds that don't have the golang sources at the workspace root. Seems like a regression from 0.1.
2021-12-20 16:49:55 +00:00
jacco.mook@alliander.com
c4629f15ca Add extra golang-build env parameters 2021-12-14 15:26:54 +00:00
Yulia Gaponenko
cebb548d56 Add DOCKER_CONFIG env variable to jib-gradle
Specification of Docker config location allows to point jib tool to the
Docker config file with registry auth information, provided by Tekton
via
https://github.com/tektoncd/pipeline/blob/main/docs/auth.md#configuring-docker-authentication-for-docker .

Without this fix jib is not able to find credentialss for private registries or
registries will limited pulls and build fails.

Fix is provided for all 3 existing versions of the task.

Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com>
2021-12-08 12:15:52 +00:00
Sim Zacks
ec66862871 remove blanks from receivers_email
The recipients of the email are extracted from a variable using the
split() function on a blank space (' '). If there are additional blanks,
either before, after or in the middle of the receivers_email variable the
sendmail function will cause an exception. This patch makes sure that blanks
won't cause the exception.
2021-12-07 10:32:51 +00:00
Chmouel Boudjnah
03344fec88 bump goreleaser to latest
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
2021-12-03 16:18:50 +00:00
rvankruistum
020efea5dd Add new jib-gradle version with optional arguments
Update task/jib-gradle/0.3/README.md

Co-authored-by: Vinamra Jain <vinjain@redhat.com>

Update task/jib-gradle/0.3/jib-gradle.yaml

Co-authored-by: Vinamra Jain <vinjain@redhat.com>

Fix linting errors

Fix more linting errors
2021-11-25 14:00:46 +00:00