Skip to content

Commit

Permalink
Merge pull request #700 from PolymathNetwork/tooling
Browse files Browse the repository at this point in the history
Alcyone 2.1.0 Network Upgrade

Release notes:

Adds integrated asset settlement
Adds asset portfolios
Initial support for CDD IDs
Substrate upgrade to 2.0.0-rc6
Misc. fixes
  • Loading branch information
adamdossa authored Oct 27, 2020
2 parents 8f5451e + e46bf7e commit 0361b19
Show file tree
Hide file tree
Showing 201 changed files with 22,232 additions and 9,510 deletions.
47 changes: 11 additions & 36 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ jobs:
- add_ssh_keys:
fingerprints:
- "a1:99:47:ca:fa:32:4c:9d:4b:b8:50:99:c7:64:e3:80"
- run:
name: Pull submodules
command: GIT_SSH_COMMAND="ssh -i /root/.ssh/id_rsa_a19947cafa324c9d4bb85099c764e380" git submodule update --init pallets/settlement
- run:
name: Check formatting
command: ./scripts/rustfmt.sh
Expand All @@ -32,20 +29,14 @@ jobs:
command: rustc --version > rust.version
- restore_cache:
keys:
- v2-release-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
- v2-release-cache-{{ checksum "./rust.version" }}
- v2-cli-cache-{{ checksum "./rust.version" }}
- run:
name: Pull submodules
command: >-
GIT_SSH_COMMAND="ssh -i /root/.ssh/id_rsa_a19947cafa324c9d4bb85099c764e380" git submodule update --init pallets/settlement &&
GIT_SSH_COMMAND="ssh -i /root/.ssh/id_rsa_b3bb01c59077ef5ce65bf2db162fe861" git submodule update --init external/cryptography
- v3-release-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
- v3-release-cache-{{ checksum "./rust.version" }}
- run:
name: Build release
command: cargo +nightly build --release || cargo +nightly build -j 1 --release
no_output_timeout: 4h
- save_cache:
key: v2-release-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
key: v3-release-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
paths:
- "~/.cargo"
- "./target"
Expand All @@ -65,13 +56,8 @@ jobs:
command: rustc --version > rust.version
- restore_cache:
keys:
- v8-test-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
- v8-test-cache-{{ checksum "./rust.version" }}
- run:
name: Pull submodules
command: >-
GIT_SSH_COMMAND="ssh -i /root/.ssh/id_rsa_a19947cafa324c9d4bb85099c764e380" git submodule update --init pallets/settlement &&
GIT_SSH_COMMAND="ssh -i /root/.ssh/id_rsa_b3bb01c59077ef5ce65bf2db162fe861" git submodule update --init external/cryptography
- v9-test-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
- v9-test-cache-{{ checksum "./rust.version" }}
- run:
name: Tests
command: >-
Expand All @@ -95,7 +81,7 @@ jobs:
--features default_identity
no_output_timeout: 30m
- save_cache:
key: v8-test-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
key: v9-test-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
paths:
- "~/.cargo"
- "./target"
Expand All @@ -115,12 +101,7 @@ jobs:
command: rustc --version > rust.version
- restore_cache:
keys:
- v5-cli-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
- run:
name: Pull submodules
command: >-
GIT_SSH_COMMAND="ssh -i /root/.ssh/id_rsa_a19947cafa324c9d4bb85099c764e380" git submodule update --init pallets/settlement &&
GIT_SSH_COMMAND="ssh -i /root/.ssh/id_rsa_b3bb01c59077ef5ce65bf2db162fe861" git submodule update --init external/cryptography
- v6-cli-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
- run:
name: Build release
command: cargo +nightly build --release || cargo +nightly build -j 1 --release
Expand All @@ -140,7 +121,7 @@ jobs:
working_directory: ./scripts/cli
no_output_timeout: 10m
- save_cache:
key: v5-cli-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
key: v6-cli-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
paths:
- "~/.cargo"
- "./target"
Expand All @@ -161,19 +142,14 @@ jobs:
command: rustc +nightly --version > rust.version
- restore_cache:
keys:
- v3-clippy-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
- v3-clippy-cache-{{ checksum "./rust.version" }}
- run:
name: Pull submodules
command: >-
GIT_SSH_COMMAND="ssh -i /root/.ssh/id_rsa_a19947cafa324c9d4bb85099c764e380" git submodule update --init pallets/settlement &&
GIT_SSH_COMMAND="ssh -i /root/.ssh/id_rsa_b3bb01c59077ef5ce65bf2db162fe861" git submodule update --init external/cryptography
- v4-clippy-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
- v4-clippy-cache-{{ checksum "./rust.version" }}
- run:
name: run clippy
command: cargo +nightly clippy -j 1
no_output_timeout: 60m
- save_cache:
key: v3-clippy-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
key: v4-clippy-cache-{{ checksum "./rust.version" }}-{{ checksum "./Cargo.lock" }}
paths:
- "~/.cargo"
- "./target"
Expand All @@ -182,7 +158,6 @@ workflows:
commit:
jobs:
- lint
- cli
- test
daily-builds:
triggers:
Expand Down
211 changes: 0 additions & 211 deletions .concourse/pipelines/develop-commit.yaml

This file was deleted.

Loading

0 comments on commit 0361b19

Please sign in to comment.