mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-03-15 07:20:49 +00:00
Revert "Remove fluence local up from CI"
This reverts commit 477a12d88968637cc74b562215094fc09c40adce.
This commit is contained in:
parent
7769a2a490
commit
da981d194d
9
.fluence/env.yaml
Normal file
9
.fluence/env.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# yaml-language-server: $schema=schemas/env.json
|
||||||
|
|
||||||
|
# Defines user project preferences
|
||||||
|
|
||||||
|
# Documentation: https://github.com/fluencelabs/cli/tree/main/docs/configs/env.md
|
||||||
|
|
||||||
|
version: 0
|
||||||
|
|
||||||
|
fluenceEnv: local
|
18
.fluence/provider-secrets.yaml
Normal file
18
.fluence/provider-secrets.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# yaml-language-server: $schema=schemas/provider-secrets.json
|
||||||
|
|
||||||
|
# Defines secrets config used for provider set up
|
||||||
|
|
||||||
|
# Documentation: https://github.com/fluencelabs/cli/tree/main/docs/configs/provider-secrets.md
|
||||||
|
|
||||||
|
version: 0
|
||||||
|
|
||||||
|
noxes:
|
||||||
|
nox-0:
|
||||||
|
networkKey: t/7R5m9TprvbWFwr2ZKe8hm6UW84ulDq4pVbDvHUCdw=
|
||||||
|
signingWallet: "0x3785b85a34b65082664bdb2ccb47fba6aab6984b7c16b36ad54145eecc368e4c"
|
||||||
|
nox-1:
|
||||||
|
networkKey: +5VkzeaILY+Emk9zsLKJ82dzzF3fMmlFkNhkJVwDMdo=
|
||||||
|
signingWallet: "0xd9a5eee84979d0cf118f82f7c97ca6980e6a21db0c7271a3d59248841ed04d83"
|
||||||
|
nox-2:
|
||||||
|
networkKey: YNq7A6KlPhdyJwq7y3meTIPUVQ34HFwW21MlsDjpxsM=
|
||||||
|
signingWallet: "0x16e3984df2918538c5dbba032f00a5ecd5900b9c43a36b38ed89b6be1820a9ba"
|
28
.fluence/schemas/env.json
Normal file
28
.fluence/schemas/env.json
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"$id": "https://fluence.dev/schemas/env.yaml",
|
||||||
|
"title": "env.yaml",
|
||||||
|
"type": "object",
|
||||||
|
"description": "Defines user project preferences",
|
||||||
|
"properties": {
|
||||||
|
"fluenceEnv": {
|
||||||
|
"title": "Fluence environment",
|
||||||
|
"description": "Fluence environment to connect to",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"dar",
|
||||||
|
"stage",
|
||||||
|
"local",
|
||||||
|
"custom"
|
||||||
|
],
|
||||||
|
"nullable": true
|
||||||
|
},
|
||||||
|
"version": {
|
||||||
|
"type": "integer",
|
||||||
|
"const": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"version"
|
||||||
|
],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
129
.github/docker-compose.yaml
vendored
129
.github/docker-compose.yaml
vendored
@ -1,129 +0,0 @@
|
|||||||
# yaml-language-server: $schema=schemas/docker-compose.json
|
|
||||||
|
|
||||||
# The Compose file is a YAML file defining a multi-containers based application.
|
|
||||||
|
|
||||||
# Documentation: https://github.com/fluencelabs/cli/tree/main/docs/configs/docker-compose.md
|
|
||||||
|
|
||||||
version: "3"
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
ipfs: null
|
|
||||||
nox-0: null
|
|
||||||
nox-1: null
|
|
||||||
nox-2: null
|
|
||||||
|
|
||||||
secrets:
|
|
||||||
nox-0:
|
|
||||||
file: secrets/nox-0.txt
|
|
||||||
nox-1:
|
|
||||||
file: secrets/nox-1.txt
|
|
||||||
nox-2:
|
|
||||||
file: secrets/nox-2.txt
|
|
||||||
|
|
||||||
services:
|
|
||||||
ipfs:
|
|
||||||
image: ipfs/kubo
|
|
||||||
ports:
|
|
||||||
- 5001:5001
|
|
||||||
- 4001:4001
|
|
||||||
environment:
|
|
||||||
IPFS_PROFILE: server
|
|
||||||
volumes:
|
|
||||||
- ipfs:/data/ipfs
|
|
||||||
healthcheck:
|
|
||||||
test: ipfs id || exit 1
|
|
||||||
interval: 8s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 20
|
|
||||||
nox-0:
|
|
||||||
image: docker.fluence.dev/nox:feat-vm-425-aquavm-mem-limits-from-config-2_5056_1
|
|
||||||
ports:
|
|
||||||
- 7771:7771
|
|
||||||
- 9991:9991
|
|
||||||
environment:
|
|
||||||
WASM_LOG: debug
|
|
||||||
FLUENCE_MAX_SPELL_PARTICLE_TTL: 9s
|
|
||||||
FLUENCE_ROOT_KEY_PAIR__PATH: /run/secrets/nox-0
|
|
||||||
RUST_LOG: chain_connector=debug,run-console=trace,aquamarine::log=debug,network=trace,worker_inactive=trace
|
|
||||||
command:
|
|
||||||
- --config=/run/configs/nox-0_Config.toml
|
|
||||||
- --dev-mode
|
|
||||||
- --external-maddrs
|
|
||||||
- /dns4/nox-0/tcp/7771
|
|
||||||
- /dns4/nox-0/tcp/9991/ws
|
|
||||||
- --allow-private-ips
|
|
||||||
- --local
|
|
||||||
depends_on:
|
|
||||||
ipfs:
|
|
||||||
condition: service_healthy
|
|
||||||
volumes:
|
|
||||||
- ./configs/nox-0_Config.toml:/run/configs/nox-0_Config.toml
|
|
||||||
- nox-0:/.fluence
|
|
||||||
secrets:
|
|
||||||
- nox-0
|
|
||||||
healthcheck:
|
|
||||||
test: curl -f http://localhost:18080/health
|
|
||||||
interval: 5s
|
|
||||||
timeout: 2s
|
|
||||||
retries: 10
|
|
||||||
nox-1:
|
|
||||||
image: docker.fluence.dev/nox:feat-vm-425-aquavm-mem-limits-from-config-2_5056_1
|
|
||||||
ports:
|
|
||||||
- 7772:7772
|
|
||||||
- 9992:9992
|
|
||||||
environment:
|
|
||||||
WASM_LOG: debug
|
|
||||||
FLUENCE_MAX_SPELL_PARTICLE_TTL: 9s
|
|
||||||
FLUENCE_ROOT_KEY_PAIR__PATH: /run/secrets/nox-1
|
|
||||||
RUST_LOG: chain_connector=debug,run-console=trace,aquamarine::log=debug,network=trace,worker_inactive=trace
|
|
||||||
command:
|
|
||||||
- --config=/run/configs/nox-1_Config.toml
|
|
||||||
- --external-maddrs
|
|
||||||
- /dns4/nox-1/tcp/7772
|
|
||||||
- /dns4/nox-1/tcp/9992/ws
|
|
||||||
- --allow-private-ips
|
|
||||||
- --bootstraps=/dns/nox-0/tcp/7771
|
|
||||||
depends_on:
|
|
||||||
ipfs:
|
|
||||||
condition: service_healthy
|
|
||||||
volumes:
|
|
||||||
- ./configs/nox-1_Config.toml:/run/configs/nox-1_Config.toml
|
|
||||||
- nox-1:/.fluence
|
|
||||||
secrets:
|
|
||||||
- nox-1
|
|
||||||
healthcheck:
|
|
||||||
test: curl -f http://localhost:18080/health
|
|
||||||
interval: 5s
|
|
||||||
timeout: 2s
|
|
||||||
retries: 10
|
|
||||||
nox-2:
|
|
||||||
image: docker.fluence.dev/nox:feat-vm-425-aquavm-mem-limits-from-config-2_5056_1
|
|
||||||
ports:
|
|
||||||
- 7773:7773
|
|
||||||
- 9993:9993
|
|
||||||
environment:
|
|
||||||
WASM_LOG: debug
|
|
||||||
FLUENCE_MAX_SPELL_PARTICLE_TTL: 9s
|
|
||||||
FLUENCE_ROOT_KEY_PAIR__PATH: /run/secrets/nox-2
|
|
||||||
RUST_LOG: chain_connector=debug,run-console=trace,aquamarine::log=debug,network=trace,worker_inactive=trace
|
|
||||||
command:
|
|
||||||
- --config=/run/configs/nox-2_Config.toml
|
|
||||||
- --dev-mode
|
|
||||||
- --external-maddrs
|
|
||||||
- /dns4/nox-2/tcp/7773
|
|
||||||
- /dns4/nox-2/tcp/9993/ws
|
|
||||||
- --allow-private-ips
|
|
||||||
- --bootstraps=/dns/nox-0/tcp/7771
|
|
||||||
depends_on:
|
|
||||||
ipfs:
|
|
||||||
condition: service_healthy
|
|
||||||
volumes:
|
|
||||||
- ./configs/nox-2_Config.toml:/run/configs/nox-2_Config.toml
|
|
||||||
- nox-2:/.fluence
|
|
||||||
secrets:
|
|
||||||
- nox-2
|
|
||||||
healthcheck:
|
|
||||||
test: curl -f http://localhost:18080/health
|
|
||||||
interval: 5s
|
|
||||||
timeout: 2s
|
|
||||||
retries: 10
|
|
1
.github/secrets/nox-0.txt
vendored
1
.github/secrets/nox-0.txt
vendored
@ -1 +0,0 @@
|
|||||||
t/7R5m9TprvbWFwr2ZKe8hm6UW84ulDq4pVbDvHUCdw=
|
|
1
.github/secrets/nox-1.txt
vendored
1
.github/secrets/nox-1.txt
vendored
@ -1 +0,0 @@
|
|||||||
+5VkzeaILY+Emk9zsLKJ82dzzF3fMmlFkNhkJVwDMdo=
|
|
1
.github/secrets/nox-2.txt
vendored
1
.github/secrets/nox-2.txt
vendored
@ -1 +0,0 @@
|
|||||||
YNq7A6KlPhdyJwq7y3meTIPUVQ34HFwW21MlsDjpxsM=
|
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -80,7 +80,9 @@ jobs:
|
|||||||
run: fluence local init --no-input
|
run: fluence local init --no-input
|
||||||
|
|
||||||
- name: Run nox network
|
- name: Run nox network
|
||||||
run: docker compose -f .github/docker-compose.yaml up -d
|
run: fluence local up
|
||||||
|
env:
|
||||||
|
FCLI_V_NOX: docker.fluence.dev/nox:feat-vm-425-aquavm-mem-limits-from-config-2_5056_1
|
||||||
|
|
||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
uses: pnpm/action-setup@v2.2.4
|
uses: pnpm/action-setup@v2.2.4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user