Skip to content

Commit

Permalink
chore(e2e): skip topology plugin test on k8s clusters (#2208)
Browse files Browse the repository at this point in the history
  • Loading branch information
zdrapela authored Jan 20, 2025
1 parent b91248f commit edc2b56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .ibm/pipelines/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ apply_yaml_files() {
# Select the configuration file based on the namespace or job
config_file=$(select_config_map_file)
# Apply the ConfigMap with the correct file
if [[ "${project}" == *showcase-k8s* ]]; then
if [[ "${project}" == *showcase-k8s* ]]; then # Specific to non-RBAC deployment on K8S
create_app_config_map_k8s "$config_file" "$project"
else
create_app_config_map "$config_file" "$project"
Expand All @@ -474,8 +474,9 @@ apply_yaml_files() {
oc apply -f "$dir/resources/pipeline-run/hello-world-pipeline-run.yaml"

# Create Deployment and Pipeline for Topology test.
oc apply -f "$dir/resources/topology_test/topology-test.yaml"

if [[ "${project}" != *k8s* ]]; then # Specific to OCP deployments (uses Route which is not supported by K8S)
oc apply -f "$dir/resources/topology_test/topology-test.yaml"
fi
}

deploy_test_backstage_provider() {
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export default defineConfig({
"**/playwright/e2e/authProviders/**/*.spec.ts",
"**/playwright/e2e/plugins/bulk-import.spec.ts",
"**/playwright/e2e/plugins/tekton/tekton.spec.ts",
"**/playwright/e2e/plugins/topology/topology.spec.ts", // uses Route (not supported in K8S)
"**/playwright/e2e/catalog-scaffoldedfromLink.spec.ts",
"**/playwright/e2e/plugins/ocm.spec.ts",
"**/playwright/e2e/audit-log/**/*.spec.ts",
Expand Down

0 comments on commit edc2b56

Please sign in to comment.