1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-25 06:17:50 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
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
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
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
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
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
Yulia Gaponenko
f8b0e19da8 Add platforms annotation to several tasks
Annotation about linux/amd64,linux/s390x,linux/ppc64le and linux/arm64
platforms was added to the latest versions of curl, kn, kn-apply,
sendmail, and generate-build-id tasks.

Annotation about linux/amd64,linux/s390x,linux/ppc64le
platforms was added to the latest version of jib-gradle task.

For several tasks shas of the images were changed from amd64 specific
ones to multi-arch ones.

Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com>
2021-10-28 10:17:37 +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
Chanseok Oh
ee978374c0 Update OWNERS 2021-05-17 13:50:48 +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
rudeigerc
6f59d7e72b Add version 0.2 to jib-gradle task
Signed-off-by: rudeigerc <rudeigerc@gmail.com>
2021-02-18 10:41:41 +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
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
Sunil Thaha
b9ddcec4be Make OWNERS own all versions of a resource
Closes: #442
Signed-off-by: Sunil Thaha <sthaha@redhat.com>
2020-07-24 08:46:01 +01:00
Chanseok Oh
f5a4936531 Make Jib tasks future-proof with home changes
- Set HOME env to /workspace
- Use $HOME for "home" wherever possible
- Gradle: mount empty dir at ~/.gradle to make it globally writable
- Maven: script to `script:` to use "$HOME" variable
2020-07-22 19:59:00 +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
30dbc12df8 Modifies jib-gradle 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
  - adds display name for task
  - modified description to add a summary

This patch also moves the jib-gradle 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