On Thu, Jul 11, 2024 at 5:32 AM Ales Musil <amu...@redhat.com> wrote: > > The default format "docker-archive" is just pure tar without any > compression. Use "oci-archive" instead which compresses the layers > and saves some space in the cache which translates to time save > during the upload/download. > > Signed-off-by: Ales Musil <amu...@redhat.com>
Thanks for the improvements. Applied to main. Numan > --- > .cirrus.yml | 2 +- > .github/workflows/ovn-fake-multinode-tests.yml | 2 +- > .github/workflows/test.yml | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/.cirrus.yml b/.cirrus.yml > index 0a16d7b5f..9b35d4cfb 100644 > --- a/.cirrus.yml > +++ b/.cirrus.yml > @@ -15,7 +15,7 @@ build_image_task: > build_container_script: > - cd utilities/containers > - make ubuntu > - - podman save -o /tmp/image.tar ovn-org/ovn-tests:ubuntu > + - podman save -o /tmp/image.tar --format oci-archive > ovn-org/ovn-tests:ubuntu > > upload_image_script: > - curl -s -X POST -T /tmp/image.tar > http://$CIRRUS_HTTP_CACHE_HOST/${CIRRUS_CHANGE_IN_REPO} > diff --git a/.github/workflows/ovn-fake-multinode-tests.yml > b/.github/workflows/ovn-fake-multinode-tests.yml > index 5c9030a49..b83bfce36 100644 > --- a/.github/workflows/ovn-fake-multinode-tests.yml > +++ b/.github/workflows/ovn-fake-multinode-tests.yml > @@ -60,7 +60,7 @@ jobs: > sudo -E ./ovn_cluster.sh build > mkdir -p /tmp/_output > sudo podman tag ovn/ovn-multi-node:latest ovn/ovn-multi-node:${{ > matrix.cfg.branch }} > - sudo podman save ovn/ovn-multi-node:${{ matrix.cfg.branch }} > > /tmp/_output/ovn_${{ matrix.cfg.branch }}_image.tar > + sudo podman save --format oci-archive ovn/ovn-multi-node:${{ > matrix.cfg.branch }} > /tmp/_output/ovn_${{ matrix.cfg.branch }}_image.tar > working-directory: ovn-fake-multinode > > - uses: actions/upload-artifact@v4 > diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml > index befa0bfac..0342c3dcf 100644 > --- a/.github/workflows/test.yml > +++ b/.github/workflows/test.yml > @@ -56,7 +56,7 @@ jobs: > run: podman pull ghcr.io/ovn-org/ovn-tests:${{ env.IMAGE_DISTRO }} > > - name: Export image > - run: podman save -o /tmp/image.tar ovn-org/ovn-tests:${{ > env.IMAGE_DISTRO }} > + run: podman save -o /tmp/image.tar --format oci-archive > ovn-org/ovn-tests:${{ env.IMAGE_DISTRO }} > > - name: Cache image > id: image_cache > -- > 2.45.2 > > _______________________________________________ > dev mailing list > d...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-dev > _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev