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

igc pipeline breaks when git slug is long

Open
#575 2 comments 0 reactions 1 assignee Claimed by @seansund View on GitHub
bug cli pipeline
Dominant language
No language data
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Git clone a repo with a long slug
```
git clone https://github.com//csantanapr-cn-toolkit-tests/typescript-10-20.git
```
Then run `igc pipelines` there are errors creating configmap
```
? Select the type of pipeline that should be run? Tekton
Creating pipeline on openshift cluster in helm-testing namespace
Getting git parameters
Git credentials have already been stored for user: csantanapr
Project git repo: https://github.com//csantanapr-cn-toolkit-tests/typescript-10-20.git
? Provide the git branch that should be used: master
Error registering pipeline: ConfigMap "/csantanapr-cn-toolkit-tests-typescript-10-20" is invalid: metadata.name: Invalid value: "/csantanapr-cn-toolkit-tests-typescript-10-20": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
```

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.