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

1119 Commits

Author SHA1 Message Date
Matt Colman
1ecf61b951 Update README.md
yaml says minVersion: "0.38.0"
2023-11-06 17:18:52 +00:00
Jimmy Jones
537265eb58 Fix buildah task, fails if CERT_DIR_FLAG empty but TaskRun reports successful 2023-10-06 19:42:31 +01:00
Gaelle Fournier
ee409b2354 Add a kamel-run test using multiple parameters 2023-10-03 14:52:28 +01:00
Gaelle Fournier
1093b2c468 Fix kamel-run existing test false-positive results
Ensures the existing test sends `exit 0` only when it passes and works with the --wait case.
2023-10-03 14:52:28 +01:00
Gaelle Fournier
61f4ff3696 Fix Kamel-run failing with multiple parameters
In case of multiple arguments the command kamel-run interpreted them as a single parameter.
2023-10-03 14:52:28 +01:00
vinamra28
1dfd21c4b8 Add logger to identify the pod failure 2023-09-27 12:52:25 +01:00
vinamra28
41711fff40 Fix buildpacks task tests 2023-09-27 12:52:25 +01:00
vinamra28
08d71b4c28 Fix tests for buildpacks-phases
Since with recent version of pipelines, affinity-assistant is enabled by
default and 2pvc cannot be bound to a pipeline at the same time hence
the task was failing

Remove the binding of optional workspace
2023-09-27 12:52:25 +01:00
vinamra28
1c7fd558fd Deprecate tasks which are using PipelineResources
few Tasks still uses PipelineResources which is no longer available
in latest version of pipelines hence marking them as deprecated

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2023-09-27 12:52:25 +01:00
vinamra28
abba6b845e Skip the installation check for deprecated tasks
Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2023-09-27 12:52:25 +01:00
vinamra28
c9e1416fed Bump pipelines to v0.51.0
E2E tests were running an older version of pipelines ie v0.45.0.
Bumping it to use the latest version v0.51.0 so that current tasks in
catalog can be tested against latest version

Also remove pipelineresources check while doing installation of latest
version of pipelines

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2023-09-27 12:52:25 +01:00
piotrpdev
b788b8a1e3 fix: Add "Content-Type" header 2023-09-26 17:44:25 +01:00
vinamra28
24bf826a1d Use specific digest of ko instead of latest
Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2023-09-22 09:32:22 +01:00
vinamra28
1ff1b9a520 Modify buildah to fix issues
Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2023-09-22 09:32:22 +01:00
vinamra28
e763a4473e Use latest git-clone in Task's tests
With git-clone version 0.8 and onwards, it started running as non-root
and GKE clusters were having some issues, so, we temporarily moved all
tasks to use git-clone version 0.7. Ref: https://github.com/tektoncd/catalog/pull/1079

Since we have now moved to kind clusters in our CI, this issue is now
resolved and thus moving all tasks to use latest version of git-clone

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2023-09-22 09:32:22 +01:00
Jimmy Jones
da381b4274 Use buildah v1 tag, address linter issues and add results to docs 2023-09-16 14:30:19 +01:00
Ilona Shishov
a0d0a70a9b feat: introduce new task redhat-dependency-analytics for RHDA v0.7.0-alpha 2023-09-16 05:04:19 +01:00
Piyush Garg
e688f68ed7 Fix helm-upgrade-from-source 2023-09-15 20:30:19 +01:00
Piyush Garg
311ace740e Fix helm-upgrade-frm-repo 2023-09-15 20:30:19 +01:00
Piyush Garg
e6e050efbe Fix git-version task 2023-09-15 20:30:19 +01:00
Piyush Garg
68a8cbf080 Fix gcloud test 2023-09-15 20:30:19 +01:00
Piyush Garg
c9bded36fb Move e2e to run on kind in CI 2023-09-15 20:30:19 +01:00
Ilona Shishov
68c99c4023 chore(deprecation): deprecate redhat-codeready-dependency-analysis task
Signed-off-by: Ilona Shishov <Ilona.Shishov@gmail.com>
2023-09-14 10:34:18 +01:00
Luiz Carvalho
4754df9c26 Fix skopeo image reference
The previous tag, quay.io/skopeo/stable:v1.9.0, no longer exists. This
commit updates the image reference to use the `v1` floating tag.

Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
2023-08-30 15:34:04 +01:00
Domenico Commisso
cc481a5f26 Fix issue #1117 by using shell array and forcing word splitting 2023-08-25 14:44:01 +01:00
Domenico Commisso
35435fad64 Copy task skopeo-copy from 0.2 to 0.3 2023-08-25 14:44:01 +01:00
Pasquale Congiusti
77145ab841 feat: add Camel K run task 2023-08-19 19:01:59 +01:00
rudeigerc
a670d0b80d Add version 0.2 to gitlab-set-status task
Signed-off-by: rudeigerc <rudeigerc@gmail.com>
2023-07-22 05:26:01 +01:00
varsha-aaynure
817610f914 Updated multi arch docker image value for trivy, syft, grype task and fixed lint failures 2023-07-21 03:27:54 +01:00
João Paulo Maida
e381c2c03c Task maven 0.3 - m2 local repo in task 2023-07-10 15:16:21 +01:00
Piyush Garg
df36b3853a Bump jib-maven to 0.5
This will bump jib-maven to 0.5
to handle the case where permission to
add certs to javacacerts is no there
we just create a new store with default certs and
add provided certs to that and use that cert
in mvn command
later delete the store on exit
2023-06-12 20:06:24 +01:00
Anton Krasovsky
8732711710 Update 42crunch-api-security-audit task to 0.2 and deprecate 0.1 one 2023-06-01 02:37:16 +01:00
Chitrang Patel
f16be24141 Fix Result usage in Tasks
Some tasks were referencing absolute paths for `results`. It is recommended
to use variable replacement syntax in the API spec. This PR migrates the
absolute paths for results to variable syntax notation.
2023-05-22 09:07:10 +01:00
Billy Lynch
835896be3d Add dependabot configuration.
See
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates
2023-03-27 05:30:53 +01:00
Batuhan Apaydın
33a4eff58c add air-gapped mode to trivy
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
2023-03-09 11:44:44 +00:00
Andrew Bayer
203764ae45 Update e2e-tests to use Pipeline v0.45.0
Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
2023-03-06 20:34:51 +00:00
Chris Willis
e494443624 fixed file path 2023-03-06 20:34:43 +00:00
Erik de Vries
0fee656079 Added optional workspace gradle-config, gradle.properties in this workspace will be used in the build process. 2023-02-22 16:36:57 +00:00
Joey Tsai
bb2a05dea5 add ko task 2023-02-17 22:44:31 +00:00
Gijs van Dulmen
d67dc5379c Add PyTest 2 with optional pip.conf workspace
Change to python image

