Skip to content

Commit

Permalink
fix: adapt konflux-demo for konflux-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
psturc committed Dec 12, 2024
1 parent 79e3c06 commit fd3ca67
Show file tree
Hide file tree
Showing 3 changed files with 199 additions and 87 deletions.
19 changes: 19 additions & 0 deletions tests/konflux-demo/config/scenarios.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,22 @@ var ApplicationSpecs = []ApplicationSpec{
},
},
}
var UpstreamAppSpecs = []ApplicationSpec{
{
Name: "Test local instance of konflux-ci",
ApplicationName: "konflux-ci-upstream",
Skip: false,
ComponentSpec: ComponentSpec{
Name: "konflux-ci-upstream",
GitSourceUrl: fmt.Sprintf("https://github.com/%s/%s", utils.GetEnv(constants.GITHUB_E2E_ORGANIZATION_ENV, "redhat-appstudio-qe"), "testrepo"),
GitSourceRevision: "ba3f8828d061a539ef774229d2f5c8651d854d7e",
GitSourceDefaultBranchName: "main",
DockerFilePath: "Dockerfile",
IntegrationTestScenario: IntegrationTestScenarioSpec{
GitURL: fmt.Sprintf("https://github.com/%s/%s", utils.GetEnv(constants.GITHUB_E2E_ORGANIZATION_ENV, "redhat-appstudio-qe"), "testrepo"),
GitRevision: "ba3f8828d061a539ef774229d2f5c8651d854d7e",
TestPath: "integration-tests/testrepo-integration.yaml",
},
},
},
}
3 changes: 2 additions & 1 deletion tests/konflux-demo/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ const (
releasePollingInterval = time.Second * 1

// test metadata
devEnvTestLabel = "konflux"
devEnvTestLabel = "konflux"
upstreamKonfluxTestLabel = "upstream-konflux"
)
Loading

0 comments on commit fd3ca67

Please sign in to comment.