Skip to content

Commit a3247a0

Browse files
flaper87mareklibra
andauthored
Fix conatiner UI image build (#577) (#578)
(cherry picked from commit 6411acc) Co-authored-by: Marek Libra <marek.libra@gmail.com>
1 parent d2c1d8b commit a3247a0

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CI_FOLDER = images
22
PIPE_IMAGE ?= quay.io/ztpfw/pipeline
3-
UI_IMAGE = quay.io/ztpfw/ui
3+
UI_IMAGE ?= quay.io/ztpfw/ui
44
BRANCH ?= $(shell git branch --show-current | tr '[:upper:]' '[:lower:]' | tr '\/' '-')
55
HASH := $(shell git rev-parse HEAD)
66
RELEASE ?= latest

images/Containerfile.UI

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM registry.access.redhat.com/ubi8/nodejs-16:latest as builder
22
USER root
3+
RUN npm install -g corepack
34
RUN corepack enable yarn
45

56
WORKDIR /app

ui/frontend/src/components/DownloadSshKeyPage/__snapshots__/DownloadSshKeyPage.test.tsx.snap

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,11 @@ exports[`DownloadSshKeyPage can render 1`] = `
404404
Danger alert:
405405
</span>
406406
Incorrect SSH key secret
407+
</h4>
408+
<div
409+
class="pf-c-alert__description"
410+
>
411+
The secret with ssh private key does not meet the required structure.
407412
408413
<button
409414
aria-disabled="false"
@@ -415,8 +420,7 @@ exports[`DownloadSshKeyPage can render 1`] = `
415420
>
416421
Try again
417422
</button>
418-
</h4>
419-
423+
</div>
420424
</div>
421425
</div>
422426
<div

0 commit comments

Comments
 (0)