mirror of
https://github.com/fluencelabs/aqua-ipfs
synced 2025-04-24 15:32:15 +00:00
73 lines
1.6 KiB
YAML
73 lines
1.6 KiB
YAML
name: "e2e"
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- "**.md"
|
|
- ".github/**"
|
|
- "!.github/workflows/e2e.yml"
|
|
- "!.github/workflows/snapshot.yml"
|
|
types:
|
|
- "labeled"
|
|
- "synchronize"
|
|
- "opened"
|
|
- "reopened"
|
|
push:
|
|
branches:
|
|
- "main"
|
|
paths-ignore:
|
|
- "**.md"
|
|
- ".github/**"
|
|
- "!.github/workflows/e2e.yml"
|
|
- "!.github/workflows/snapshot.yml"
|
|
|
|
concurrency:
|
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
snapshot:
|
|
if: >
|
|
github.event_name == 'push' ||
|
|
contains(github.event.pull_request.labels.*.name, 'e2e')
|
|
name: "aqua-ipfs"
|
|
uses: ./.github/workflows/snapshot.yml
|
|
with:
|
|
ref: ${{ github.ref }}
|
|
|
|
nox:
|
|
needs:
|
|
- snapshot
|
|
uses: fluencelabs/nox/.github/workflows/build.yml@master
|
|
with:
|
|
ref: new-vault
|
|
cargo-dependencies: |
|
|
[
|
|
{
|
|
"package": "aqua-ipfs-distro",
|
|
"version": "=${{ needs.snapshot.outputs.cargo-version }}",
|
|
"manifest": "crates/system-services/Cargo.toml",
|
|
"registry": "fluence"
|
|
}
|
|
]
|
|
|
|
nox-snapshot:
|
|
name: "nox"
|
|
needs:
|
|
- nox
|
|
|
|
uses: fluencelabs/nox/.github/workflows/container.yml@master
|
|
with:
|
|
image-name: "docker.fluence.dev/aqua-ipfs"
|
|
flavour: "minimal"
|
|
nox-sha: "${{ needs.nox.outputs.nox-sha }}"
|
|
|
|
aqua-ipfs-tests:
|
|
name: "aqua-ipfs"
|
|
needs:
|
|
- nox-snapshot
|
|
uses: ./.github/workflows/tests.yml
|
|
with:
|
|
ref: ${{ github.ref }}
|
|
nox-image: "${{ needs.nox-snapshot.outputs.nox-image }}"
|