]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-dev-pipeline: Build the builder less often
authorZack Cerza <zack@cerza.org>
Mon, 21 Apr 2025 17:52:38 +0000 (11:52 -0600)
committerZack Cerza <zack@cerza.org>
Wed, 7 May 2025 23:28:45 +0000 (17:28 -0600)
commit897952bef8f3b6fff847f9f9d265a81fc9e04729
treee16c39253bafc31c5babcc814f71d15550789c40
parenta9012d9a3bf519599d2d69a0aa2df47fe200c80b
ceph-dev-pipeline: Build the builder less often

To build the builder image less often, we can:

1. When building, use two tags: branch.os.arch, and sha1.branch.os.arch
2. After building, push both tags
3. Before building, pull both tags

As a result, we can avoid building entirely if that exact image has already been
pushed, and avoid building at least some layers if the branch had been built
somewhat recently.

Signed-off-by: Zack Cerza <zack@cerza.org>
ceph-dev-pipeline/build/Jenkinsfile