mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 06:27:58 +00:00
timestamp gitlab ci job outputs (#13605)
* timestamp gitlab ci job outputs Based on previous work by @alvicsam in #13047. * inline timestamp script Some of our jobs don't check out the substrate repo. * include .timestamp in pipelines overriding the default before_script Still not including it in the zombienet jobs, they have their own timestamping anyway. * move timestamp.yml to shared pipeline repo https://gitlab.parity.io/parity/infrastructure/ci_cd/shared
This commit is contained in:
@@ -62,6 +62,7 @@ build-linux-substrate:
|
||||
- job: test-linux-stable
|
||||
artifacts: false
|
||||
before_script:
|
||||
- !reference [.timestamp, before_script]
|
||||
- !reference [.job-switcher, before_script]
|
||||
- mkdir -p ./artifacts/substrate/
|
||||
- !reference [.rusty-cachier, before_script]
|
||||
@@ -95,6 +96,7 @@ build-linux-substrate:
|
||||
# this variable gets overriden by "rusty-cachier environment inject", use the value as default
|
||||
CARGO_TARGET_DIR: "$CI_PROJECT_DIR/target"
|
||||
before_script:
|
||||
- !reference [.timestamp, before_script]
|
||||
- !reference [.job-switcher, before_script]
|
||||
- mkdir -p ./artifacts/subkey
|
||||
- !reference [.rusty-cachier, before_script]
|
||||
@@ -120,6 +122,7 @@ build-subkey-macos:
|
||||
# duplicating before_script & script sections from .build-subkey hidden job
|
||||
# to overwrite rusty-cachier integration as it doesn't work on macos
|
||||
before_script:
|
||||
# skip timestamp script, the osx bash doesn't support printf %()T
|
||||
- !reference [.job-switcher, before_script]
|
||||
- mkdir -p ./artifacts/subkey
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user