mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Devfile v2 command group impl + Odo catalog list components (#3291)
* First working draft of complete command group kind Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * Refactor devfile parse and validate funcs Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * Update catalog for devfile v2 registry Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * Cleanup, Unit tests, update catalog list components Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * Remove SUPPORTED for devfile catalog Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * Update integration tests for devfile v2 - 1 Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * Fix odo catalog list and odo create Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * Update devfile integration tests Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * Update devfile tests for Kube cluster Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * PR Feedback for command group Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * Apply Feedback 2 for commands group Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * Catalog & Create PR Feedback 1 Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * Create and Catalog Feedback 2 Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * rebase with master Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * Update Registry integration tests for v2 Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com> * rebase with master and update test Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com>
This commit is contained in:
@@ -67,17 +67,11 @@ const (
|
||||
// KubePushTarget represents the value of the push target when it's set to Kube
|
||||
KubePushTarget = "kube"
|
||||
|
||||
// CheDevfileRegistryName is the name of Che devfile registry
|
||||
CheDevfileRegistryName = "CheDevfileRegistry"
|
||||
|
||||
// CheDevfileRegistryURL is the URL of Che devfile registry
|
||||
CheDevfileRegistryURL = "https://che-devfile-registry.openshift.io"
|
||||
|
||||
// DefaultDevfileRegistryName is the name of default devfile registry
|
||||
DefaultDevfileRegistryName = "DefaultDevfileRegistry"
|
||||
|
||||
// DefaultDevfileRegistryURL is the URL of default devfile registry
|
||||
DefaultDevfileRegistryURL = "https://github.com/elsony/devfile-registry"
|
||||
DefaultDevfileRegistryURL = "https://raw.githubusercontent.com/odo-devfiles/registry/master"
|
||||
)
|
||||
|
||||
// TimeoutSettingDescription is human-readable description for the timeout setting
|
||||
@@ -209,10 +203,6 @@ func NewPreferenceInfo() (*PreferenceInfo, error) {
|
||||
if c.OdoSettings.RegistryList == nil {
|
||||
// Handle user has preference file but doesn't use dynamic registry before
|
||||
defaultRegistryList := []Registry{
|
||||
{
|
||||
Name: CheDevfileRegistryName,
|
||||
URL: CheDevfileRegistryURL,
|
||||
},
|
||||
{
|
||||
Name: DefaultDevfileRegistryName,
|
||||
URL: DefaultDevfileRegistryURL,
|
||||
|
||||
Reference in New Issue
Block a user