Просмотр исходного кода

ci: no need for rocksdb cache anymore

Zaiming (Stone) Shi 4 лет назад
Родитель
Сommit
49ad66b4bd

+ 0 - 20
.github/workflows/build_packages.yaml

@@ -25,7 +25,6 @@ jobs:
     container: "ghcr.io/emqx/emqx-builder/5.0-8:1.13.3-24.2.1-1-ubuntu20.04"
 
     outputs:
-      DEP_ROCKSDB_REF: ${{ steps.deps-refs.outputs.DEP_ROCKSDB_REF }}
       DEP_QUICER_REF: ${{ steps.deps-refs.outputs.DEP_QUICER_REF }}
 
     steps:
@@ -144,11 +143,6 @@ jobs:
         kerl build ${{ matrix.otp }}
         kerl install ${{ matrix.otp }} $HOME/.kerl/${{ matrix.otp }}
 
-    - name: load rocksdb cache
-      uses: actions/cache@v2
-      with:
-        path: source/_build/default/lib/rocksdb/
-        key: ${{ matrix.os }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ needs.prepare.outputs.DEP_ROCKSDB_REF }}
     - name: load quicer cache
       uses: actions/cache@v2
       with:
@@ -282,13 +276,6 @@ jobs:
         path: .
     - name: unzip source code
       run: unzip -q source.zip
-    - name: load rocksdb cache
-      uses: actions/cache@v2
-      with:
-        path: |
-          source/_build/default/lib/rocksdb/
-          source/deps/rocksdb/
-        key: ${{ matrix.os }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ needs.prepare.outputs.DEP_ROCKSDB_REF }}
     - name: load quicer cache
       uses: actions/cache@v2
       with:
@@ -390,13 +377,6 @@ jobs:
 
     - uses: docker/setup-buildx-action@v1
 
-    - name: load rocksdb cache
-      uses: actions/cache@v2
-      with:
-        path: |
-          source/_build/default/lib/rocksdb/
-          source/deps/rocksdb//
-        key: ${{ matrix.os }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ needs.prepare.outputs.DEP_ROCKSDB_REF }}
     - name: load quicer cache
       uses: actions/cache@v2
       with:

+ 0 - 12
.github/workflows/build_slim_packages.yaml

@@ -53,13 +53,6 @@ jobs:
       run: |
         scripts/get-dep-refs.sh
         make clean-all
-    - name: load rocksdb cache
-      uses: actions/cache@v2
-      with:
-        path: |
-          _build/default/lib/rocksdb/
-          deps/rocksdb/
-        key: ${{ matrix.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-amd64-${{ steps.deps-refs.outputs.DEP_ROCKSDB_REF }}
     - name: load quicer cache
       uses: actions/cache@v2
       with:
@@ -174,11 +167,6 @@ jobs:
         sudo cp rebar3 /usr/local/bin/rebar3
         scripts/get-dep-refs.sh
         make clean-all
-    - name: load rocksdb cache
-      uses: actions/cache@v2
-      with:
-        path: _build/default/lib/rocksdb/
-        key: ${{ matrix.macos }}-${{ matrix.otp }}-macos-${{ steps.deps-refs.outputs.DEP_ROCKSDB_REF }}
     - name: load quicer cache
       uses: actions/cache@v2
       with:

+ 0 - 5
.github/workflows/run_emqx_app_tests.yaml

@@ -40,11 +40,6 @@ jobs:
       run: |
         PATH=$PATH:./ scripts/get-dep-refs.sh
         make clean-all
-    - name: load rocksdb cache
-      uses: actions/cache@v2
-      with:
-        path: _build/default/lib/rocksdb/
-        key: ${{ matrix.os }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ steps.deps-refs.outputs.DEP_ROCKSDB_REF }}
     - name: load quicer cache
       uses: actions/cache@v2
       with:

+ 0 - 12
.github/workflows/run_fvt_tests.yaml

@@ -73,13 +73,6 @@ jobs:
         make ensure-rebar3
         sudo cp rebar3 /usr/local/bin/rebar3
         scripts/get-dep-refs.sh
-    - name: load rocksdb cache
-      uses: actions/cache@v2
-      with:
-        path: |
-          source/_build/default/lib/rocksdb/
-          source/deps/rocksdb/
-        key: ${{ matrix.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ steps.deps-refs.outputs.DEP_ROCKSDB_REF }}
     - name: load quicer cache
       uses: actions/cache@v2
       with:
@@ -156,11 +149,6 @@ jobs:
         make ensure-rebar3
         sudo cp rebar3 /usr/local/bin/rebar3
         scripts/get-dep-refs.sh
-    - name: load rocksdb cache
-      uses: actions/cache@v2
-      with:
-        path: source/_build/default/lib/rocksdb/
-        key: ${{ matrix.os }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ steps.deps-refs.outputs.DEP_ROCKSDB_REF }}
     - name: load quicer cache
       uses: actions/cache@v2
       with:

+ 0 - 5
.github/workflows/run_relup_tests.yaml

@@ -78,11 +78,6 @@ jobs:
         cd emqx
         scripts/get-dep-refs.sh
 
-    - name: load rocksdb cache
-      uses: actions/cache@v2
-      with:
-        path: emqx/_build/default/lib/rocksdb/
-        key: ${{ matrix.os }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ steps.deps-refs.outputs.DEP_ROCKSDB_REF }}
     - name: load quicer cache
       uses: actions/cache@v2
       with:

+ 0 - 10
.github/workflows/run_test_cases.yaml

@@ -37,11 +37,6 @@ jobs:
           run: |
             scripts/get-dep-refs.sh
             make clean-all
-        - name: load rocksdb cache
-          uses: actions/cache@v2
-          with:
-            path: source/_build/default/lib/rocksdb/
-            key: ${{ matrix.os }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ steps.deps-refs.outputs.DEP_ROCKSDB_REF }}
         - name: load quicer cache
           uses: actions/cache@v2
           with:
@@ -131,11 +126,6 @@ jobs:
         run: |
           scripts/get-dep-refs.sh
           make clean-all
-      - name: load rocksdb cache
-        uses: actions/cache@v2
-        with:
-          path: source/_build/default/lib/rocksdb/
-          key: ${{ matrix.os }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ steps.deps-refs.outputs.DEP_ROCKSDB_REF }}
       - name: load quicer cache
         uses: actions/cache@v2
         with:

+ 0 - 1
scripts/get-dep-refs.sh

@@ -7,5 +7,4 @@ get_ref() {
 }
 
 rebar3 get-deps
-echo "::set-output name=DEP_ROCKSDB_REF::$(get_ref rocksdb)"
 echo "::set-output name=DEP_QUICER_REF::$(get_ref quicer)"