Skip to content

Commit

Permalink
Merge branch 'openshift:main' into OCPBUGS-12857-Gracefully-Handle-Na…
Browse files Browse the repository at this point in the history
…N-In-Dashboards
  • Loading branch information
PeterYurkovich committed Apr 1, 2024
2 parents dd3cf6f + a0e1bb4 commit a379cb8
Show file tree
Hide file tree
Showing 4 changed files with 294 additions and 196 deletions.
2 changes: 1 addition & 1 deletion .ci-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build_root_image:
name: release
namespace: openshift
tag: rhel-8-release-golang-1.21-openshift-4.16
tag: rhel-9-release-golang-1.21-openshift-4.16
10 changes: 4 additions & 6 deletions Dockerfile.art
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.ci.openshift.org/ocp/builder:rhel-8-openshift-nodejs-base-4.16.art AS builder
FROM registry.ci.openshift.org/ocp/builder:rhel-9-base-nodejs-openshift-4.16 AS builder

# Copy app sources
COPY $REMOTE_SOURCES $REMOTE_SOURCES_DIR
Expand All @@ -23,12 +23,10 @@ RUN test -d ${REMOTE_SOURCES_DIR}/cachito-gomod-with-deps || exit 1; \
&& source ${REMOTE_SOURCES_DIR}/cachito-gomod-with-deps/cachito.env \
&& yarn && yarn build

FROM registry.ci.openshift.org/ocp/4.16:base
FROM registry.ci.openshift.org/ocp/4.16:base-rhel9

ENV NGINX_VERSION=1.20
RUN yum -y module enable nginx:$NGINX_VERSION && \
INSTALL_PKGS="nginx" && \
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
RUN INSTALL_PKGS="nginx" && \
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
yum -y clean all --enablerepo='*' && \
chown -R 1001:0 /var/lib/nginx /var/log/nginx /run && \
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
"resolutions": {
"webpack": "^5.76.0",
"tough-cookie": "^4.1.3",
"semver": "^6.3.1"
"semver": "^6.3.1",
"sanitize-html": "^2.12.1"
},
"consolePlugin": {
"name": "monitoring-plugin",
Expand Down

0 comments on commit a379cb8

Please sign in to comment.