Skip to content

Commit

Permalink
feat: required changes for multi engine release (#4123)
Browse files Browse the repository at this point in the history
Co-authored-by: dandanlen <3168260+dandanlen@users.noreply.github.com>
Co-authored-by: Daniel <daniel@chainflip.io>
  • Loading branch information
3 people authored Oct 18, 2023
1 parent 5de7beb commit 8c7d520
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 160 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/_10_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,25 +59,3 @@ jobs:
token: ${{ secrets.CF_BACKEND_CODECOV_TOKEN }} # not required for public repos
files: lcov.info
fail_ci_if_error: false

test-preinst-scripts:
runs-on: ubuntu-latest
strategy:
matrix:
tests_path:
- state-chain/node/package/preinst-tests
- engine/package/preinst-tests
steps:
- name: Checkout 🏁
uses: actions/checkout@v3

- name: Install bats 🦇
run: |
sudo apt-get update
sudo apt-get install -y bats
- name: Test 🧪
shell: bash
run: |
bats tests/test_preinst.bats
working-directory: ${{ matrix.tests_path }}
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/bin/chainflip-broker-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["Chainflip team <https://github.com/chainflip-io>"]
name = "chainflip-broker-api"
version = "0.9.0"
version = "0.10.0"
edition = "2021"

[package.metadata.deb]
Expand Down
2 changes: 1 addition & 1 deletion api/bin/chainflip-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ["Chainflip team <https://github.com/chainflip-io>"]
edition = '2021'
build = 'build.rs'
name = "chainflip-cli"
version = "0.9.0"
version = "0.10.0"

[dependencies]
anyhow = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion api/bin/chainflip-lp-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["Chainflip team <https://github.com/chainflip-io>"]
name = "chainflip-lp-api"
version = "0.9.0"
version = "0.10.0"
edition = "2021"

[package.metadata.deb]
Expand Down
9 changes: 4 additions & 5 deletions engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,21 @@ authors = ["Chainflip team <https://github.com/chainflip-io>"]
build = 'build.rs'
edition = '2021'
name = "chainflip-engine"
version = '0.9.0'
version = '0.10.0'

[package.metadata.deb]
depends = "$auto, systemd"
extended-description = """\
Chainflip Validator Engine Package"""
maintainer = "Chainflip Labs GmbH <dev@chainflip.io>"
maintainer-scripts = "package/"
name = "chainflip-engine"
name = "chainflip-engine0.10"
priority = "required"
section = "rust"
systemd-units = [
{ unit-name = "chainflip-engine", enable = false },
{ unit-name = "chainflip-engine-lsr", enable = false }
{ unit-name = "chainflip-engine0.10", enable = false },
]
assets = [["target/release/chainflip-engine", "usr/bin/chainflip-engine-lsr", "755"]]
assets = [["target/release/chainflip-engine", "usr/bin/chainflip-engine0.10", "755"]]

[package.metadata.deb.variants.development]
maintainer-scripts = "package/development"
Expand Down
16 changes: 0 additions & 16 deletions engine/package/perseverance/chainflip-engine-lsr.service

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Restart=always
RestartSec=30
Type=simple

ExecStart=/usr/bin/chainflip-engine --config-root /etc/chainflip/
ExecStart=/usr/bin/chainflip-engine0.10 --config-root /etc/chainflip/
Environment=RUST_LOG="chainflip_engine=debug,multisig=debug,warn,chainflip_engine::p2p=error"
LimitNOFILE=16000
LimitNOFILESoft=16000
Expand Down
88 changes: 0 additions & 88 deletions engine/package/perseverance/preinst

This file was deleted.

16 changes: 0 additions & 16 deletions engine/package/sisyphos/chainflip-engine-lsr.service

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Restart=always
RestartSec=30
Type=simple

ExecStart=/usr/bin/chainflip-engine --config-root /etc/chainflip/
ExecStart=/usr/bin/chainflip-engine0.10 --config-root /etc/chainflip/

LimitNOFILE=16000
LimitNOFILESoft=16000
Expand Down
2 changes: 1 addition & 1 deletion state-chain/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = '<TODO>'
name = 'chainflip-node'
publish = false
repository = 'https://github.com/chainflip-io/chainflip-backend'
version = '0.9.0'
version = '0.10.0'

[[bin]]
name = 'chainflip-node'
Expand Down
2 changes: 1 addition & 1 deletion state-chain/runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = 'state-chain-runtime'
version = '0.9.0'
version = '0.10.0'
authors = ['Chainflip Team <https://github.com/chainflip-io>']
edition = '2021'
homepage = 'https://chainflip.io'
Expand Down

0 comments on commit 8c7d520

Please sign in to comment.