generate-pipeline

command
v1.39.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

Example: Getting started with skaffold and CI/CD using Tekton

Open in Cloud Shell

This is a simple example to show users how to run the generate-pipeline command

Please keep in mind that the generate-pipeline command is still a WIP

Prerequisites:

  • Install tekton on your cluster
  • Have kaniko secrets setup
  • Container registry must be public
  • Give your default service account the cluster-admin role (necessary to have pipeline access secrets)
kubectl create clusterrolebinding serviceaccounts-cluster-admin \
--clusterrole=cluster-admin \
--user=system:serviceaccount:default:default

To generate and run a pipeline:

  • Run skaffold generate-pipeline
  • Modify skaffold.yaml to use a valid GCSbucket for kaniko
  • Commit and push updated skaffold.yaml
  • kubectl apply -f pipeline.yaml
  • Create a pipelinerun.yaml
  • kubectl apply -f pipelinerun.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL