Introduce linux-docker-benches (#10085)

* Introduce `linux-docker-benches`

* Add additional info to `node-bench-regression-guard` job's run
This commit is contained in:
Vladimir Istyufeev
2021-10-23 00:54:12 +03:00
committed by GitHub
parent 64cc2514a7
commit ad308386d8
+27 -23
View File
@@ -363,30 +363,34 @@ cargo-check-benches:
- *rust-info-script - *rust-info-script
script: script:
- *cargo-check-benches-script - *cargo-check-benches-script
tags:
- linux-docker-benches
# TODO: re-enable after dedicated bench hosts provisioning node-bench-regression-guard:
# node-bench-regression-guard: # it's not belong to `build` semantically, but dag jobs can't depend on each other
# # it's not belong to `build` semantically, but dag jobs can't depend on each other # within the single stage - https://gitlab.com/gitlab-org/gitlab/-/issues/30632
# # within the single stage - https://gitlab.com/gitlab-org/gitlab/-/issues/30632 # more: https://github.com/paritytech/substrate/pull/8519#discussion_r608012402
# # more: https://github.com/paritytech/substrate/pull/8519#discussion_r608012402 stage: build
# stage: build <<: *docker-env
# <<: *docker-env <<: *test-refs-no-trigger-prs-only
# <<: *test-refs-no-trigger-prs-only needs:
# needs: # this is a DAG
# # this is a DAG - job: cargo-check-benches
# - job: cargo-check-benches artifacts: true
# artifacts: true # this does not like a DAG, just polls the artifact
# # this does not like a DAG, just polls the artifact - project: $CI_PROJECT_PATH
# - project: $CI_PROJECT_PATH job: cargo-check-benches
# job: cargo-check-benches ref: master
# ref: master artifacts: true
# artifacts: true variables:
# variables: CI_IMAGE: "paritytech/node-bench-regression-guard:latest"
# CI_IMAGE: "paritytech/node-bench-regression-guard:latest" before_script: [""]
# before_script: [""] script:
# script: - echo "------- IMPORTANT -------"
# - 'node-bench-regression-guard --reference artifacts/benches/master-* - echo "node-bench-regression-guard depends on the results of a cargo-check-benches job"
# --compare-with artifacts/benches/$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA' - echo "In case of this job failure, check your pipeline's cargo-check-benches"
- 'node-bench-regression-guard --reference artifacts/benches/master-*
--compare-with artifacts/benches/$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA'
cargo-check-subkey: cargo-check-subkey:
stage: test stage: test