1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-29 06:34:08 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
Zbynek Roubalik
9a80a5fc76 option to provide container registry credentials in a workspace
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2022-08-09 08:34:49 +01:00
Jimmy Jones
11030b03f4 Merge into single step and add IMAGE_URL result to make Tekton Chains friendly 2022-06-27 10:12:37 +01:00
Jimmy Jones
3e388881ea Added buildah 0.4, using image quay.io/buildah/stable:v1.23.3 2022-06-27 10:12:37 +01: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
Andreas Herz
3370574973 use the version of the current task for the installation command 2022-03-14 06:58:17 +00:00
Tobias Larscheid
cffffa1d27 add additional test for skip logic 2021-11-17 11:36:43 +00:00
Tobias Larscheid
b377e32fa2 Quote param as suggested by static analysis
Co-authored-by: Chmouel Boudjnah <chmouel@chmouel.com>
2021-11-17 11:36:43 +00:00
Tobias Larscheid
ac3458c946 add param to allow skipping push step 2021-11-17 11:36:43 +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
04785f8a68 Bump skopeo image to v1.3.0 and buildah image to v1.18.0
quay.io/buildah/stable:v1.18.0 and quay.io/skopeo/stable:v1.3.0 are
multi-arch images, bumping them for buildah and skopeo-copy tasks will
allow to run the tasks on different architectures.

Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com>
2021-08-31 08:10: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
Billy Lynch
8db4239324 Add comments sensative looking material for usage.
This change simply adds comments to secrets and other password/key
material that are used in testing. The usage of these secrets is okay
(they're all either dummy tokens or auth material set for local
instances spun up during tests), but adding comments to provide some
background for anyone browsing the code.

Also redacted a cert used in the buildah sample. While this was
safe since it was generated specifically for the sample, there isn't a strict
need for a valid cert here, so we can replace this with something that looks
cert-like instead.
2021-04-15 18:37:41 +01:00
Piyush Garg
c2547bd722 Refactor in e2e script and pre-apply func
Created a function to run secure sidecar registry with cert
and calling that function from all tests to remove duplication
2021-04-08 14:19: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
Chmouel Boudjnah
4b82365f87 🧹 Update buildah to latest version 0.17.0 2021-01-28 17:21:41 +00:00
Chmouel Boudjnah
8b22d2a0b8 Add subjectAltName to the 0.2 test
Since buildah has been built with the latest golang 1.15 version which has SAN
enforcement, we provide subjectAltName in the generation of self generated
certificate.

See https://security.stackexchange.com/a/183973
2021-01-28 17:21:41 +00:00
vinamra28
05d79f53ef Moved samples to their correct place and modified a few files
- git-cli examples moved from git-cli/examples/git-cli -> git-cli/examples/
- git-rebase examples moved from git-rebase/examples/git-rebase -> git-rebase/examples/
- changed workingdir -> workingDir in git-rebase
- corrected install command in az
- improved YAML in readme for proper rendering

Signed-off-by: vinamra28 <vinjain@redhat.com>
2020-11-18 17:55:28 +00:00
Chmouel Boudjnah
37aab72942 Fix buildah sample optional workspace link
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
2020-10-29 07:40:21 +00:00
Chmouel Boudjnah
7907386fc4 Add buildah 0.2 with optional ssl certdir workspace
We are bumping the buildah task to 0.2 since this needs at least pipeline
0.17.0.

This will add a optional workspace for the cert dir to pass to buildah
--cert-dir flag.

I have modified the test to create a registry with SSL certs and make the
buildah task using it.

This add a complete example on how to use this with the openshift internal
registry.

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
2020-10-28 09:55:21 +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
Divyansh42
73e59e5f76 Bump buildah image
Buildah image in few tasks was not pointing to latest
image release tag, so updated the image to point to
latest release.

Signed-off-by: Divyansh42 <diagrawa@redhat.com>
2020-09-17 10:31:24 +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
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
PuneetPunamiya
0a2895a861 Modifies buildah 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 buildah files to the task directory
and modifies the path for install task command in readme file

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-10 22:06:57 +01:00