Skip to content
Snippets Groups Projects
  • Benjamin Kampmann's avatar
    Remove all (non-dev) `client` references from `frame`, activate dependency enforcer (#4184) · bd652793
    Benjamin Kampmann authored
    * Move transaction pool to primitives
    
    * move backend, errors into primitives
    
    * remove unused client depencies
    
    * Move rpc-api into primitives
    
    * Move peerset back to client
    
    * Move rpc/api back to client, move palette/support/rpc into utils
    
    * move support-rpc into subfolder
    
    * move system-rpc into utils
    
    * move transaction-pool  and -graph back into client
    
    * fix broken imports
    
    * Clean up test primitives
    
    * Make support test utils independent of frame
    
    * remove unnecessary node dependencies from service
    
    * Reactivate dependency script:
     - only enforce the now achieved status quo will remain
     - allow for primitives to depend on /client for now without failing
     - more discriptive error message so people understand, what it wants
     - minor fix to differentiative between ../client and /client (which may be a subfolder)
     - don't allow this to fail anylonger.
    
    * fix doc comment
    
    * 'Should not' rather than 'must not'.
    
    * Revert unwanted dependency changes
    
    * fix faulty import
    
    * fixup derive_more version
    
    * fix wrong import path
    bd652793
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.gitlab-ci.yml 21.11 KiB
# .gitlab-ci.yml
#
# substrate
#
# pipelines can be triggered manually in the web
# setting DEPLOY_TAG will only deploy the tagged image


stages:
  - test
  - build
  - publish
  - kubernetes
  - flaming-fir

variables:
  GIT_STRATEGY:                    fetch
  CARGO_HOME:                      "/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_JOB_NAME}"
  SCCACHE_DIR:                     "/ci-cache/${CI_PROJECT_NAME}/sccache"
  CARGO_INCREMENTAL:               0
  CI_SERVER_NAME:                  "GitLab CI"
  DOCKER_OS:                       "debian:stretch"
  ARCH:                            "x86_64"


.collect-artifacts:                &collect-artifacts
  artifacts:
    name:                          "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
    when:                          on_success
    expire_in:                     7 days
    paths:
      - artifacts/

.kubernetes-build:                 &kubernetes-build
  tags:
    - kubernetes-parity-build
  environment:
    name: parity-build

.docker-env:                       &docker-env
  image:                           parity/rust-builder:latest
  before_script:
    - rustup show
    - cargo --version
    - sccache -s
  only:
    - master
    - /^v[0-9]+\.[0-9]+.*$/        # i.e. v1.0, v2.1rc1
    - schedules
    - web
    - /^[0-9]+$/                   # PRs
  retry:
    max: 2
    when:
      - runner_system_failure
      - unknown_failure
      - api_failure
  tags:
    - linux-docker

.build-only:                       &build-only
  only:
    - master
    - /^v[0-9]+\.[0-9]+.*$/        # i.e. v1.0, v2.1rc1
    - web



#### stage:                        test