← Back to issue list

ci: only run docker builds for cron

View original Github issue

Metadata

Project
snapcraft
Number
#2945
Type
pull request
State
closed
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Merged a CI update that switches docker image builds from every pull request to a scheduled cron job. This reduces unnecessary CI overhead since docker builds rarely align with snapcraft source changes.

Suggested action:

No scores available.

Issue body

It does not make sense to test build the docker images for every PR as what they build is seldom based out of the snapcraft built in this source. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a CI update that switches docker image builds from every pull request to a scheduled cron job. This reduces unnecessary CI overhead since docker builds rarely align with snapcraft source changes.
qwen3.6-35b-a3b-mtp-q6 Merged to restrict Docker builds to scheduled cron jobs, preventing unnecessary CI runs on every pull request.
qwen3.6-35b-a3b-mtp-q6 Merged to optimize CI by restricting docker image builds to scheduled cron runs instead of every pull request, as they rarely align with source changes.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3987 ci: remove docker before building snap snapcraft merged Merged into main after reviewer approval and passing CI checks. The change modifies four files to remove Docker before building the snap, with no impact on overall code coverage.
70%