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

26 Commits

Author SHA1 Message Date
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
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
Meng-Yuan Huang
39a5a9bacf Fix kaniko for arm64 and ppc64le. 2022-10-08 16:15:32 +02:00
vinamra28
d65ed39437 Use git-clone 0.7 instead of latest in Tasks' test
With git-clone version 0.8, Task now runs as non-root and with this change I
guess it's not working well with our GKE clusters and tests started
failing in nightly runs.

For now changing the version of git-clone to use 0.7 so that for now CI
is unblocked 😅

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2022-09-27 15:05:12 +02:00
Quan Zhang
e294e1246b [TEP-0110] Update Tekton Catalog installation instructions
Prior to this change, the installation instructions directly use the resource urls in the Catalog repo, which results in tight coupling between the organization and how users fetch resources (as described in TEP-0110). This commit updates the installation guide to install Tekton Catalog resources via Tekton Hub Api: https://github.com/tektoncd/hub/pull/539

This change decouples the Tekton Catalog organization from resouces resolution, which enables Tekton Catalog reorganization.
2022-08-16 16:25:52 +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
Parth Patel
5fa4d13a4d added chains compliant kaniko task 2022-03-14 05:48:17 +00:00
Yulia Gaponenko
f4708d478e Add linux/amd64 platform annotation to the rest of the tasks
At this moment all tasks which can be executed on linux/s390x or
linux/ppc64le are tested and labelled accordingly.
The rest of the tasks can be labelled as `linux/amd64`, which
is default platform and where tasks are already tested via
default PR testing cycle.

Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com>
2021-10-29 17:08:38 +01:00
Pavel Litvyak
78b0497ab8 Add kaniko task 0.5
Task now uses --digest-file flag to create a results file with the
digest of a built image.
2021-08-31 12:39:13 +01:00
Yulia Gaponenko
05b2246271 Add platforms annotation to kaniko task
Annotation about linux/amd64,linux/s390x,linux/ppc64le platforms was
added to the latest versions of the kaniko task, as well as information
which custom images to use for linux/s390x and linux/ppc64le platforms.
JQ_IMAGE parameter is introduced with default value from the existing
tas to be able to use custom image for non-Intel architecture.

Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com>
2021-08-31 07:30:13 +01:00
PuneetPunamiya
5a3e5f630f Adds category field as an annotation as tekton.dev/categories
- Initially all tags were mapped to categories in Hub,
     for e.g. config.yaml: https://github.com/tektoncd/hub/blob/master/config.yaml,
     so whenever a new tag was added in a task it was mapped to a category called `others`.
     Hence before every release we had to manually map these new tags to some category,
     hence after the discussion in Catalog and Hub WG, a proposal was created for adding
     a category as an annotation.

   - PR to update the TEP-0003-Tekton Catalog Organization: https://github.com/tektoncd/community/pull/352

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2021-07-26 13:15:08 +01:00
Konrad Scherer
ae319bc988 Support multiple EXTRA_ARGS by using array type
Signed-off-by: Konrad Scherer <kmscherer@gmail.com>
2021-06-02 07:26:54 +01:00
Andrea Frittoli
622edc8169 Support Kaniko authentication via workspace
Add an optional workspace to the kaniko task that can be used to
pass container registry credentials to the kaniko task.
This mechanism replaces the service account based one. The change
is not backward compatible, however it is not easily possible to
support both auth mechanism, since the service account one
requires setting DOCKER_CONFIG, which breaks the workspace based
one. Workspace are preferrable since they are available in all
deployments, while Tekton's built-in auth is only available when
it's enabled. While enabled is the default setting for now, it may
change in future, and it may already be disabled in various
deployments, where the kaniko task is today effecively unusable.

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
2021-04-09 13:15:49 +01:00
Vincent Demeester
d93795673c Update self reference from master to main 🧙
And update references to community, pipeline, etc. too.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2021-03-19 11:09:49 +00:00
Jason Hall
0f232875b0 Update kaniko image v1.0.0 -> v1.5.1
Since 1.0.0 a lot of multi-arch improvements have been made, as well as
performance improvements and bug fixes

See full changelog: https://github.com/GoogleContainerTools/kaniko/blob/master/CHANGELOG.md
2021-03-10 14:47:47 +00:00
vinamra28
32f2913fd2 Fix Catlin error by adding Digest to the Images
- Previously catalog's task has some images that are not
  tagged properly,this patch fixes these images by adding
  the digest
- Soon once Catlin is added to the CI it will throw error
  for those images which don't have proper tags

co-authored by:- @PuneetPunamiya

Signed-off-by: vinamra28 <vinjain@redhat.com>
2020-10-26 09:03:20 +00:00
Chmouel Boudjnah
73b9b12e53 Add add_task helper function for tests
We were previously using the outdated git_clone version 0.1 in the
add_git_clone_task function.

So let's introduce a more generic function :

```
add_task ${task} ${version}
```

if version is 'latest' it will always install the latest version of the task.

Change all pre-apply-task-hook to use that function instead.

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
2020-10-07 17:51:55 +01:00
vinamra28
fdca849a59 Bump images to 0.16.2
Signed-off-by: vinamra28 <vinjain@redhat.com>
2020-09-15 21:33:24 +01:00
Piyush Garg
0b90fea763 Fix kaniko task failing issue
This will fix the issue of kaniko task
failing as we need to run that as root
2020-08-17 14:01:08 +01:00
Piyush Garg
947198561e Bump images to 0.15.2 2020-08-12 08:52:06 +01:00
Chmouel Boudjnah
f5824acdda Bump to pipeline 0.15.1
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
2020-08-11 11:46:06 +01:00
Chmouel Boudjnah
bddd282012 Centralize all the git-clone apply task to a common function
Centralize all the the git-clone apply commands we had around the
pre-apply-task-hook to a central common function.

This will make easier to have the same git-clone task version used everywhere.

Add some documentation about the helper functions along the way.

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
2020-07-24 15:00:01 +01:00
Vincent Demeester
2bb049e125 Bump pipeline release to 0.14.2
- Update the pipeline to install for e2e tests
- Update images to refer to 0.14.0 version of pipeline

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2020-07-17 15:31:59 +01:00
Piyush Garg
479c6d967b Update e2e scipts according to new structure
This will update the e2e scripts to run tests according to
new catalog structure after reorg

Fix #420
2020-07-16 18:35:59 +01:00
Scott
f3ebc33423 Remove word "volume" from "Workspace volume" in READMEs
We don't really have a concept in Tekton of something called a "Workspace volume",
but multiple READMEs now refer to it.

This commit removes the term "Workspace volume" in favor of simply "Workspace".
2020-07-13 22:07:58 +01:00
pratap0007
d531fc1d06 Modifies kaniko task according to the new reorg proposal
Changes include:
  - adds version label
  - adds a minimum pipeline versions supported by the task
  - adds tags for task
  - modified description to add a summary

This patch also moves the kaniko files to the task directory
and modifies the path for install task command in readme file

Issue: #386

Signed-off-by: Shiv Verma <shverma@redhat.com>
2020-07-10 22:06:57 +01:00