Skip to content
Snippets Groups Projects
Verified Commit 366f41d7 authored by Konrad Botor's avatar Konrad Botor
Browse files

Added HAF logs to sync job artifacts - ref. #205

parent d5bfb8eb
No related branches found
No related tags found
2 merge requests!827Merge develop changes to master,!605Resolve "Split sync_e2e_benchmark into two separate jobs"
...@@ -288,6 +288,8 @@ sync: ...@@ -288,6 +288,8 @@ sync:
--community-start-block 4998000 --community-start-block 4998000
pushd +2 pushd +2
${WORKING_DIR}/app/ci/collect-db-stats.sh ${WORKING_DIR}/app/ci/collect-db-stats.sh
after_script:
- cp "$DATA_CACHE_HAF/datadir/$CI_JOB_NAME.log" "haf-$CI_JOB_NAME.log" # in after_script, so it's done even if job fails
artifacts: artifacts:
when: always when: always
expire_in: 7 days expire_in: 7 days
...@@ -295,6 +297,7 @@ sync: ...@@ -295,6 +297,7 @@ sync:
- hivemind-sync.log - hivemind-sync.log
- pg-stats - pg-stats
- version.log - version.log
- haf-$CI_JOB_NAME.log
tags: tags:
- data-cache-storage - data-cache-storage
...@@ -405,6 +408,7 @@ e2e_benchmark: ...@@ -405,6 +408,7 @@ e2e_benchmark:
after_script: after_script:
- | - |
echo "Downloading logs..." echo "Downloading logs..."
cp "$DATA_CACHE_HAF/datadir/$CI_JOB_NAME.log" "haf-$CI_JOB_NAME.log"
wget $RUNNER_HIVEMIND_SMOKETEST_URL:$LOG_SERVER_PORT/request_process_times_smoketests.log || true wget $RUNNER_HIVEMIND_SMOKETEST_URL:$LOG_SERVER_PORT/request_process_times_smoketests.log || true
wget $RUNNER_HIVEMIND_SMOKETEST_URL:$LOG_SERVER_PORT/hivemind-server.log || true wget $RUNNER_HIVEMIND_SMOKETEST_URL:$LOG_SERVER_PORT/hivemind-server.log || true
wget $RUNNER_HIVEMIND_BENCHMARK_URL:$LOG_SERVER_PORT/request_process_times.log || true wget $RUNNER_HIVEMIND_BENCHMARK_URL:$LOG_SERVER_PORT/request_process_times.log || true
...@@ -424,6 +428,7 @@ e2e_benchmark: ...@@ -424,6 +428,7 @@ e2e_benchmark:
junit: "*.xml" junit: "*.xml"
dotenv: variables.env dotenv: variables.env
paths: paths:
- haf-$CI_JOB_NAME.log
- hivemind-sync.log - hivemind-sync.log
- hivemind-server.log - hivemind-server.log
- hivemind-benchmark-server.log - hivemind-benchmark-server.log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment