Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: required changes for multi engine release #4123

Merged
merged 4 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .github/workflows/_10_test.yml
tomjohnburton marked this conversation as resolved.
Show resolved Hide resolved
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 }}
2 changes: 1 addition & 1 deletion Cargo.lock

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

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
Loading