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

101 Commits

Author SHA1 Message Date
Natalie Arellano
74c473c7c6 Don't parameterize home override directory
Signed-off-by: Natalie Arellano <narellano@vmware.com>
2020-07-23 21:47:01 +01:00
Natalie Arellano
e52d3326cd Add docs comment
Signed-off-by: Natalie Arellano <narellano@vmware.com>
2020-07-23 21:47:01 +01:00
Natalie Arellano
237d24c44d Introduce better security for buildpacks-phases task
- Override /tekton/home for the detect and build phases of the lifecycle to hide registry credentials from buildpack code.
- Run analyze, restore, and export in the lifecycle image published by buildpacksio to hide registry credentials from untrusted builders.

Signed-off-by: Natalie Arellano <narellano@vmware.com>
2020-07-23 21:47:01 +01:00
Piyush Garg
a72785d783 Fix kythe-go task on restricted environment
This will fix the task to run on restricted environments
as this task do some chown operations and fails on
environments like opneshift
2020-07-23 17:03:01 +01:00
Maximilian Wurzer
a0e2d1eb4d Add pylint and pytest task 2020-07-23 09:47:00 +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
David Freilich
f1e386419c Rename buildpacks-separate-phases to buildpacks-phases, to reduce length
Additionally, remove commented out references to ADDITIONAL_TAGS; that will be added as a separate issue.

Signed-off-by: David Freilich <dfreilich@vmware.com>
2020-07-22 08:22:00 +01:00
David Freilich
91fedc066b Update Buildpacks task to use Creator binary, in place of calling individual phases
With the release of Platform API 0.3 (implemented in github.com/buildpacks/lifecycle v0.7.0), there is a creator binary that simplifies the CNB experience; calling it runs all of the individual lifecycle phases, and minimizes the number of separate containers needed for the process. As such, we moved the buildpacks task to use it.

At the same time, it is also helpful, in some scenarios, to run the individual phases; it allows for greater control of secrets, amongst other things. As such, we moved the original task to buildpacks-separate-phases to allow users the choice.

This commit also updates the READMEs, making them a bit clearer about what CNBs are and what the tasks do, as well as adding in the Paketo builders to the example builders.

Signed-off-by: David Freilich <dfreilich@vmware.com>
2020-07-22 08:22:00 +01:00
David Freilich
fc3c4497f9 Rename buildpacks-v3 task to buildpacks
The suffix v3 was a piece of buildpacks history, stemming from the initial start of the buildpacks concept, but isn't relevant to current consumers of the buildpacks task. To simplify it, and to fit with other task styles, we are removing v3

Additionally, we are updating the list of suggested builders, to reflect the current status of pack builders. NOTE: Paketo builders currently have a bug and don't work in Tekton, and until that issue is resolved, we aren't adding them in the list.

Signed-off-by: David Freilich <dfreilich@vmware.com>
2020-07-22 08:22:00 +01:00
vinamra28
457f4ef2a2 Add kubernetes actions task in kubectl
The task `kubectl-actions` is a generic task which can be used to perform k8s-actions. We take the whole script as a `params` whereas the existing task `kubectl-deploy` only works for deploying the pod and fulfills the specific criteria.

Signed-off-by: vinamra28 <vinjain@redhat.com>
2020-07-21 11:47:00 +01:00
Paul S. Schweigert
4dcb251f86 updating task URL in readme 2020-07-20 09:24:00 +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
vinamra28
2283472846 Bump skopeo image to point to the official one
Since skopeo has started providing their official image and the image would be updated regularly so changing the skopeo-copy task image so that it can use the official one from now on.

