mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-03-15 06:20:50 +00:00
chore: Fix e2e (#31)
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
This commit is contained in:
parent
4ae55d4042
commit
4fdfac1e03
19
.github/workflows/e2e.yml
vendored
19
.github/workflows/e2e.yml
vendored
@ -49,11 +49,11 @@ jobs:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
rust-peer:
|
nox:
|
||||||
needs:
|
needs:
|
||||||
- spell
|
- spell
|
||||||
|
|
||||||
uses: fluencelabs/rust-peer/.github/workflows/build.yml@master
|
uses: fluencelabs/nox/.github/workflows/build.yml@master
|
||||||
with:
|
with:
|
||||||
cargo-dependencies: |
|
cargo-dependencies: |
|
||||||
[
|
[
|
||||||
@ -69,31 +69,30 @@ jobs:
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
rust-peer-snapshot:
|
nox-snapshot:
|
||||||
needs:
|
needs:
|
||||||
- rust-peer
|
- nox
|
||||||
|
|
||||||
uses: fluencelabs/rust-peer/.github/workflows/container.yml@master
|
uses: fluencelabs/nox/.github/workflows/container.yml@master
|
||||||
with:
|
with:
|
||||||
image-name: "docker.fluence.dev/sqlite-wasm-connector"
|
image-name: "docker.fluence.dev/sqlite-wasm-connector"
|
||||||
flavour: "minimal"
|
flavour: "minimal"
|
||||||
rust-peer-sha: "${{ needs.rust-peer.outputs.rust-peer-sha }}"
|
|
||||||
|
|
||||||
spell-aqua-tests:
|
spell-aqua-tests:
|
||||||
name: "spell"
|
name: "spell"
|
||||||
needs:
|
needs:
|
||||||
- rust-peer-snapshot
|
- nox-snapshot
|
||||||
uses: fluencelabs/spell/.github/workflows/tests.yml@main
|
uses: fluencelabs/spell/.github/workflows/tests.yml@main
|
||||||
with:
|
with:
|
||||||
rust-peer-image: "${{ needs.rust-peer-snapshot.outputs.rust-peer-image }}"
|
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
|
||||||
|
|
||||||
registry:
|
registry:
|
||||||
needs:
|
needs:
|
||||||
- rust-peer-snapshot
|
- nox-snapshot
|
||||||
- snapshot
|
- snapshot
|
||||||
uses: fluencelabs/registry/.github/workflows/tests.yml@main
|
uses: fluencelabs/registry/.github/workflows/tests.yml@main
|
||||||
with:
|
with:
|
||||||
rust-peer-image: "${{ needs.rust-peer-snapshot.outputs.rust-peer-image }}"
|
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
|
||||||
cargo-dependencies: |
|
cargo-dependencies: |
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
13
.github/workflows/snapshot.yml
vendored
13
.github/workflows/snapshot.yml
vendored
@ -15,7 +15,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
snapshot:
|
snapshot:
|
||||||
name: "Publish snapshot"
|
name: "Publish snapshot"
|
||||||
runs-on: ubuntu-latest
|
runs-on: builder
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
@ -46,7 +46,16 @@ jobs:
|
|||||||
kv/cargo-registry/users/ci token | CARGO_REGISTRIES_FLUENCE_TOKEN
|
kv/cargo-registry/users/ci token | CARGO_REGISTRIES_FLUENCE_TOKEN
|
||||||
|
|
||||||
- name: Setup Rust toolchain
|
- name: Setup Rust toolchain
|
||||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
uses: dsherret/rust-toolchain-file@v1
|
||||||
|
|
||||||
|
- name: Setup cache
|
||||||
|
uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
shared-key: sqlite-wasm-connector
|
||||||
|
# github allows only 10GB of cache
|
||||||
|
# so save cache only on merge to master
|
||||||
|
# to use less space and speed up CI
|
||||||
|
save-if: ${{ github.event_name == 'push' }}
|
||||||
|
|
||||||
- name: Download marine artifact
|
- name: Download marine artifact
|
||||||
id: marine
|
id: marine
|
||||||
|
Loading…
x
Reference in New Issue
Block a user