Skip to content

Commit 7062e9f

Browse files
dcaravelBradLugo
andauthored
Backport s390x and CI fixes - 2.35/4.6 (#2161)
Co-authored-by: Brad Lugo <blugo@redhat.com>
1 parent 3a27e9c commit 7062e9f

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

.openshift-ci/pre_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Deployer:
1212
Deployer - Deploys Scanner and ScannerDB resources and port-forwards the necessary endpoints.
1313
"""
1414

15-
DEPLOY_TIMEOUT = 10 * 60
15+
DEPLOY_TIMEOUT = 30 * 60
1616

1717
def __init__(self, slim=False):
1818
self.slim = slim

e2etests/testcase_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4028,7 +4028,7 @@ All OpenShift Container Platform 4.10 users are advised to upgrade to these upda
40284028
Name: "tomcat",
40294029
VersionFormat: component.JavaSourceType.String(),
40304030
Version: "9.0.59",
4031-
FixedBy: "9.0.107",
4031+
FixedBy: "9.0.108",
40324032
Location: "tomcat-embed-core-9.0.59.jar",
40334033
Vulnerabilities: []apiV1.Vulnerability{
40344034
{

image/db/rhel/scripts/download.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ output_dir="/rpms"
1515
mkdir $output_dir
1616

1717
if [[ "$arch" == "s390x" ]]; then
18+
# TODO(ROX-30647): Builds are failing due to UBI9:latest not containing the
19+
# necessary version of openssl-libs to build postgresql-contrib.
20+
pg_build_version="0:16.8-1.module_el9+1209+bd6e4013.s390x"
1821
dnf module enable -y postgresql:16
19-
dnf install -y --downloadonly --downloaddir=/tmp postgresql postgresql-private-libs postgresql-server postgresql-contrib
22+
dnf install -y --downloadonly --downloaddir=/tmp "postgresql-${pg_build_version}" "postgresql-private-libs-${pg_build_version}" "postgresql-server-${pg_build_version}" "postgresql-contrib-${pg_build_version}"
2023
mv /tmp/postgresql-contrib-*.rpm "${output_dir}/postgres-contrib.rpm"
2124
mv /tmp/postgresql-server-*.rpm "${output_dir}/postgres-server.rpm"
2225
mv /tmp/postgresql-private-libs-*.rpm "${output_dir}/postgres-libs.rpm"

scripts/ci/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ _wait_for_scanner() {
3232
kubectl -n stackrox get pod
3333
POD="$(kubectl -n stackrox get pod -o jsonpath='{.items[?(@.metadata.labels.app=="scanner")].metadata.name}')"
3434
[[ -n "${POD}" ]]
35-
kubectl -n stackrox wait "--for=condition=Ready" "pod/${POD}" --timeout=10m
35+
kubectl -n stackrox wait "--for=condition=Ready" "pod/${POD}" --timeout=30m
3636
kubectl -n stackrox get pod
3737
}
3838

0 commit comments

Comments
 (0)