ci: no need for rocksdb cache anymore
This commit is contained in:
parent
e36b0fedf0
commit
49ad66b4bd
|
@ -25,7 +25,6 @@ jobs:
|
||||||
container: "ghcr.io/emqx/emqx-builder/5.0-8:1.13.3-24.2.1-1-ubuntu20.04"
|
container: "ghcr.io/emqx/emqx-builder/5.0-8:1.13.3-24.2.1-1-ubuntu20.04"
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
DEP_ROCKSDB_REF: ${{ steps.deps-refs.outputs.DEP_ROCKSDB_REF }}
|
|
||||||
DEP_QUICER_REF: ${{ steps.deps-refs.outputs.DEP_QUICER_REF }}
|
DEP_QUICER_REF: ${{ steps.deps-refs.outputs.DEP_QUICER_REF }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -144,11 +143,6 @@ jobs:
|
||||||
kerl build ${{ matrix.otp }}
|
kerl build ${{ matrix.otp }}
|
||||||
kerl install ${{ matrix.otp }} $HOME/.kerl/${{ 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
|
- name: load quicer cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
@ -282,13 +276,6 @@ jobs:
|
||||||
path: .
|
path: .
|
||||||
- name: unzip source code
|
- name: unzip source code
|
||||||
run: unzip -q source.zip
|
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
|
- name: load quicer cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
@ -390,13 +377,6 @@ jobs:
|
||||||
|
|
||||||
- uses: docker/setup-buildx-action@v1
|
- 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
|
- name: load quicer cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -53,13 +53,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
scripts/get-dep-refs.sh
|
scripts/get-dep-refs.sh
|
||||||
make clean-all
|
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
|
- name: load quicer cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
@ -174,11 +167,6 @@ jobs:
|
||||||
sudo cp rebar3 /usr/local/bin/rebar3
|
sudo cp rebar3 /usr/local/bin/rebar3
|
||||||
scripts/get-dep-refs.sh
|
scripts/get-dep-refs.sh
|
||||||
make clean-all
|
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
|
- name: load quicer cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -40,11 +40,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
PATH=$PATH:./ scripts/get-dep-refs.sh
|
PATH=$PATH:./ scripts/get-dep-refs.sh
|
||||||
make clean-all
|
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
|
- name: load quicer cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -73,13 +73,6 @@ jobs:
|
||||||
make ensure-rebar3
|
make ensure-rebar3
|
||||||
sudo cp rebar3 /usr/local/bin/rebar3
|
sudo cp rebar3 /usr/local/bin/rebar3
|
||||||
scripts/get-dep-refs.sh
|
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
|
- name: load quicer cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
@ -156,11 +149,6 @@ jobs:
|
||||||
make ensure-rebar3
|
make ensure-rebar3
|
||||||
sudo cp rebar3 /usr/local/bin/rebar3
|
sudo cp rebar3 /usr/local/bin/rebar3
|
||||||
scripts/get-dep-refs.sh
|
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
|
- name: load quicer cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -78,11 +78,6 @@ jobs:
|
||||||
cd emqx
|
cd emqx
|
||||||
scripts/get-dep-refs.sh
|
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
|
- name: load quicer cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -37,11 +37,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
scripts/get-dep-refs.sh
|
scripts/get-dep-refs.sh
|
||||||
make clean-all
|
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
|
- name: load quicer cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
@ -131,11 +126,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
scripts/get-dep-refs.sh
|
scripts/get-dep-refs.sh
|
||||||
make clean-all
|
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
|
- name: load quicer cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -7,5 +7,4 @@ get_ref() {
|
||||||
}
|
}
|
||||||
|
|
||||||
rebar3 get-deps
|
rebar3 get-deps
|
||||||
echo "::set-output name=DEP_ROCKSDB_REF::$(get_ref rocksdb)"
|
|
||||||
echo "::set-output name=DEP_QUICER_REF::$(get_ref quicer)"
|
echo "::set-output name=DEP_QUICER_REF::$(get_ref quicer)"
|
||||||
|
|
Loading…
Reference in New Issue