# This file is part of .gitlab-ci.yml # Here are all jobs that are executed during "weights" stage update_polkadot_weights: &update-weights # The update-weights pipeline defaults to `interruptible: false` so that we'll be able to # reach and run the benchmarking jobs despite the "Auto-cancel redundant pipelines" CI setting. # The setting is relevant because future pipelines (e.g. created for new commits or other schedules) # might otherwise cancel the benchmark jobs early. interruptible: false stage: weights timeout: 1d when: manual image: $CI_IMAGE variables: RUNTIME: polkadot artifacts: paths: - ${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch script: - ./scripts/ci/run_benches_for_runtime.sh $RUNTIME - git diff -P > ${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch # uses the "shell" executors tags: - weights update_kusama_weights: <<: *update-weights variables: RUNTIME: kusama update_westend_weights: <<: *update-weights variables: RUNTIME: westend update_rococo_weights: <<: *update-weights variables: RUNTIME: rococo