Anatolios Laskaris 734952d762
chore: Renaming things (#615)
* Migrate aqua-playground to aqua repo

* Rename rust-peer to nox, fluence-cli to flox

* Update

* Fix

* Fix
2023-07-10 09:41:32 +03:00

161 lines
4.1 KiB
YAML

name: "e2e"
on:
pull_request:
paths-ignore:
- "**.md"
- ".github/**"
- "!.github/workflows/e2e.yml"
- "!.github/workflows/e2e-label.yml"
- "!.github/workflows/snapshot.yml"
types:
- "labeled"
- "synchronize"
- "opened"
- "reopened"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
air-interpreter-wasm:
name: "aquavm"
if: github.event.pull_request.head.repo.fork != true && contains(github.event.pull_request.labels.*.name, 'e2e')
uses: ./.github/workflows/snapshot-air-interpreter-wasm.yml
with:
ref: ${{ github.ref }}
air-beautify-wasm:
name: "aquavm"
if: github.event.pull_request.head.repo.fork != true && contains(github.event.pull_request.labels.*.name, 'e2e')
uses: ./.github/workflows/snapshot-air-beautify-wasm.yml
with:
ref: ${{ github.ref }}
avm:
name: "aquavm"
if: github.event.pull_request.head.repo.fork != true && contains(github.event.pull_request.labels.*.name, 'e2e')
needs: air-interpreter-wasm
uses: ./.github/workflows/snapshot-avm.yml
with:
ref: ${{ github.ref }}
cargo:
name: "aquavm"
if: github.event.pull_request.head.repo.fork != true && contains(github.event.pull_request.labels.*.name, 'e2e')
needs: air-interpreter-wasm
uses: ./.github/workflows/snapshot-cargo.yml
with:
ref: ${{ github.ref }}
nox:
needs:
- cargo
uses: fluencelabs/nox/.github/workflows/build.yml@master
with:
cargo-dependencies: |
[
{
"package": "avm-server",
"version": "=${{ needs.cargo.outputs.version }}",
"registry": "fluence"
},
{
"package": "air-interpreter-wasm",
"version": "=${{ needs.cargo.outputs.version }}",
"registry": "fluence"
}
]
nox-snapshot:
name: "nox"
needs:
- nox
uses: fluencelabs/nox/.github/workflows/container.yml@master
with:
image-name: "docker.fluence.dev/aquavm"
flavour: "minimal"
nox-sha: "${{ needs.nox.outputs.rust-peer-sha }}"
nox-tests:
name: "nox"
needs:
- cargo
uses: fluencelabs/nox/.github/workflows/tests.yml@master
with:
cargo-dependencies: |
[
{
"package": "avm-server",
"version": "=${{ needs.cargo.outputs.version }}",
"registry": "fluence"
},
{
"package": "air-interpreter-wasm",
"version": "=${{ needs.cargo.outputs.version }}",
"registry": "fluence"
}
]
js-client-tests:
name: "js-client"
needs:
- avm
- nox-snapshot
uses: fluencelabs/js-client/.github/workflows/tests.yml@master
with:
avm-version: "${{ needs.avm.outputs.version }}"
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
js-client:
needs:
- avm
uses: fluencelabs/js-client/.github/workflows/snapshot.yml@master
with:
avm-version: "${{ needs.avm.outputs.version }}"
flox-snapshot:
name: "flox"
needs:
- js-client
uses: fluencelabs/flox/.github/workflows/snapshot.yml@main
with:
js-client-snapshots: "${{ needs.js-client.outputs.js-client-snapshots }}"
aqua:
needs:
- js-client
- nox-snapshot
uses: fluencelabs/aqua/.github/workflows/tests.yml@main
with:
js-client-snapshots: "${{ needs.js-client.outputs.js-client-snapshots }}"
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
registry:
needs:
- flox-snapshot
- nox-snapshot
uses: fluencelabs/registry/.github/workflows/tests.yml@main
with:
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
flox-version: "${{ needs.flox-snapshot.outputs.version }}"
flox:
needs:
- nox-snapshot
- js-client
uses: fluencelabs/flox/.github/workflows/tests.yml@main
with:
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
js-client-snapshots: "${{ needs.js-client.outputs.js-client-snapshots }}"