Signed-off-by: vinamra28 <vinjain@redhat.com>
2020-07-17 10:18:00 +01:00
Ian Coffey
3985b72782 Add cloudevent task and fix to fit new formatting 2020-07-16 19:35:58 +01:00
Piyush Garg
3068d43075 Remove python pypi upload test
Remove the test as the python pypi upload
test is not working on the CI
2020-07-16 18:35:59 +01:00
Piyush Garg
6f50e1d772 Fix upload-pypi pre-applt-task script 2020-07-16 18:35:59 +01:00
Piyush Garg
7a474eac65 Fix warning for yaml.Load function 2020-07-16 18:35:59 +01:00
Piyush Garg
7e3478f283 Update skopeo task for tls-verify flag param
This will fix skopeo tasks to have param for tls-verify flag
and update tests accordingly
2020-07-16 18:35:59 +01:00
Piyush Garg
e166d30895 Fix helm-upgrade-from-source tests 2020-07-16 18:35:59 +01:00
Piyush Garg
58641bdd5e Fix helm-upgrade-from-repo tests 2020-07-16 18:35:59 +01:00
Piyush Garg
5d657a5c96 Fix golangci-lint tests 2020-07-16 18:35:59 +01:00
Piyush Garg
966f7afea6 Fix golang-test tests 2020-07-16 18:35:59 +01:00
Piyush Garg
cab202fc19 Fix golnag build tests 2020-07-16 18:35:59 +01:00
Piyush Garg
9c734a4c47 Remove git-rebase tests as they are not of rebase 2020-07-16 18:35:59 +01:00
Piyush Garg
877f3bf7e2 Fix git cli tests 2020-07-16 18:35:59 +01:00
Piyush Garg
48a7825a86 Fix git clone tests 2020-07-16 18:35:59 +01:00
Piyush Garg
e2b8ed29ab Fix git batch merge tests 2020-07-16 18:35: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
PuneetPunamiya
ccd1080419 Modifies the path in readme for samples directory
Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-15 02:43:58 +01:00
PuneetPunamiya
40393cd4cc Modifies directory names based on the proposal
- sample --> samples
  - example --> samples
  - test --> tests

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-14 19:01:58 +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
981b883b44 This patch splits helm-upgrade-from-repo task from the helm directory
Changes include:
   - moves helm-upgrade-from-repo task to the task directory
   - copies and modifies readme file for helm-upgrade-from-repo from helm directory
   - moves OWNERS,examples and tests directory from helm directory

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-13 13:41:58 +01:00
PuneetPunamiya
58ba68821e This patch splits helm-upgrade-from-source task from the helm directory
Changes include:
  - moves helm-upgrade-from-source task to the task directory
  - copies and modifies readme file for helm-upgrade-from-source from helm directory
  - copies OWNERS,examples and tests directory from helm directory

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-13 13:41:58 +01:00
PuneetPunamiya
7df96bd527 This patch splits git-cli task from the git directory
Changes include:
  - moves git-cli task to the task directory
  - moves and modifies readme file for git-cli from git directory
  - moves examples and tests directory from git directory

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-13 13:41:58 +01:00
PuneetPunamiya
78922953e9 This patch splits git-rebase task from the git directory
Changes include:
  - moves git-rebase task to the task directory
  - copies and modifies readme file for git-rebase from git directory
  - copies examples and tests directory from git directory

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-13 13:41:58 +01:00
PuneetPunamiya
73124fa07f This patch splits git-clone task from the git directory
Changes include:
  - moves git-clone task to the task directory
  - copies and modifies readme file for git-clone from git directory
  - copies examples and tests directory from git directory

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-13 13:41:58 +01:00
PuneetPunamiya
0c380f77f4 This patch splits git-batch-merge task from the git directory
Changes include:
  - moves git-batch-merge task to the task directory
  - copies and modifies readme file for git-batch-merge from git directory
  - copies examples and tests directory from git directory

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-13 13:41:58 +01:00
pratap0007
0ff3c77ff4 This patch splits golangci-lint task from the golang directory
Changes include:
  - moves the golangci-lint task to the task directory
  - moves the OWNERS to golangci-lint task
  - moves and modifies readme file from golang
    to golangci-lint task
  - moves test directory from golang to golangci-lint task
  - changes the yaml filename to match the resource name

Issue: #386

Signed-off-by: Shiv Verma <shverma@redhat.com>
2020-07-13 13:41:58 +01:00
pratap0007
97d3859913 This patch splits golang-test task from the golang directory
Changes include:
  - moves the golang-test task to the task directory
  - copies and modifies readme file to golang-test task from golang directory
  - copies OWNERS file from golang directory
  - copies test directory from golang directory to golang-test task
  - changes the yaml filename to match the resource name

