Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate config for ROSA classic #411

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 77 additions & 1 deletion config/serverless-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,83 @@ repositories:
branch: ""
org: ""
repo: ""
- name: lp-rosa-classic
releaseBuildConfiguration:
base_images:
cli:
name: "4.17"
namespace: ocp
tag: cli
cli-ocm:
name: cli-ocm
namespace: ci
tag: latest
rosa-aws-cli:
name: rosa-aws-cli
namespace: ci
tag: latest
releases:
latest:
integration:
include_built_images: true
name: "4.17"
namespace: ocp
tests:
- as: operator-e2e-rosa-aws
cron: 0 6 25 10 *
steps:
cluster_profile: aws-cspi-qe
env:
CHANNEL_GROUP: candidate
FIREWATCH_CONFIG: |
{
"failure_rules":
[
{"step": "knative-eventing-kafka-broker-e2e", "failure_type": "test_failure", "classification": "knative-eventing-kafka-broker-e2e Test Failure", "jira_project": "SRVCOM", "jira_additional_labels": ["!default"]},
{"step": "knative-serving-eventing-e2e", "failure_type": "test_failure", "classification": "knative-serving-eventing-e2e Test Failure", "jira_project": "SRVCOM", "jira_additional_labels": ["!default"]},
{"step": "operator-e2e", "failure_type": "test_failure", "classification": "operator-e2e Test Failure", "jira_project": "SRVCOM", "jira_additional_labels": ["!default"]},
{"step": "knative-*", "failure_type": "pod_failure", "classification": "knative Test Execution", "jira_additional_labels": ["!default"]},
{"step": "operator-e2e", "failure_type": "pod_failure", "classification": "operator-e2e Test Execution", "jira_additional_labels": ["!default"]}
]
}
FIREWATCH_CONFIG_FILE_PATH: https://raw.githubusercontent.com/CSPI-QE/cspi-utils/main/firewatch-base-configs/rosa/lp-interop.json
FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS: '["4.17-lp","rosa-classic-lp","serverless-lp"]'
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
FIREWATCH_FAIL_WITH_TEST_FAILURES: "true"
OCM_LOGIN_ENV: staging
OPENSHIFT_VERSION: "4.17"
test:
- ref: cucushift-installer-check-cluster-health
- as: knative-eventing-kafka-broker-e2e
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin SKIP_MESH_AUTH_POLICY_GENERATION=true make test-upstream-e2e-kafka-no-upgrade
from: serverless-source-image
# Dependencies are injected automatically based on images.
resources:
requests:
cpu: 100m
memory: 200Mi
- as: operator-e2e
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin SKIP_MESH_AUTH_POLICY_GENERATION=true DELETE_CRD_ON_TEARDOWN=false make teardown test-e2e-with-kafka
from: serverless-source-image
# Dependencies are injected automatically based on images.
resources:
requests:
cpu: 100m
memory: 200Mi
- as: knative-serving-eventing-e2e
commands: FORCE_KONFLUX_INDEX=true GOPATH=/tmp/go PATH=$PATH:/tmp/go/bin SKIP_MESH_AUTH_POLICY_GENERATION=true make test-upstream-e2e-no-upgrade
from: serverless-source-image
# Dependencies are injected automatically based on images.
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: firewatch-rosa-aws-sts
timeout: 8h0m0s
zz_generated_metadata:
branch: ""
org: ""
repo: ""
dockerfiles:
matches:
- knative-operator/.*
Expand Down Expand Up @@ -370,7 +447,6 @@ repositories:
- .*main.yaml$
- .*lp-interop.*
- .*lp-interop.*
- .*rosa-classic.*
imageNameOverrides:
serverless-operator: bundle
serverless-operator-index: index
Expand Down
5 changes: 4 additions & 1 deletion pkg/prowgen/prowgen_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,10 @@ func DependenciesForTestSteps() ReleaseBuildConfigurationOption {
for _, testConfig := range cfg.Tests {
if testConfig.MultiStageTestConfiguration != nil {
for _, testStep := range testConfig.MultiStageTestConfiguration.Test {
testStep.Dependencies = dependenciesFromImages(cfg.Images, nil)
// Add dependencies only if it's LiteralTestStep.
if testStep.Reference == nil {
testStep.Dependencies = dependenciesFromImages(cfg.Images, nil)
}
}
}
}
Expand Down
Loading