Skip to content

ROX-24132: Build manifests if all archs are available per brand#11593

Merged
gavin-stackrox merged 7 commits intomasterfrom
gavin/ROX-24132/push-manifests-when-available
Jun 24, 2024
Merged

ROX-24132: Build manifests if all archs are available per brand#11593
gavin-stackrox merged 7 commits intomasterfrom
gavin/ROX-24132/push-manifests-when-available

Conversation

@gavin-stackrox
Copy link
Contributor

@gavin-stackrox gavin-stackrox commented Jun 18, 2024

Description

Per title. See ROX-24132.

Checklist

  • Investigated and inspected CI test results

Testing Performed

Here I tell how I validated my change

Test 1: break pre-build-ui / STACKROX_BRANDING

    • should fail build-and-push-main (STACKROX_BRANDING, *)
    • should fail push-main-manifests (STACKROX_BRANDING)
    • should still push RHACS_BRANDING manifest image
    • should slack failure
    • should run e2e tests (requiring RHACS_BRANDING manifest image)
Run 1 - break STACKROX_BRANDING

I had expected the pre-build-ui step with STACKROX_BRANDING to fail due to 75dea4a (#11593). But the UI artifact is built but with an incorrect artifact name. The downstream image build steps fail as expected. And the manifest fails to push due to missing contents. RHACS_BRANDING is still pushed and e2e tests ran.

Run 2 - really break STACKROX_BRANDING

dbc36a1 (#11593) does the deed.

Test 2: break build-and-push-main / STACKROX_BRANDING / amd64

    • should still push RHACS_BRANDING manifest image
    • should slack failure
    • should run e2e tests (requiring RHACS_BRANDING manifest image)
Run 3 - break build-and-push-main / STACKROX_BRANDING / amd64

6377e4b (#11593)

Reminder for reviewers

In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

@gavin-stackrox gavin-stackrox added the ci-test-github-action-slack-messages Use to test generation of slack messages for GHA workflow failures on a PR label Jun 18, 2024
@rhacs-bot
Copy link
Contributor

rhacs-bot commented Jun 18, 2024

Images are ready for the commit at 0dca1fd.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.4.x-1047-g0dca1fd3ab.

@codecov
Copy link

codecov bot commented Jun 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.01%. Comparing base (1b6253b) to head (0dca1fd).
Report is 9 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11593   +/-   ##
=======================================
  Coverage   48.00%   48.01%           
=======================================
  Files        2358     2358           
  Lines      169314   169360   +46     
=======================================
+ Hits        81282    81321   +39     
- Misses      81516    81520    +4     
- Partials     6516     6519    +3     
Flag Coverage Δ
go-unit-tests 48.01% <ø> (+<0.01%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gavin-stackrox gavin-stackrox force-pushed the gavin/ROX-24132/push-manifests-when-available branch 2 times, most recently from 7bd2633 to 0e6b78f Compare June 18, 2024 22:52
@gavin-stackrox gavin-stackrox force-pushed the gavin/ROX-24132/push-manifests-when-available branch from 0e6b78f to dbc36a1 Compare June 18, 2024 22:59
@gavin-stackrox gavin-stackrox changed the title ROX-24132: Complete the build on a best effort basis ROX-24132: Complete manifest builds if all archs are available for a brand Jun 19, 2024
Copy link
Contributor

@msugakov msugakov left a comment

Choose a reason for hiding this comment

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

I don't like it but I won't block it.

@gavin-stackrox gavin-stackrox changed the title ROX-24132: Complete manifest builds if all archs are available for a brand ROX-24132: Build manifests if all archs are available per brand Jun 24, 2024
@gavin-stackrox gavin-stackrox merged commit 466569e into master Jun 24, 2024
@gavin-stackrox gavin-stackrox deleted the gavin/ROX-24132/push-manifests-when-available branch June 24, 2024 19:42
shireenf-ibm pushed a commit to shireenf-ibm/stackrox that referenced this pull request Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci ci-test-github-action-slack-messages Use to test generation of slack messages for GHA workflow failures on a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants