Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artifact repo failed to load: parse first path segment in URL cannot contain colon #7736

Closed
Hunter-Thompson opened this issue Feb 2, 2022 · 2 comments
Labels
type/bug type/regression Regression from previous behavior (a specific type of bug)

Comments

@Hunter-Thompson
Copy link
Contributor

Hunter-Thompson commented Feb 2, 2022

Summary

I expected to clone a repo using SSH.

→ time="2022-02-02T18:15:13.389Z" level=fatal msg="artifact repo failed to load: parse \"git@github.com:valorl/repository-with-relative-submodule.git\": first path segment in URL cannot contain colon"

What version is it broken in?

v3.2.6

What version was it working in?

v3.0.7

Diagnostics

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  name: clone-relative-submodule-asdasd
spec:
  entrypoint: clone
  templates:
  - name: clone
    inputs:
      artifacts:
      - name: repo
        path: /repo
        git:
          repo: git@github.com:valorl/repository-with-relative-submodule.git
          revision: main
          sshPrivateKeySecret:
            name: github-ssh-key
            key: ssh-privatekey
          insecureIgnoreHostKey: true
    script:
      image: alpine/git:latest
      command: [sh]
      workingDir: /repo
      source: |
        git status
time="2022-02-02T18:15:13.389Z" level=fatal msg="artifact repo failed to load: parse \"git@github.com:valorl/repository-with-relative-submodule.git\": first path segment in URL cannot contain colon"

What Kubernetes provider are you using?

AWS EKS, v1.18

What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary

K8SAPI

N/A cause artifact failed to clone.


Message from the maintainers:

Impacted by this regression? Give it a 👍. We prioritise the issues with the most 👍.

@Hunter-Thompson Hunter-Thompson added type/bug type/regression Regression from previous behavior (a specific type of bug) triage labels Feb 2, 2022
@terrytangyuan
Copy link
Member

Looks like a problem with cloning submodule. Duplicate of #7469. Related go-git/go-git#397.

@alexec
Copy link
Contributor

alexec commented Feb 2, 2022

Closing duplicate.

@alexec alexec closed this as completed Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug type/regression Regression from previous behavior (a specific type of bug)
Projects
None yet
Development

No branches or pull requests

3 participants