Skip to content

Commit

Permalink
feat(RELEASE-1312): add buildpipeline back to FBC e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jing Qi <[email protected]>
  • Loading branch information
jinqi7 committed Feb 13, 2025
1 parent a1eb0df commit de927d3
Show file tree
Hide file tree
Showing 3 changed files with 302 additions and 98 deletions.
13 changes: 11 additions & 2 deletions tests/release/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package common
import (
"time"

"github.com/konflux-ci/e2e-tests/pkg/constants"
"github.com/konflux-ci/e2e-tests/pkg/utils"
corev1 "k8s.io/api/core/v1"
)
Expand All @@ -12,6 +13,7 @@ const (
ReleaseStrategyPolicyDefault string = "mvp-policy"
ReleaseStrategyPolicy string = "policy"

QuayTokenSecret string = "test-quay-token-secret"
RedhatAppstudioUserSecret string = "hacbs-release-tests-token"
RedhatAppstudioQESecret string = "redhat-appstudio-qe-bot-token"
HacbsReleaseTestsTokenSecret string = "redhat-appstudio-registry-pull-secret"
Expand All @@ -31,14 +33,18 @@ const (
BuildPipelineRunCreationTimeout = 10 * time.Minute
ReleasePlanStatusUpdateTimeout = 1 * time.Minute
DefaultInterval = 100 * time.Millisecond
PullRequestCreationTimeout = 5 * time.Minute
PipelineRunStartedTimeout = 5 * time.Minute
SnapshotTimeout = 4 * time.Minute
SnapshotPollingInterval = 1 * time.Second
DefaultPollingInterval = 2 * time.Second
MergePRTimeout = 1 * time.Minute

// Pipelines constants
ComponentName string = "dc-metro-map"
GitSourceComponentUrl string = "https://github.com/redhat-appstudio-qe/dc-metro-map-release"
AdditionalComponentName string = "simple-python"
AdditionalGitSourceComponentUrl string = "https://github.com/redhat-appstudio-qe/devfile-sample-python-basic-test2"
ReleasedImagePushRepo string = "quay.io/redhat-appstudio-qe/dcmetromap"
AdditionalReleasedImagePushRepo string = "quay.io/redhat-appstudio-qe/simplepython"
PyxisStageImagesApiEndpoint string = "https://pyxis.preprod.api.redhat.com/v1/images/id/"
GitLabRunFileUpdatesTestRepo string = "https://gitlab.cee.redhat.com/hacbs-release-tests/app-interface"

Expand All @@ -50,6 +56,7 @@ const (

// Service constants
ApplicationName string = "application"
ReferenceDoesntExist string = "Reference does not exist"
)

var ManagednamespaceSecret = []corev1.ObjectReference{
Expand All @@ -60,4 +67,6 @@ var ManagednamespaceSecret = []corev1.ObjectReference{
var (
RelSvcCatalogURL string = utils.GetEnv("RELEASE_SERVICE_CATALOG_URL", "https://github.com/konflux-ci/release-service-catalog")
RelSvcCatalogRevision string = utils.GetEnv("RELEASE_SERVICE_CATALOG_REVISION", "staging")
ReleasedImagePushRepo string = "quay.io/" + utils.GetEnv(constants.QUAY_E2E_ORGANIZATION_ENV, "redhat-appstudio-qe") + "/dcmetromap"
AdditionalReleasedImagePushRepo string = "quay.io/" + utils.GetEnv(constants.QUAY_E2E_ORGANIZATION_ENV, "redhat-appstudio-qe") + "/simplepython"
)
Loading

0 comments on commit de927d3

Please sign in to comment.