Split sync_e2e_benchmark into two separate jobs
sync_e2e_benchmark
should be split into two jobs:
-
sync
- which performs synchronization -
e2e-benchmark
- which runs tests and benchmarks (dependent onsync
)
Note: as a part of this change the await
project should be moved to the hive
group to allow for using it without authentication. Alternatively we can extend HAF by functionality providing an instance state information and scripts able to wait some time until instance state will change to expected one.
Rough structure of new CI jobs should look as follows:
- sync job depends on
prepare_haf_data
job (provided by HAF) and starts synchronization. Until HAF will support exact state checks, let's wait until hived (haf node) will respond on its http port, i.e.:curl -f haf-instance:8091 -m 20
. The directory where HAF stored its data (passed trough DATADIR env. variable to the HAF instance spawned as service) should be globaly specified as a variable to be shared across all jobs - next server job should depend on sync job and next again start HAF instance and wait for its readiness. Then perform regression tests and benchmarks.
Edited by Bartek Wrona