buildpacks / tekton-integration

Buildpacks + Tekton
22 stars 3 forks source link

Tekton Pipeline v0.36.0 causes error in buildpacks pipeline #36

Closed bradbeck closed 2 years ago

bradbeck commented 2 years ago

The recent update to Tekton Pipeline v0.36.0 (https://github.com/tektoncd/pipeline/releases/tag/v0.36.0) appears to cause an error when executing the build tasks in the pipeline defined by https://github.com/buildpacks/tekton-integration/blob/main/pipeline/buildpacks/0.1/buildpacks.yaml

invalid input params for task buildpacks: param types don't match the user-specified type: [ENV_VARS]

Removing the following from the build task params appears to resolve the problem:

        - name: ENV_VARS
          value: ["$(params.ENV_VARS)"]

This appears to be related to changes made to allow parameter propagation:

✨ TEP-0107: Implement Parameter Propagation (https://github.com/tektoncd/pipeline/pull/4845) Parameters are propagated in embedded specifications without mutations.

Discovered as part of https://github.com/buildsec/frsca/pull/237