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

9 Commits

Author SHA1 Message Date
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
Yulia Gaponenko
2bae9d1479 Add platforms annotation to several tasks
Annotation about linux/amd64,linux/s390x,linux/ppc64le platforms was added
to the latest versions of the npm, wget, write-file, tekton-catalog-publish,
pytest, python-coverage tasks.
Container image SHAs were updated to use the latest versions with
multi-arch support for npm and wget tasks.

Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com>
2021-10-18 15:35:34 +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
vinamra28
c88c0ac58b Remove permission check in write-file task
In write-file task's tests we are checking whether file permission is
equal to `--w--wxr-T`. These permissions may vary depending on rbac
enforced cluster. Example on some cluster we can get the value as
`-rw-rwxr-T` thus failing the test.

In this commit I am removing the `grep -- '--w--wxr-T'` so that the
tests doesn't fail on other clusters.

Signed-off-by: vinamra28 <vinjain@redhat.com>
2021-05-11 08:59:45 +01:00
Bittrance
64d1674661 correct write-file params descriptions. 2021-05-03 04:45:42 +01:00
Bittrance
832a58bfa9 write-file now has established tag "generic" 2021-05-03 04:45:42 +01:00
Bittrance
c63533b90c Fix alpine 3.12 with sha256
Missed this when trying to adhere to recommendations.md.
2021-05-03 04:45:42 +01:00
Bittrance
783bfca070 Change write-file permissions -> mode and follow recommendations.md 2021-05-03 04:45:42 +01:00
Bittrance
58d5df4ddc Add Task to write a file onto a workspace
Add a catalog task to write a parameter out as a file, creating
intermediate directories and setting permissions as necessary. While it
is possible today to have a workspace that is a mounted config map
variable, that provides limited support for expanding parameters into
the file (i.e. the [replace-tokens](https://hub.tekton.dev/tekton/task/replace-tokens) task).
Ultimately, my argument for adopting this task into the catalog is that
I believe others will also look for a file-writing task and their
experience of Tekton will be better if they find one.
2021-05-03 04:45:42 +01:00