chore: Readd registry and fluence-cli [fixes FLU-314] (#563)

* Readd registry and fluence-cli

* Remove status

* Use fluence-cli from branch

* Checkout to branch

* Test

* Update branch

* Use main
This commit is contained in:
Anatolios Laskaris 2023-04-26 15:32:10 +03:00 committed by GitHub
parent 88fd1f3095
commit 789bbe3046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,6 +119,15 @@ jobs:
with:
avm-version: "${{ needs.avm.outputs.version }}"
fluence-cli-snapshot:
name: "fluence-cli"
needs:
- js-client
uses: fluencelabs/fluence-cli/.github/workflows/snapshot.yml@main
with:
js-client-snapshots: "${{ needs.js-client.outputs.js-client-snapshots }}"
aqua-playground:
needs:
- js-client
@ -129,27 +138,22 @@ jobs:
js-client-snapshots: "${{ needs.js-client.outputs.js-client-snapshots }}"
rust-peer-image: "${{ needs.rust-peer-snapshot.outputs.rust-peer-image }}"
status:
name: "e2e status"
runs-on: ubuntu-latest
if: always()
registry:
needs:
- js-client-tests
- aqua-playground
- fluence-cli-snapshot
- rust-peer-snapshot
steps:
- uses: lwhiteley/dependent-jobs-result-check@v1
id: status
with:
statuses: failure
dependencies: ${{ toJSON(needs) }}
uses: fluencelabs/registry/.github/workflows/tests.yml@main
with:
rust-peer-image: "${{ needs.rust-peer-snapshot.outputs.rust-peer-image }}"
fluence-cli-version: "${{ needs.fluence-cli-snapshot.outputs.version }}"
- name: Log output
run: |
echo "statuses:" "${{ steps.status.outputs.statuses }}"
echo "jobs:" "${{ steps.status.outputs.jobs }}"
echo "found any?:" "${{ steps.status.outputs.found }}"
fluence-cli:
needs:
- rust-peer-snapshot
- js-client
- name: Fail run
if: fromJSON(steps.status.outputs.found)
run: exit 1
uses: fluencelabs/fluence-cli/.github/workflows/tests.yml@main
with:
rust-peer-image: "${{ needs.rust-peer-snapshot.outputs.rust-peer-image }}"
js-client-snapshots: "${{ needs.js-client.outputs.js-client-snapshots }}"