但是,我正在尝试使用Tekton pipeline作为CI/CD来部署到一个knative服务中,它应该使用knctl或带有knative service yaml的kubectl,而不是部署的yamlenvironment variable printed out by the sample app在这种情况下,我如何利用Tekton我相信Tekton应该取代Knative构建,以使其更容易。
我们希望使用Tekton Hub的来运行使用Cloud Native Buildpacks的构建。因为配置是参数化的,所以我们不想使用巨大的kubectl命令启动Tekton管道,而是使用包含对ServiceAccount、工作区、图像名称等的引用的单独的pipeline-run.yml YAML文件eg gcr.io/test/image > # This defines the name of output image
现在,使用kubectl apply -f pipeline-run.ym
我们有一个AWS运行(使用Pulumi设置),我们在这里安装了中描述的Tekton。。配置如下(这也是派生的 ):kind: Pipeline name: buildpacks-test-pipelinebuilder:base # This is the builder we want the task to use (REQUIRED)
我们已经添加了SOURCE_URL和SOURCE_REVISION作为参数( ),但仍