mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
Automatically format ci pipeline specs with prettier (#13441)
* [ci] Deduplicate variables: sections in pipeline specs The prettier yaml parser doesn't like these. * [ci] provide git clean filter to format pipeline specs * [ci] Reformat pipeline specs with prettier
This commit is contained in:
@@ -2,56 +2,56 @@
|
||||
# Here are all jobs that are executed during "check" stage
|
||||
|
||||
check-runtime:
|
||||
stage: check
|
||||
stage: check
|
||||
extends:
|
||||
- .kubernetes-env
|
||||
- .test-refs-no-trigger-prs-only
|
||||
variables:
|
||||
CI_IMAGE: "paritytech/tools:latest"
|
||||
GITLAB_API: "https://gitlab.parity.io/api/v4"
|
||||
GITHUB_API_PROJECT: "parity%2Finfrastructure%2Fgithub-api"
|
||||
CI_IMAGE: "paritytech/tools:latest"
|
||||
GITLAB_API: "https://gitlab.parity.io/api/v4"
|
||||
GITHUB_API_PROJECT: "parity%2Finfrastructure%2Fgithub-api"
|
||||
script:
|
||||
- ./scripts/ci/gitlab/check_runtime.sh
|
||||
allow_failure: true
|
||||
allow_failure: true
|
||||
|
||||
check-signed-tag:
|
||||
stage: check
|
||||
extends: .kubernetes-env
|
||||
stage: check
|
||||
extends: .kubernetes-env
|
||||
variables:
|
||||
CI_IMAGE: "paritytech/tools:latest"
|
||||
CI_IMAGE: "paritytech/tools:latest"
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME =~ /^ci-release-.*$/
|
||||
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
|
||||
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
|
||||
script:
|
||||
- ./scripts/ci/gitlab/check_signed.sh
|
||||
|
||||
test-dependency-rules:
|
||||
stage: check
|
||||
stage: check
|
||||
extends:
|
||||
- .kubernetes-env
|
||||
- .test-refs-no-trigger-prs-only
|
||||
variables:
|
||||
CI_IMAGE: "paritytech/tools:latest"
|
||||
CI_IMAGE: "paritytech/tools:latest"
|
||||
script:
|
||||
- ./scripts/ci/gitlab/ensure-deps.sh
|
||||
|
||||
test-rust-features:
|
||||
stage: check
|
||||
stage: check
|
||||
extends:
|
||||
- .kubernetes-env
|
||||
- .test-refs-no-trigger-prs-only
|
||||
script:
|
||||
- git clone
|
||||
--depth=1
|
||||
--branch="$PIPELINE_SCRIPTS_TAG"
|
||||
https://github.com/paritytech/pipeline-scripts
|
||||
--depth=1
|
||||
--branch="$PIPELINE_SCRIPTS_TAG"
|
||||
https://github.com/paritytech/pipeline-scripts
|
||||
- bash ./pipeline-scripts/rust-features.sh .
|
||||
|
||||
test-prometheus-alerting-rules:
|
||||
stage: check
|
||||
extends: .kubernetes-env
|
||||
stage: check
|
||||
extends: .kubernetes-env
|
||||
variables:
|
||||
CI_IMAGE: "paritytech/tools:latest"
|
||||
CI_IMAGE: "paritytech/tools:latest"
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "pipeline"
|
||||
when: never
|
||||
@@ -62,4 +62,4 @@ test-prometheus-alerting-rules:
|
||||
script:
|
||||
- promtool check rules ./scripts/ci/monitoring/alerting-rules/alerting-rules.yaml
|
||||
- cat ./scripts/ci/monitoring/alerting-rules/alerting-rules.yaml |
|
||||
promtool test rules ./scripts/ci/monitoring/alerting-rules/alerting-rule-tests.yaml
|
||||
promtool test rules ./scripts/ci/monitoring/alerting-rules/alerting-rule-tests.yaml
|
||||
|
||||
Reference in New Issue
Block a user