Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

ship init does not work with Gitlab URL #977

Open
areed opened this issue Jun 17, 2019 · 1 comment
Open

ship init does not work with Gitlab URL #977

areed opened this issue Jun 17, 2019 · 1 comment

Comments

@areed
Copy link
Contributor

areed commented Jun 17, 2019

Expected behavior

ship init https://gitlab.com/charts/gitlab should not create an empty project

Actual behavior

ship init https://gitlab.com/charts/gitlab creates an empty project

Information

  • Command line run:

https://kubernetes.slack.com/archives/CFFKXV0JZ/p1560780271024900

$ ship init https://gitlab.com/charts/gitlab/tree/master
Reading https://gitlab.com/charts/gitlab/tree/master ...
Determining application type ...
Attempting to retrieve upstream https://gitlab.com/charts/gitlab/tree/master ...
Detected application type k8s
Looking for ship.yaml ...
ship.yaml not found in upstream, generating default lifecycle for application ...
Open browser to continue? (Y/n) y

       Opening console at http://localhost:8800 ...

Steps to reproduce the behavior

  1. ship init https://gitlab.com/charts/gitlab/tree/master
@laverya
Copy link
Member

laverya commented Jun 17, 2019

@areed ship init git::https://gitlab.com/charts/gitlab/ works - we just need the git:: annotation for go-getter.

If GitLab follows the same URL schema as GitHub does, we should add handling for that though (parsing /tree/master/bin as using ref=master and within subdir=/bin)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants