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

fix(docker): Enable build on schedule event #7617

Merged
merged 1 commit into from
Oct 8, 2023

Conversation

heliocastro
Copy link
Contributor

After move to scheduled build, main images are building only on push and workflow_dispatch events.
Noticed after some mistake PR done on Ort Github CI repository.

@heliocastro heliocastro added the bug Issues that are considered to be bugs label Oct 4, 2023
@heliocastro heliocastro requested a review from a team as a code owner October 4, 2023 06:24
@heliocastro heliocastro self-assigned this Oct 4, 2023
@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (313d877) 68.05% compared to head (0de9d53) 68.05%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #7617   +/-   ##
=========================================
  Coverage     68.05%   68.05%           
  Complexity     2023     2023           
=========================================
  Files           344      344           
  Lines         16736    16736           
  Branches       2371     2371           
=========================================
  Hits          11389    11389           
  Misses         4364     4364           
  Partials        983      983           
Flag Coverage Δ
funTest-docker 69.27% <ø> (ø)
funTest-non-docker 36.45% <ø> (ø)
test 35.57% <ø> (ø)

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.

@heliocastro heliocastro force-pushed the heliocastro/docker_extended_build branch from 229296d to 7607ccf Compare October 4, 2023 18:41
@heliocastro heliocastro changed the title chore(docker): Reenable build after move to schedules action event chore(docker): Enable build on schedule event Oct 4, 2023
@heliocastro heliocastro force-pushed the heliocastro/docker_extended_build branch from 7607ccf to 4a4aeeb Compare October 4, 2023 18:44
@heliocastro heliocastro requested a review from fviernau October 4, 2023 18:48
tsteenbe
tsteenbe previously approved these changes Oct 4, 2023
fviernau
fviernau previously approved these changes Oct 5, 2023
@heliocastro heliocastro force-pushed the heliocastro/docker_extended_build branch 2 times, most recently from 8b6789e to f95dc9c Compare October 5, 2023 11:25
@heliocastro heliocastro dismissed stale reviews from fviernau and tsteenbe via b469340 October 5, 2023 11:29
@heliocastro heliocastro force-pushed the heliocastro/docker_extended_build branch 2 times, most recently from b469340 to 07b287d Compare October 5, 2023 13:14
@heliocastro heliocastro enabled auto-merge (rebase) October 5, 2023 14:48
@heliocastro heliocastro force-pushed the heliocastro/docker_extended_build branch from 07b287d to e95f1c9 Compare October 5, 2023 14:50
@heliocastro
Copy link
Contributor Author

@fviernau @tsteenbe @sschuberth Anyone can push this one before tomorrow 4AM schedule ?

@heliocastro
Copy link
Contributor Author

@fviernau The pr is clean, can we go with approval now ?

To reduce the frequency of docker builds, on
commit e3bbcdb the workflow moved from push based to
schedule based. The registry publishing
was attached to push and worflow_dispatch events,
therefore, any schedule event was ignored.

Since builds now happens once a day and in case of version tag,
registry publish is now set to be valid on all build cases.

For extended image, the time schedule set was removed and only when
runtime main docker workflow has their build complete triggers the
extended workflow using wokrflow_run dependency.

Signed-off-by: Helio Chissini de Castro <[email protected]>
@heliocastro heliocastro force-pushed the heliocastro/docker_extended_build branch from e95f1c9 to 0de9d53 Compare October 8, 2023 08:55
@heliocastro heliocastro changed the title chore(docker): Enable build on schedule event fix(docker): Enable build on schedule event Oct 8, 2023
@heliocastro heliocastro merged commit 7a201a2 into main Oct 8, 2023
29 checks passed
@heliocastro heliocastro deleted the heliocastro/docker_extended_build branch October 8, 2023 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that are considered to be bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants