cloud-native-toolkit / cloud-native-toolkit/planning

Creating a pipeline fails using `oc pipeline` when you select image scan and linting

Open
#858 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Creating a pipeline fails using `oc pipeline` when you select image scan and linting. If you say `N` to both, then it works fine.

This is for the Node/GraphQL starter kit, but i've also seen it with the typescript microservice and a Java starter kit. I also saw @seansund hit the same issue in a demo earlier this week.

Logs:
```$ oc pipeline
? Select the type of pipeline that should be run? Tekton
Creating pipeline on openshift cluster in demo namespace
Retrieving git parameters
Git credentials have already been stored for user: triceam
Project git repo: https://github.com/triceam/graphql-app.git
Branch: main
Retrieving available template pipelines from tools
Pipeline templates filtered based on detected runtime: nodejs
? Select the Pipeline to use in the PipelineRun: ibm-nodejs
? scan-image: Enable the pipeline to scan the image for vulnerabilities? Yes
? lint-dockerfile: Enable the pipeline to lint the Dockerfile for best practices? Yes
Copying tasks from tools
Error registering pipeline: read ECONNRESET

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.