From 34ac1211d1757c2941cd60145b6b831f4571fb81 Mon Sep 17 00:00:00 2001 From: Konstantin Astakhov Date: Mon, 9 Dec 2024 16:30:33 +0700 Subject: [PATCH] set codeRetentionPeriod for CI --- .baedeker/just-tests.jsonnet | 8 ++++---- .baedeker/main-process.jsonnet | 9 +++++---- .github/workflows/just-tests-without-update.yml | 2 +- .github/workflows/main-process-update.yml | 1 + 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.baedeker/just-tests.jsonnet b/.baedeker/just-tests.jsonnet index b68c74dbcd..a151540dd3 100644 --- a/.baedeker/just-tests.jsonnet +++ b/.baedeker/just-tests.jsonnet @@ -25,8 +25,8 @@ local relay = { }, scheduling_lookahead:5, max_validators_per_core:1, - minimum_backing_votes:2, - needed_approvals:2, + minimum_backing_votes:1, + needed_approvals:1, on_demand_cores:5, validation_upgrade_cooldown:400, validation_upgrade_delay:200, @@ -45,7 +45,7 @@ local relay = { wantedKeys: 'relay', expectedDataPath: '/parity', }, - for name in ['alice', 'bob', 'charlie', 'dave', 'eve'] + for name in ['alice', 'bob', 'charlie', 'dave', 'eve', 'ferdie'] }, }; @@ -58,7 +58,7 @@ local unique = { m.genericPara($), m.simplifyGenesisName(), { - _code: cql.toHex(importbin '../runtime.compact.compressed.wasm'), + _code: cql.toHex(importbin 'runtime.compact.compressed.wasm'), }, m.unsimplifyGenesisName(), ]), diff --git a/.baedeker/main-process.jsonnet b/.baedeker/main-process.jsonnet index 9ee5c0bae9..186e54551f 100644 --- a/.baedeker/main-process.jsonnet +++ b/.baedeker/main-process.jsonnet @@ -25,12 +25,13 @@ local relay = { }, scheduling_lookahead:5, max_validators_per_core:1, - minimum_backing_votes:2, - needed_approvals:2, + minimum_backing_votes:1, + needed_approvals:1, on_demand_cores:5, validation_upgrade_cooldown:400, validation_upgrade_delay:200, - minimum_validation_upgrade_delay:10, + minimum_validation_upgrade_delay:15, + codeRetentionPeriod: 1200, }, }, }, @@ -45,7 +46,7 @@ local relay = { wantedKeys: 'relay', expectedDataPath: '/parity', }, - for name in ['alice', 'bob', 'charlie', 'dave', 'eve'] + for name in ['alice', 'bob', 'charlie', 'dave', 'eve', 'ferdie'] }, }; diff --git a/.github/workflows/just-tests-without-update.yml b/.github/workflows/just-tests-without-update.yml index f7f0715ee3..c9c2487524 100644 --- a/.github/workflows/just-tests-without-update.yml +++ b/.github/workflows/just-tests-without-update.yml @@ -46,7 +46,7 @@ jobs: timeout-minutes: 1380 - name: ${{ matrix.network }}-update + name: ${{ matrix.network }}-tests continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false. diff --git a/.github/workflows/main-process-update.yml b/.github/workflows/main-process-update.yml index 202fdcedd7..9707c6ad2d 100644 --- a/.github/workflows/main-process-update.yml +++ b/.github/workflows/main-process-update.yml @@ -165,6 +165,7 @@ jobs: .baedeker/vendor input-modules: | lib:baedeker-library/ops/nginx-dev.libsonnet + lib:baedeker-library/ops/devtools.libsonnet tla-str: | relay_spec=${{ env.RELAY_CHAIN_TYPE }}-local forked_spec=${{ matrix.network }}