- 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>
- 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
Additionally, remove commented out references to ADDITIONAL_TAGS; that will be added as a separate issue.
Signed-off-by: David Freilich <dfreilich@vmware.com>
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>
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>
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>
- 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>
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>
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".
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>