Skip to content
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
1 change: 0 additions & 1 deletion .ci/pipelines/env_variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ AZURE_DB_CERTIFICATES_PATH="/tmp/secrets/azure-db-certificates.pem"

JUNIT_RESULTS="junit-results.xml"

SLACK_DATA_ROUTER_WEBHOOK_URL=$(cat /tmp/secrets/SLACK_DATA_ROUTER_WEBHOOK_URL)
REDIS_USERNAME=temp
REDIS_USERNAME_ENCODED=$(printf "%s" $REDIS_USERNAME | base64 | tr -d '\n')
REDIS_PASSWORD=test123
Expand Down
17 changes: 10 additions & 7 deletions .ci/pipelines/install-methods/operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,22 @@ prepare_operator() {
k8s_wait::crd "backstages.rhdh.redhat.com" 300 10 || return 1
}

deploy_rhdh_operator() {
local namespace=$1
local backstage_crd_path=$2

# Ensure PostgresCluster CRD is available before deploying Backstage CR
# This is required because the operator relies on CrunchyDB for its internal database
# Waits for the Crunchy Data PostgreSQL Operator's PostgresCluster CRD to become available.
# Must be called after the Crunchy DB CRD is created and before RHDH is deployed
# with internal DB disabled and configured to use Crunchy DB as the external PostgreSQL database.
wait_for_crunchy_crd() {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment says this is only relevant "on OpenShift" but the function itself has no guard — it'll fail if ever called on a non-OCP cluster. The protection comes from call sites being in OCP-specific scripts, which is fine, but maybe add a brief note like # Caller must ensure this runs on OCP only to make the contract explicit?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's actually an AI comment from the codebase which wasn't correct. I'll update the description of the function to be more accurate

log::info "Verifying PostgresCluster CRD is available before deploying Backstage CR..."
k8s_wait::crd "postgresclusters.postgres-operator.crunchydata.com" 60 5 || {
log::error "PostgresCluster CRD not available - operator won't be able to create internal database"
return 1
}
}

deploy_rhdh_operator() {
local namespace=$1
local backstage_crd_path=$2

# Verify Backstage CRD is also available
# Verify Backstage CRD is available
k8s_wait::crd "backstages.rhdh.redhat.com" 60 5 || return 1

Comment thread
zdrapela marked this conversation as resolved.
rendered_yaml=$(envsubst < "$backstage_crd_path")
Expand Down
6 changes: 3 additions & 3 deletions .ci/pipelines/jobs/ocp-nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ handle_ocp_nightly() {
# Use OSD-GCP specific deployment for osd-gcp jobs (orchestrator disabled)
if [[ "${JOB_NAME}" == *osd-gcp* ]]; then
log::info "Detected OSD-GCP job, using OSD-GCP specific deployment (orchestrator disabled)"
initiate_deployments_osd_gcp
initiate_deployments_osd_gcp "${PW_PROJECT_SHOWCASE}" "${PW_PROJECT_SHOWCASE_RBAC}"
else
initiate_deployments
initiate_deployments "${PW_PROJECT_SHOWCASE}" "${PW_PROJECT_SHOWCASE_RBAC}"
fi

deploy_test_backstage_customization_provider "${NAME_SPACE}"
Expand Down Expand Up @@ -61,7 +61,7 @@ run_runtime_config_change_tests() {

run_sanity_plugins_check() {
local sanity_plugins_url="https://${RELEASE_NAME}-developer-hub-${NAME_SPACE_SANITY_PLUGINS_CHECK}.${K8S_CLUSTER_ROUTER_BASE}"
initiate_sanity_plugin_checks_deployment "${RELEASE_NAME}" "${NAME_SPACE_SANITY_PLUGINS_CHECK}" "${sanity_plugins_url}"
initiate_sanity_plugin_checks_deployment "${RELEASE_NAME}" "${NAME_SPACE_SANITY_PLUGINS_CHECK}" "${sanity_plugins_url}" "${PW_PROJECT_SHOWCASE_SANITY_PLUGINS}"
testing::check_and_test "${RELEASE_NAME}" "${NAME_SPACE_SANITY_PLUGINS_CHECK}" "${PW_PROJECT_SHOWCASE_SANITY_PLUGINS}" "${sanity_plugins_url}"
}

Expand Down
4 changes: 2 additions & 2 deletions .ci/pipelines/jobs/ocp-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ initiate_operator_deployments() {
apply_yaml_files "${DIR}" "${NAME_SPACE_RBAC}" "${rbac_rhdh_base_url}"
config::create_dynamic_plugins_config "${DIR}/value_files/${HELM_CHART_RBAC_VALUE_FILE_NAME}" "/tmp/configmap-dynamic-plugins-rbac.yaml"
oc apply -f /tmp/configmap-dynamic-plugins-rbac.yaml -n "${NAME_SPACE_RBAC}"
wait_for_crunchy_crd || return 1
deploy_rhdh_operator "${NAME_SPACE_RBAC}" "${DIR}/resources/rhdh-operator/rhdh-start-rbac.yaml"
# TODO: https://issues.redhat.com/browse/RHDHBUGS-2184 fix orchestrator workflows deployment on operator
# enable_orchestrator_plugins_op "${NAME_SPACE_RBAC}"
Expand All @@ -47,8 +48,6 @@ initiate_operator_deployments() {
initiate_operator_deployments_osd_gcp() {
log::info "Initiating Operator-backed deployments on OSD-GCP (orchestrator disabled)"

prepare_operator

namespace::configure "${NAME_SPACE}"
deploy_test_backstage_customization_provider "${NAME_SPACE}"
local rhdh_base_url="https://backstage-${RELEASE_NAME}-${NAME_SPACE}.${K8S_CLUSTER_ROUTER_BASE}"
Expand Down Expand Up @@ -78,6 +77,7 @@ initiate_operator_deployments_osd_gcp() {
common::save_artifact "${PW_PROJECT_SHOWCASE_OPERATOR_RBAC}" "/tmp/configmap-dynamic-plugins-rbac.yaml"

oc apply -f /tmp/configmap-dynamic-plugins-rbac.yaml -n "${NAME_SPACE_RBAC}"
wait_for_crunchy_crd || return 1
deploy_rhdh_operator "${NAME_SPACE_RBAC}" "${DIR}/resources/rhdh-operator/rhdh-start-rbac.yaml"

# Skip orchestrator plugins and workflows for OSD-GCP RBAC
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/jobs/ocp-pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ handle_ocp_pull() {
K8S_CLUSTER_ROUTER_BASE=$(oc get route console -n openshift-console -o=jsonpath='{.spec.host}' | sed 's/^[^.]*\.//')
export K8S_CLUSTER_ROUTER_BASE
cluster_setup_ocp_helm
initiate_deployments
initiate_deployments "${PW_PROJECT_SHOWCASE}" "${PW_PROJECT_SHOWCASE_RBAC}"
deploy_test_backstage_customization_provider "${NAME_SPACE}"
local url="https://${RELEASE_NAME}-developer-hub-${NAME_SPACE}.${K8S_CLUSTER_ROUTER_BASE}"
testing::check_and_test "${RELEASE_NAME}" "${NAME_SPACE}" "${PW_PROJECT_SHOWCASE}" "${url}"
Expand Down
17 changes: 13 additions & 4 deletions .ci/pipelines/lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,19 +188,28 @@ common::retry() {
return 1
}

# Save a file to the artifacts directory
# Args: artifacts_subdir, file_path
# Save a file or directory to the artifacts directory
# Args:
# $1 - artifacts_subdir: Subdirectory under ARTIFACT_DIR (typically playwright_project)
# $2 - file_path: File or directory to save
# $3 - subdir: (optional) Additional subdirectory under artifacts_subdir
common::save_artifact() {
local artifacts_subdir=$1
local file=$2
local subdir=${3:-}

if [[ -z "$ARTIFACT_DIR" ]]; then
log::warn "ARTIFACT_DIR not set, skipping artifact save"
return 0
fi

mkdir -p "${ARTIFACT_DIR}/${artifacts_subdir}"
rsync -a "$file" "${ARTIFACT_DIR}/${artifacts_subdir}/"
local target_dir="${ARTIFACT_DIR}/${artifacts_subdir}"
if [[ -n "$subdir" ]]; then
target_dir="${target_dir}/${subdir}"
fi

mkdir -p "${target_dir}"
rsync -a "$file" "${target_dir}/"
}

# Export functions for subshell usage (e.g., timeout bash -c "...")
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/lib/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ metadata:
data:
dynamic-plugins.yaml: |
EOF
yq '.global.dynamic' "${base_file}" | sed -e 's/^/ /' >> "${output_file}"
yq '.global.dynamic' "${base_file}" | sed -e 's/^/ /' -e 's/{{ "{{" }}inherit{{ "}}" }}/{{inherit}}/g' >> "${output_file}"
return $?
}

Expand Down
39 changes: 16 additions & 23 deletions .ci/pipelines/lib/testing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,16 @@ testing::run_tests() {
pkill Xvfb || true

# Use artifacts_subdir for artifact directory to keep artifacts organized
mkdir -p "${ARTIFACT_DIR}/${artifacts_subdir}/test-results"
mkdir -p "${ARTIFACT_DIR}/${artifacts_subdir}/attachments/screenshots"
rsync -a "${e2e_tests_dir}/test-results/" "${ARTIFACT_DIR}/${artifacts_subdir}/test-results/" || true
rsync -a "${e2e_tests_dir}/${JUNIT_RESULTS}" "${ARTIFACT_DIR}/${artifacts_subdir}/${JUNIT_RESULTS}" || true
common::save_artifact "${artifacts_subdir}" "${e2e_tests_dir}/test-results/" "test-results" || true
common::save_artifact "${artifacts_subdir}" "${e2e_tests_dir}/${JUNIT_RESULTS}" || true
if [[ "${CI}" == "true" ]]; then
rsync "${ARTIFACT_DIR}/${artifacts_subdir}/${JUNIT_RESULTS}" "${SHARED_DIR}/junit-results-${artifacts_subdir}.xml" || true
fi

rsync -a "${e2e_tests_dir}/screenshots/" "${ARTIFACT_DIR}/${artifacts_subdir}/attachments/screenshots/" || true
common::save_artifact "${artifacts_subdir}" "${e2e_tests_dir}/screenshots/" "attachments/screenshots" || true
ansi2html < "/tmp/${LOGFILE}" > "/tmp/${LOGFILE}.html"
rsync -a "/tmp/${LOGFILE}.html" "${ARTIFACT_DIR}/${artifacts_subdir}/" || true
rsync -a "${e2e_tests_dir}/playwright-report/" "${ARTIFACT_DIR}/${artifacts_subdir}/" || true
common::save_artifact "${artifacts_subdir}" "/tmp/${LOGFILE}.html" || true
common::save_artifact "${artifacts_subdir}" "${e2e_tests_dir}/playwright-report/" || true

echo "Playwright project '${playwright_project}' in namespace '${namespace}' (artifacts: ${artifacts_subdir}) RESULT: ${test_result}"
local test_passed="true"
Expand Down Expand Up @@ -134,26 +132,23 @@ testing::run_tests() {
# $1 - release_name: The Helm release name
# $2 - namespace: The namespace where Backstage is deployed
# $3 - url: The URL to check
# $4 - max_attempts: (optional) Maximum number of attempts (default: 30)
# $5 - wait_seconds: (optional) Seconds to wait between attempts (default: 30)
# $4 - artifacts_subdir: (optional) Subdirectory for artifacts (defaults to namespace)
# $5 - max_attempts: (optional) Maximum number of attempts (default: 30)
# $6 - wait_seconds: (optional) Seconds to wait between attempts (default: 30)
# Returns:
# 0 - Backstage is running
# 1 - Backstage is not running or crashed
testing::check_backstage_running() {
local release_name=$1
local namespace=$2
local url=$3
local max_attempts=${4:-30}
local wait_seconds=${5:-30}
local artifacts_subdir=$4

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking positional parameter change — old $4 was max_attempts (optional), now it's artifacts_subdir (required). The in-repo caller (testing::check_and_test) is updated, but if any downstream scripts or forks call testing::check_backstage_running with the old positional args, they'd silently break (passing a number as artifacts_subdir). Just flagging the risk.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's called only once (in testing::check_and_test), I don't believe there will be any downstream scripts, or forks that will suffer from it (you either use the old version, or you rebase and use the new version).
It may make cherry-picking slightly harder, but the function has been moved to the testing:: library, so it doesn't matter.
On the other hand, it's a much more logical order.

local max_attempts=${5:-30}
local wait_seconds=${6:-30}

if [[ -z "$release_name" || -z "$namespace" ]]; then
if [[ -z "$release_name" || -z "$namespace" || -z "$url" || -z "$artifacts_subdir" ]]; then
log::error "${_TESTING_ERR_MISSING_PARAMS}"
log::info "Usage: testing::check_backstage_running <release_name> <namespace> <url> [max_attempts] [wait_seconds]"
return 1
fi

if [[ -z "${url}" ]]; then
log::error "Error: URL is not set. Please provide a valid URL."
log::info "Usage: testing::check_backstage_running <release_name> <namespace> <url> <artifacts_subdir> [max_attempts] [wait_seconds]"
return 1
fi

Expand Down Expand Up @@ -190,8 +185,7 @@ testing::check_backstage_running() {
|| oc logs deployment/${release_name} -n "${namespace}" --tail=100 --all-containers=true 2> /dev/null || true
log::error "Recent events:"
oc get events -n "${namespace}" --sort-by='.lastTimestamp' | tail -20
mkdir -p "${ARTIFACT_DIR}/${namespace}"
rsync -a "/tmp/${LOGFILE}" "${ARTIFACT_DIR}/${namespace}/" || true
common::save_artifact "${artifacts_subdir}" "/tmp/${LOGFILE}" || true
return 1
fi

Expand All @@ -201,8 +195,7 @@ testing::check_backstage_running() {

log::error "Failed to reach Backstage at ${url} after ${max_attempts} attempts."
oc get events -n "${namespace}" --sort-by='.lastTimestamp' | tail -10
mkdir -p "${ARTIFACT_DIR}/${namespace}"
rsync -a "/tmp/${LOGFILE}" "${ARTIFACT_DIR}/${namespace}/" || true
common::save_artifact "${artifacts_subdir}" "/tmp/${LOGFILE}" || true
return 1
}

Expand Down Expand Up @@ -235,7 +228,7 @@ testing::check_and_test() {
return 1
fi

if testing::check_backstage_running "${release_name}" "${namespace}" "${url}" "${max_attempts}" "${wait_seconds}"; then
if testing::check_backstage_running "${release_name}" "${namespace}" "${url}" "${artifacts_subdir}" "${max_attempts}" "${wait_seconds}"; then
echo "Display pods for verification..."
oc get pods -n "${namespace}"
if [[ "${SKIP_TESTS:-false}" == "true" ]]; then
Expand Down
41 changes: 25 additions & 16 deletions .ci/pipelines/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@ save_all_pod_logs() {
wait "$pid" 2> /dev/null || true
done

mkdir -p "${ARTIFACT_DIR}/${artifacts_subdir}/pod_logs"
rsync -a pod_logs/ "${ARTIFACT_DIR}/${artifacts_subdir}/pod_logs/" || true
common::save_artifact "${artifacts_subdir}" "pod_logs/" "pod_logs" || true
set -e
}

Expand Down Expand Up @@ -528,6 +527,8 @@ cluster_setup_k8s_helm() {
# ==============================================================================

base_deployment() {
local artifacts_subdir=$1

namespace::configure ${NAME_SPACE}

deploy_redis_cache "${NAME_SPACE}"
Expand All @@ -542,8 +543,7 @@ base_deployment() {
helm::merge_values "merge" "${DIR}/value_files/${HELM_CHART_VALUE_FILE_NAME}" "${DIR}/value_files/diff-values_showcase_PR.yaml" "${merged_pr_value_file}"
disable_orchestrator_plugins_in_values "${merged_pr_value_file}"

mkdir -p "${ARTIFACT_DIR}/${NAME_SPACE}"
rsync -a "${merged_pr_value_file}" "${ARTIFACT_DIR}/${NAME_SPACE}/" || true
common::save_artifact "${artifacts_subdir}" "${merged_pr_value_file}" || true
# shellcheck disable=SC2046
helm upgrade -i "${RELEASE_NAME}" -n "${NAME_SPACE}" \
"${HELM_CHART_URL}" --version "${CHART_VERSION}" \
Expand All @@ -562,6 +562,8 @@ base_deployment() {
}

rbac_deployment() {
local artifacts_subdir=$1

namespace::configure "${NAME_SPACE_POSTGRES_DB}"
namespace::configure "${NAME_SPACE_RBAC}"
configure_external_postgres_db "${NAME_SPACE_RBAC}"
Expand All @@ -583,8 +585,7 @@ rbac_deployment() {
helm::merge_values "merge" "${DIR}/value_files/${HELM_CHART_RBAC_VALUE_FILE_NAME}" "${DIR}/value_files/diff-values_showcase-rbac_PR.yaml" "${merged_pr_rbac_value_file}"
disable_orchestrator_plugins_in_values "${merged_pr_rbac_value_file}"

mkdir -p "${ARTIFACT_DIR}/${NAME_SPACE_RBAC}"
rsync -a "${merged_pr_rbac_value_file}" "${ARTIFACT_DIR}/${NAME_SPACE_RBAC}/" || true
common::save_artifact "${artifacts_subdir}" "${merged_pr_rbac_value_file}" || true
# shellcheck disable=SC2046
helm upgrade -i "${RELEASE_NAME_RBAC}" -n "${NAME_SPACE_RBAC}" \
"${HELM_CHART_URL}" --version "${CHART_VERSION}" \
Expand Down Expand Up @@ -618,13 +619,18 @@ rbac_deployment() {
}

initiate_deployments() {
local base_artifacts_subdir=$1
local rbac_artifacts_subdir=$2

cd "${DIR}"
base_deployment
rbac_deployment
base_deployment "${base_artifacts_subdir}"
rbac_deployment "${rbac_artifacts_subdir}"
}

# OSD-GCP specific deployment functions that merge diff files and skip orchestrator workflows
base_deployment_osd_gcp() {
local artifacts_subdir=$1

namespace::configure ${NAME_SPACE}

deploy_redis_cache "${NAME_SPACE}"
Expand All @@ -635,8 +641,7 @@ base_deployment_osd_gcp() {

# Merge base values with OSD-GCP diff file
helm::merge_values "merge" "${DIR}/value_files/${HELM_CHART_VALUE_FILE_NAME}" "${DIR}/value_files/${HELM_CHART_OSD_GCP_DIFF_VALUE_FILE_NAME}" "/tmp/merged-values_showcase_OSD-GCP.yaml"
mkdir -p "${ARTIFACT_DIR}/${NAME_SPACE}"
rsync -a "/tmp/merged-values_showcase_OSD-GCP.yaml" "${ARTIFACT_DIR}/${NAME_SPACE}/" # Save the final value-file into the artifacts directory.
common::save_artifact "${artifacts_subdir}" "/tmp/merged-values_showcase_OSD-GCP.yaml"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most other common::save_artifact calls in this PR have || true to prevent artifact-save failures from aborting the pipeline, but this one doesn't. The original rsync it replaced also lacked it, but since you're cleaning this up anyway — should it match the others for consistency?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the codebase the collection of merged yaml value files files (like this one) lack the || true, because the files should always be created and if they aren't the pipeline should fail anyway. And if the artifact collection is unsuccessful, it's making it even harder to investigate. I only see the || true is useful only if the files may not be created, which is rare in the codebase. I haven't seen a failure because of artifact collection which wasn't connected to another issue


log::info "Deploying image from repository: ${QUAY_REPO}, TAG_NAME: ${TAG_NAME}, in NAME_SPACE: ${NAME_SPACE}"

Expand All @@ -652,6 +657,8 @@ base_deployment_osd_gcp() {
}

rbac_deployment_osd_gcp() {
local artifacts_subdir=$1

namespace::configure "${NAME_SPACE_POSTGRES_DB}"
namespace::configure "${NAME_SPACE_RBAC}"
configure_external_postgres_db "${NAME_SPACE_RBAC}"
Expand All @@ -662,8 +669,7 @@ rbac_deployment_osd_gcp() {

# Merge RBAC values with OSD-GCP diff file
helm::merge_values "merge" "${DIR}/value_files/${HELM_CHART_RBAC_VALUE_FILE_NAME}" "${DIR}/value_files/${HELM_CHART_RBAC_OSD_GCP_DIFF_VALUE_FILE_NAME}" "/tmp/merged-values_showcase-rbac_OSD-GCP.yaml"
mkdir -p "${ARTIFACT_DIR}/${NAME_SPACE_RBAC}"
rsync -a "/tmp/merged-values_showcase-rbac_OSD-GCP.yaml" "${ARTIFACT_DIR}/${NAME_SPACE_RBAC}/" # Save the final value-file into the artifacts directory.
common::save_artifact "${artifacts_subdir}" "/tmp/merged-values_showcase-rbac_OSD-GCP.yaml"

log::info "Deploying image from repository: ${QUAY_REPO}, TAG_NAME: ${TAG_NAME}, in NAME_SPACE: ${RELEASE_NAME_RBAC}"

Expand All @@ -679,9 +685,12 @@ rbac_deployment_osd_gcp() {
}

initiate_deployments_osd_gcp() {
local base_artifacts_subdir=$1
local rbac_artifacts_subdir=$2

cd "${DIR}"
base_deployment_osd_gcp
rbac_deployment_osd_gcp
base_deployment_osd_gcp "${base_artifacts_subdir}"
rbac_deployment_osd_gcp "${rbac_artifacts_subdir}"
}

# install base RHDH deployment before upgrade
Expand Down Expand Up @@ -761,14 +770,14 @@ initiate_sanity_plugin_checks_deployment() {
local release_name=$1
local name_space_sanity_plugins_check=$2
local sanity_plugins_url=$3
local artifacts_subdir=$4

namespace::configure "${name_space_sanity_plugins_check}"
helm::uninstall "${name_space_sanity_plugins_check}" "${release_name}"
deploy_redis_cache "${name_space_sanity_plugins_check}"
apply_yaml_files "${DIR}" "${name_space_sanity_plugins_check}" "${sanity_plugins_url}"
helm::merge_values "overwrite" "${DIR}/value_files/${HELM_CHART_VALUE_FILE_NAME}" "${DIR}/value_files/${HELM_CHART_SANITY_PLUGINS_DIFF_VALUE_FILE_NAME}" "/tmp/${HELM_CHART_SANITY_PLUGINS_MERGED_VALUE_FILE_NAME}"
mkdir -p "${ARTIFACT_DIR}/${name_space_sanity_plugins_check}"
rsync -a "/tmp/${HELM_CHART_SANITY_PLUGINS_MERGED_VALUE_FILE_NAME}" "${ARTIFACT_DIR}/${name_space_sanity_plugins_check}/" || true # Save the final value-file into the artifacts directory.
common::save_artifact "${artifacts_subdir}" "/tmp/${HELM_CHART_SANITY_PLUGINS_MERGED_VALUE_FILE_NAME}" || true
# shellcheck disable=SC2046
helm upgrade -i "${release_name}" -n "${name_space_sanity_plugins_check}" \
"${HELM_CHART_URL}" --version "${CHART_VERSION}" \
Expand Down
3 changes: 3 additions & 0 deletions e2e-tests/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ site
# e2e test results
junit-results.xml

# Local e2e test run files
.local-test

# auth-providers local runs files
**/app-config.test.yaml
**/dynamic-plugins.test.yaml
Expand Down
5 changes: 4 additions & 1 deletion e2e-tests/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ const isPrOcpHelmJob =

const isOsdGcpJob = process.env.JOB_NAME.includes("osd-gcp");

const shouldSkipOrchestratorTests = isPrOcpHelmJob || isOsdGcpJob;
const isNonOpenShiftJob = process.env.IS_OPENSHIFT === "false";

const shouldSkipOrchestratorTests =
isPrOcpHelmJob || isOsdGcpJob || isNonOpenShiftJob;

// Set LOCALE based on which project is being run
const args = process.argv;
Expand Down
Loading
Loading