Skip to content

Bring back preflight check#1402

Merged
simonbaird merged 3 commits into
conforma:mainfrom
simonbaird:preflight-check
Mar 6, 2024
Merged

Bring back preflight check#1402
simonbaird merged 3 commits into
conforma:mainfrom
simonbaird:preflight-check

Conversation

@simonbaird

Copy link
Copy Markdown
Member

Ref: EC-464

@codecov

codecov Bot commented Mar 5, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.82%. Comparing base (b2667a5) to head (0ea1374).
Report is 4 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1402      +/-   ##
==========================================
+ Coverage   79.59%   86.82%   +7.22%     
==========================================
  Files          62       73      +11     
  Lines        4347     4682     +335     
==========================================
+ Hits         3460     4065     +605     
+ Misses        887      617     -270     
Flag Coverage Δ
acceptance 72.07% <ø> (?)
generative 79.59% <ø> (ø)
integration 79.59% <ø> (ø)
unit 79.59% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 39 files with indirect coverage changes

@simonbaird simonbaird force-pushed the preflight-check branch 3 times, most recently from 65d61f3 to a075f66 Compare March 5, 2024 22:52
@simonbaird

Copy link
Copy Markdown
Member Author

Check is passing now. I'll move the PR out of draft.

@simonbaird simonbaird marked this pull request as ready for review March 6, 2024 14:26
@simonbaird simonbaird force-pushed the preflight-check branch 3 times, most recently from 7f988fd to 3207b67 Compare March 6, 2024 19:04
It's expected to be producing two failures currently, but I'm aiming
to fix them in some upcoming commits which I'll include in the PR.

Ref: https://issues.redhat.com/browse/EC-464
Specifying with a uid since because we're not sure that the 1001
user exists in /etc/passwd, and we get errors otherwise.

(To expand on that a little - there is a "default" user with uid
1001 that *does* exist in registry.access.redhat.com/ubi9/go-toolset:latest,
but it does not exist in the brew.registry.redhat.io/rh-osbs/openshift-golang-builder
base image we're using currently.)

There was some discussion about the potential side-effects of this
change, particularly if volumes need to be mounted. I'm not 100%
confident about it, but maybe it's fine.

The goal, once again, is to get the OpenShift preflight check task
to stop producing failures.

Ref: https://issues.redhat.com/browse/EC-464
@simonbaird

Copy link
Copy Markdown
Member Author

I got some :button: emojis on slack. Let's merge.

@simonbaird

Copy link
Copy Markdown
Member Author

One note: If this does somehow cause problems, it won't impact Konflux prod, since Konflux prod uses the upstream ec image build.

@simonbaird simonbaird merged commit fde2c66 into conforma:main Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant