Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run promote-images in parallel to test-images on branches other than main/release #10267

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jcgruenhage
Copy link
Member

@jcgruenhage jcgruenhage commented Jan 3, 2025

Problem

trigger-e2e-tests waits half an hour before starting to run. Nearly half of that time can be saved by promoting images before tests on them are complete, so the e2e tests can run in parallel.

On main and release{,-proxy,-compute}, promote-images updates latest and pushes things to prod ecr, so we want to run promote-images only after test-images is done, but on other branches, there is no harm in promoting images that aren't tested yet.

Summary of changes

To promote images into dev container registries sooner, promote-images is split into promote-images-dev and promote-images-prod. The former pushes to dev container registries, the latter to prod ones. The latter also waits for test-images, while the former doesn't. This allows to run trigger-e2e-tests sooner.

@jcgruenhage
Copy link
Member Author

ah, that submodule rewind was accidental, sorry :|

@jcgruenhage jcgruenhage force-pushed the jcgruenhage/promote-images-while-test-images branch 3 times, most recently from ae83fab to 7d839ac Compare January 3, 2025 14:11
@jcgruenhage jcgruenhage force-pushed the jcgruenhage/promote-images-while-test-images branch 4 times, most recently from d16ba65 to b2497b7 Compare January 3, 2025 14:34
@jcgruenhage jcgruenhage marked this pull request as ready for review January 3, 2025 14:35
@jcgruenhage jcgruenhage requested a review from a team as a code owner January 3, 2025 14:35
@@ -33,7 +33,7 @@ jobs:
# SC2086 - Double quote to prevent globbing and word splitting. - https://www.shellcheck.net/wiki/SC2086
SHELLCHECK_OPTS: --exclude=SC2046,SC2086
with:
fail_on_error: true
fail_level: error
Copy link
Member Author

Choose a reason for hiding this comment

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

reviewdog/action-actionlint@9543997, fail_on_error is deprecated. Should I move this into a separate PR?

Copy link

github-actions bot commented Jan 3, 2025

7227 tests run: 6873 passed, 0 failed, 354 skipped (full report)


Code coverage* (full report)

  • functions: 31.2% (8414 of 26948 functions)
  • lines: 48.0% (66778 of 139204 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
03dd0b2 at 2025-01-03T18:26:01.692Z :recycle:

@jcgruenhage jcgruenhage force-pushed the jcgruenhage/promote-images-while-test-images branch from b2497b7 to 03dd0b2 Compare January 3, 2025 17:24
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.

2 participants