Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change (CI): remove
  • Loading branch information
TriplEight committed Sep 28, 2020
commit daf1c95f689cf164089117df9d3cad696c261773
47 changes: 4 additions & 43 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# substrate
#
# pipelines can be triggered manually in the web
# setting DEPLOY_TAG will only deploy the tagged image

# SAMPLE JOB TEMPLATE - This is not a complete example but is enough to build a
# simple CI job. For full documentation, visit https://docs.gitlab.com/ee/ci/yaml/
Expand Down Expand Up @@ -91,8 +90,6 @@ workflow:

.build-rules: &build-rules
rules:
- if: '$DEPLOY_TAG'
when: never
- if: '$CI_COMMIT_REF_NAME == "master"'
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_COMMIT_REF_NAME =~ "/^v[0-9]+\.[0-9]+.*$/"' # i.e. v1.0, v2.1rc1
Expand All @@ -117,7 +114,6 @@ skip-if-draft:
- echo "Commit message is ${CI_COMMIT_MESSAGE}"
- echo "Ref is ${CI_COMMIT_REF_NAME}"
- echo "pipeline source is ${CI_PIPELINE_SOURCE}"
- echo "deploy tag is ${DEPLOY_TAG}"
- ./.maintain/gitlab/skip_if_draft.sh

#### stage: check
Expand Down Expand Up @@ -160,9 +156,6 @@ test-dependency-rules:
stage: check
image: paritytech/tools:latest
<<: *kubernetes-build
rules:
- if: $DEPLOY_TAG
when: never
script:
- .maintain/ensure-deps.sh

Expand Down Expand Up @@ -228,17 +221,9 @@ cargo-check-subkey:
test-deterministic-wasm:
stage: test
<<: *docker-env
<<: *docker-env-rules
variables:
<<: *default-vars
rules:
- if: $DEPLOY_TAG
when: never
# .docker-env-rules
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_PIPELINE_SOURCE == "schedule"'
- if: '$CI_COMMIT_REF_NAME == "master"'
- if: '$CI_COMMIT_REF_NAME == "/^[0-9]+$/"' # PRs
- if: '$CI_COMMIT_REF_NAME =~ "/^v[0-9]+\.[0-9]+.*$/"' # i.e. v1.0, v2.1rc1
script:
# build runtime
- WASM_BUILD_NO_COLOR=1 cargo build --verbose --release -p node-runtime
Expand All @@ -255,22 +240,14 @@ test-deterministic-wasm:
test-linux-stable: &test-linux
stage: test
<<: *docker-env
<<: *docker-env-rules
variables:
<<: *default-vars
# Enable debug assertions since we are running optimized builds for testing
# but still want to have debug assertions.
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
RUST_BACKTRACE: 1
WASM_BUILD_NO_COLOR: 1
rules:
- if: $DEPLOY_TAG
when: never
# .docker-env-rules
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_PIPELINE_SOURCE == "schedule"'
- if: '$CI_COMMIT_REF_NAME == "master"'
- if: '$CI_COMMIT_REF_NAME == "/^[0-9]+$/"' # PRs
- if: '$CI_COMMIT_REF_NAME =~ "/^v[0-9]+\.[0-9]+.*$/"' # i.e. v1.0, v2.1rc1
script:
# this job runs all tests in former runtime-benchmarks, frame-staking and wasmtime tests
- time cargo test --workspace --locked --release --verbose --features runtime-benchmarks --manifest-path bin/node/cli/Cargo.toml
Expand All @@ -297,15 +274,7 @@ test-frame-examples-compile-to-wasm:
# into one job
stage: test
<<: *docker-env
rules:
- if: $DEPLOY_TAG
when: never
# .docker-env-rules
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_PIPELINE_SOURCE == "schedule"'
- if: '$CI_COMMIT_REF_NAME == "master"'
- if: '$CI_COMMIT_REF_NAME == "/^[0-9]+$/"' # PRs
- if: '$CI_COMMIT_REF_NAME =~ "/^v[0-9]+\.[0-9]+.*$/"' # i.e. v1.0, v2.1rc1
<<: *docker-env-rules
variables:
<<: *default-vars
# Enable debug assertions since we are running optimized builds for testing
Expand Down Expand Up @@ -362,15 +331,7 @@ check-web-wasm:
test-full-crypto-feature:
stage: test
<<: *docker-env
rules:
- if: $DEPLOY_TAG
when: never
# .docker-env-rules
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_PIPELINE_SOURCE == "schedule"'
- if: '$CI_COMMIT_REF_NAME == "master"'
- if: '$CI_COMMIT_REF_NAME == "/^[0-9]+$/"' # PRs
- if: '$CI_COMMIT_REF_NAME =~ "/^v[0-9]+\.[0-9]+.*$/"' # i.e. v1.0, v2.1rc1
<<: *docker-env-rules
variables:
<<: *default-vars
# Enable debug assertions since we are running optimized builds for testing
Expand Down