Add PyTest 2 with optional pip.conf workspace

Add PyTest 2 with optional pip.conf workspace

Update typo

Fix trailing spaces

Add python config workspace

Convert to regular params

Update README

Fix quotes

Add PyTest 2 with optional pip.conf workspace

Change to python image

Add PyTest 2 with optional pip.conf workspace

Add PyTest 2 with optional pip.conf workspace

Update typo

Fix trailing spaces

Add python config workspace

Convert to regular params

Update README

Go back to previous version again

Fixate image to stable semver version
2023-02-08 10:42:10 +00:00
Gijs van Dulmen
98c0b60781 Add pip.conf workspace for pylint
Add pip.conf workspace for pylint

Update to latest

Set to correct version

Change to working image

Add image to readme

Fix slash

Add quotes
2023-02-08 08:42:10 +00:00
vinamra28
5f6fc93685 Fix the revision of test repo for upload-pypi
Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2023-02-02 11:40:15 +00:00
vinamra28
f648131a87 Bump pipelines version to v0.44.0
Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2023-02-02 11:40:15 +00:00
vinamra28
39518a1de9 Force pylint image to v0.12.0 to fix ci
Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2023-02-02 11:40:15 +00:00
vinamra28
bb5c8e97cf Add namespace support in blue-green-deployment
As of now blue-green-deployment task assumes the namespace to be the
current namespace in which pipeline is running but everytime this might
not be the case. Added an extra parameter, `NAMESPACE` which user needs
to supply as the parameter in which the existing deployment and service
are present.

Also added an optional parameter `IMAGE` in order to improve the
flexibility for the user

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2023-02-02 11:40:08 +00:00
vinamra28
5f899c0d54 Remove newline character from buildah results
While consuming the result `IMAGE_URL` produced by buildah task, a new
line character '\n' was getting appended and the same was causing issues
which using the task.

- Added `-n` flag with echo in order to remove the newline character
- Modified the tests for the same

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2023-02-02 10:04:08 +00:00
vinamra28
c1ad1f31e8 Add Chmouel in Alumni
Since @chmouel stepped down from maintaining catalog repository, he was
missing from Alumni, hence adding him there 🙂

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2023-02-02 09:16:08 +00:00
Chmouel Boudjnah
81bf7dc561 git-clone don't fail when cleandir has failed
when trying to cleandir, there could be some non owner files in there
(ie: lost+found)
let's not fail when failed to clean.

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
2023-01-25 10:54:03 +00:00
Billy Lynch
baf796b714 Update Git based images to patch CVE-2022-41903, CVE-2022-23521.
See
https://github.blog/2023-01-17-git-security-vulnerabilities-announced-2/
for more details.

Because this effectively bumps the Git version used from v2.26.2 to
v2.39.0, this change also fixes 59 HIGH and 12 CRITICAL vulnerabilities
reported since this image was last updated.

This changes the default base image for git-cli and git-rebase to match the same base image for
[Pipeline
git-init](9d3942176f/.ko.yaml (L5)).

This does not update:

- git-clone | this is dependent on git-init (which is yet to be updated)
- git-version | this is based on dotnet sdk(?) so I have no idea how to
  safely update this.
2023-01-18 15:48:00 +00:00
Jeeva Kandasamy
56e0f1ac15 keep gogit readme along with gogit task file
Signed-off-by: Jeeva Kandasamy <jkandasa@redhat.com>
2023-01-18 13:46:01 +00:00