siamaksade / pipelines-examples

OpenShift Pipelines Examples based on Tekton
31 stars 49 forks source link

Issues running deploy pipeline #5

Open gbengataylor opened 4 years ago

gbengataylor commented 4 years ago

received this error 'invalid input params: param types don't match the user-specified type: [ARGS]'

The problem was that the ARG param in the openshift-cli task is expecting an array

Changing the pipeline/deploy-pipeline.yaml resolved the issue. Here is a snippet of the deploy step

    - name: deploy
      params:
        - name: ARGS
          value:
            - rollout
            - latest
            - $(params.APP_NAME)

I can create a PR if necessary