You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ha...@apache.org on 2026/03/14 07:43:42 UTC

(superset) branch feat/optimize-docker-save-in-ci created (now cc4b05a875f)

This is an automated email from the ASF dual-hosted git repository.

hainenber pushed a change to branch feat/optimize-docker-save-in-ci
in repository https://gitbox.apache.org/repos/asf/superset.git


      at cc4b05a875f feat(ci): use `zstd` for faster saving and loading `superset-node-ci` image

This branch includes the following new commits:

     new cc4b05a875f feat(ci): use `zstd` for faster saving and loading `superset-node-ci` image

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(superset) 01/01: feat(ci): use `zstd` for faster saving and loading `superset-node-ci` image

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hainenber pushed a commit to branch feat/optimize-docker-save-in-ci
in repository https://gitbox.apache.org/repos/asf/superset.git

commit cc4b05a875f6fbad9a2ae3a43b4ca5413bb1ef3c
Author: hainenber <do...@gmail.com>
AuthorDate: Sat Mar 14 14:43:31 2026 +0700

    feat(ci): use `zstd` for faster saving and loading `superset-node-ci` image
    
    Signed-off-by: hainenber <do...@gmail.com>
---
 .github/workflows/superset-frontend.yml | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/superset-frontend.yml b/.github/workflows/superset-frontend.yml
index db22843e30b..bb7a630ce65 100644
--- a/.github/workflows/superset-frontend.yml
+++ b/.github/workflows/superset-frontend.yml
@@ -54,14 +54,14 @@ jobs:
       - name: Save Docker Image as Artifact
         if: steps.check.outputs.frontend
         run: |
-          docker save $TAG | gzip > docker-image.tar.gz
+          docker save $TAG | zstd -1 --threads=0 > docker-image.tar.zst
 
       - name: Upload Docker Image Artifact
         if: steps.check.outputs.frontend
         uses: actions/upload-artifact@v7
         with:
           name: docker-image
-          path: docker-image.tar.gz
+          path: docker-image.tar.zst
 
   sharded-jest-tests:
     needs: frontend-build
@@ -78,7 +78,7 @@ jobs:
           name: docker-image
 
       - name: Load Docker Image
-        run: docker load < docker-image.tar.gz
+        run: zstd -1 --threads=0 < docker-image.tar.zst | docker load
 
       - name: npm run test with coverage
         run: |
@@ -148,7 +148,7 @@ jobs:
 
       - name: Load Docker Image
         run: |
-          docker load < docker-image.tar.gz
+          zstd -1 --threads=0 < docker-image.tar.zst | docker load
 
       - name: lint
         run: |
@@ -171,7 +171,8 @@ jobs:
           name: docker-image
 
       - name: Load Docker Image
-        run: docker load < docker-image.tar.gz
+        run: |
+          zstd -1 --threads=0 < docker-image.tar.zst | docker load
 
       - name: Build Plugins Packages
         run: |
@@ -189,7 +190,8 @@ jobs:
           name: docker-image
 
       - name: Load Docker Image
-        run: docker load < docker-image.tar.gz
+        run: |
+          zstd -1 --threads=0 < docker-image.tar.zst | docker load
 
       - name: Build Storybook and Run Tests
         run: |