github.com/redhat-appstudio/e2e-tests@v0.0.0-20230619105049-9a422b2094d7/tests/build/const.go (about) 1 package build 2 3 import ( 4 "fmt" 5 "strings" 6 7 "github.com/redhat-appstudio/e2e-tests/pkg/constants" 8 "github.com/redhat-appstudio/e2e-tests/pkg/utils" 9 ) 10 11 const ( 12 COMPONENT_REPO_URLS_ENV string = "COMPONENT_REPO_URLS" 13 14 containerImageSource = "quay.io/redhat-appstudio-qe/busybox-loop:latest" 15 pythonComponentGitSourceURL = "https://github.com/redhat-appstudio-qe/devfile-sample-python-basic.git" 16 dummyPipelineBundleRef = "quay.io/redhat-appstudio-qe/dummy-pipeline-bundle:latest" 17 buildTemplatesTestLabel = "build-templates-e2e" 18 buildTemplatesKcpTestLabel = "build-templates-kcp-e2e" 19 20 helloWorldComponentGitSourceRepoName = "devfile-sample-hello-world" 21 helloWorldComponentDefaultBranch = "default" 22 ) 23 24 var ( 25 componentUrls = strings.Split(utils.GetEnv(COMPONENT_REPO_URLS_ENV, pythonComponentGitSourceURL), ",") //multiple urls 26 componentNames []string 27 helloWorldComponentGitSourceURL = fmt.Sprintf("https://github.com/%s/%s", utils.GetEnv(constants.GITHUB_E2E_ORGANIZATION_ENV, "redhat-appstudio-qe"), helloWorldComponentGitSourceRepoName) 28 )