Issue : #386

Signed-off-by: Shiv Verma <shverma@redhat.com>
2020-07-13 13:41:58 +01:00
pratap0007
dd75399b46 This patch splits golang-build task from the golang directory
Changes include:
  - moves the golang-build task to the task directory
  - copies and modifies readme file to golang-build task from golang directory
  - copies OWNERS file from golang directory
  - copies test directory from golang directory to golang-build task
  - changes the yaml filename to match the resource name

Issue: #386

Signed-off-by: Shiv Verma <shverma@redhat.com>
2020-07-13 13:41:58 +01:00
pratap0007
8d63a32c05 This patch splits openshift-client-kubecfg task from the openshift-client directory
Changes include:
  - moves the openshift-client-kubecfg task to the task directory
  - moves and modifies readme file for openshift-client-kubecfg task from openshift-client directory
  - moves OWNERS file from openshift-client directory
  - chages the yaml filename to match the resource name

Issue: #386

Signed-off-by: Shiv Verma <shverma@redhat.com>
2020-07-13 13:41:58 +01:00
pratap0007
f7be0d4872 This patch splits openshift-client task from the openshift-client directory
Changes include:
  - moves the openshift-client task to the task directory
  - copies and modifies readme file for openshift-client task from openshift-client directory
  - copies OWNERS file from openshift-client directory
  - changes the yaml filename to match the resource name

Issue: #386

Signed-off-by: Shiv Verma <shverma@redhat.com>
2020-07-13 13:41:58 +01:00
pratap0007
57ebef41f9 This patch splits build-push-gke-deploy from the gke-deploy directory
Changes include:
  - moves the build-push-gke-deploy task to the task directory
  - moves and modifies readme file from gke-deploy
    to build-push-gke-deploy
  - moves examples directory from gke-deploy

Issue : #386

Signed-off-by: Shiv Verma <shverma@redhat.com>
2020-07-13 13:41:58 +01:00
pratap0007
4b981548a2 This patch splits gke-deploy task from the gke-deploy directory
Changes include:
  - moves the gke-deploy task to the task directory
  - copies and modifies readme file for gke-deploy from gke-deploy directory
  - copies example directory from gcs directory

Issue: #386

Signed-off-by: Shiv Verma <shverma@redhat.com>
2020-07-13 13:41:58 +01:00
PuneetPunamiya
bee2cd5e97 This patch splits create-github-release task from the github directory
Changes include:
  - moves create-github-release task to the task directory

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-13 13:41:58 +01:00
PuneetPunamiya
6dd0d9e7ed This patch splits github-add-labels task from the github directory
Changes include:
  - moves github-add-labels task to the task directory
  - rename the yaml filename to match the resource name

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-13 13:41:58 +01:00
PuneetPunamiya
8225334392 This patch splits github-set-status task from the github directory
Changes include:
  - moves github-set-status task to the task directory
  - moves and modifies readme from github to github-close-issue
  - rename the yaml filename to match the resource name

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-13 13:41:58 +01:00
PuneetPunamiya
70f0d78cdc This patch splits github-close-issue task from the github directory
Changes include:
  - moves github-close-issue task to the task directory
  - moves and modifies readme from github to github-close-issue
  - rename the yaml filename to match the resource name

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-13 13:41:58 +01:00
PuneetPunamiya
0edd917532 This patch splits github-add-comment task from the github directory
Changes include:
  - moves github-add-comment task to the task directory
  - moves and modifies readme from github to github-add-comment
  - rename the yaml filename to match the resource name

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-13 13:41:58 +01:00
PuneetPunamiya
21c07b1afd This patch splits send-to-webhook-slack task from the slackmessage directroy
Changes include:
  - moves send-to-webhook-slack task to the task directory
  - moves and modifies readme from slackmessage to send-to-webhook-slack
  - moves owners file from slackmessage

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-13 13:41:58 +01:00