coreos / coreos-ci

CoreOS CI powers upstream testing for CoreOS projects.
https://jenkins-coreos-ci.apps.ocp.ci.centos.org/
6 stars 10 forks source link

Various improvements to make CoreOS CI less greedy #22

Closed jlebon closed 3 years ago

jlebon commented 3 years ago
commit e15325f8d609399cbfa98301a4828433fef868c7
Date:   Tue Dec 15 20:21:38 2020 -0500

    HACKING.md: fix path to jenkins-s2i.yaml build

commit 295bdffb2ac54c3ec949155bb7410f62f6f24154
Date:   Tue Dec 15 17:37:48 2020 -0500

    jenkins/config: cap max number of pods to 15

    This ensures that we never tax the cluster too hard, which seems to have
    repercussions on other projects like the Fedora CoreOS pipeline.

    Went with 15 for now, we can see how it goes and adapt it up or down in
    the future.

commit 69a720fd0b52ffc95a25e09746c48aa68f0ea716
Date:   Wed Dec 16 10:50:28 2020 -0500

    github-ci: don't rebuild all PRs when base branch changes

    Otherwise, we'll be spamming the cluster too much each time a PR merges.
    This obviously exposes us to "semantic conflicts" (see
    https://bors.tech/essay/2017/02/02/pitch/) again. Fixing this properly
    would require tighter integration in Prow (for projects which use Prow)
    or at least triggering on the same comments.
jlebon commented 3 years ago

Requires: https://github.com/coreos/fedora-coreos-pipeline/pull/301

jlebon commented 3 years ago

As part of the redeployment for this, we'll also be moving it back to NFS, which should allow CoreOS CI to stop having to mass-rebuild everything anytime Jenkins is rescheduled.