Skip to content

Commit e8b4c80

Browse files
committed
Rewrite RocksDB Ledger Tar test job to run on Raw ubuntu:noble
1 parent e8db7ba commit e8b4c80

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

buildkite/src/Jobs/Test/RocksDBLedgerTarCompatibilityTest.dhall

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,18 @@ let Command = ../../Command/Base.dhall
1010

1111
let Size = ../../Command/Size.dhall
1212

13-
let RunInToolchain = ../../Command/RunInToolchain.dhall
13+
let Cmd = ../../Lib/Cmds.dhall
1414

15-
let key = "test"
15+
let Docker = ../../Command/Docker/Type.dhall
16+
17+
let commands =
18+
[ Cmd.run
19+
"apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --quiet --yes python3 python3-pip build-essential sudo curl"
20+
, Cmd.run "./scripts/rocksdb-compatibility/install-rocksdb.sh"
21+
, Cmd.run
22+
"pip3 install --break-system-packages -r ./scripts/rocksdb-compatibility/requirements.txt"
23+
, Cmd.run "python3 ./scripts/rocksdb-compatibility/test.py"
24+
]
1625

1726
in Pipeline.build
1827
Pipeline.Config::{
@@ -26,24 +35,19 @@ in Pipeline.build
2635
, path = "Test"
2736
, name = "RocksDBLedgerTarCompatibilityTest"
2837
, tags =
29-
[ PipelineTag.Type.Long
38+
[ PipelineTag.Type.Fast
3039
, PipelineTag.Type.Test
3140
, PipelineTag.Type.Stable
3241
]
3342
}
3443
, steps =
3544
[ Command.build
3645
Command.Config::{
37-
, commands =
38-
RunInToolchain.runInToolchain
39-
([] : List Text)
40-
( "./scripts/rocksdb-compatibility/install-rocksdb.sh"
41-
++ " && pip install -r ./scripts/rocksdb-compatibility/requirements.txt"
42-
++ " && python3 ./scripts/rocksdb-compatibility/rocksdb.py"
43-
)
44-
, label = "RocksDB: Ledger Tar Compatibility Test"
45-
, key = key
46+
, commands = commands
47+
, label = "Check RocksDB Ledger Tar Compatibility"
48+
, key = "test"
4649
, target = Size.Multi
50+
, docker = Some Docker::{ image = "ubuntu:noble" }
4751
}
4852
]
4953
}

0 commit comments

Comments
 (0)