Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
dd483c8
[CU-200y9ka] Auction: generate a file with weights (#470)
andor0 Jan 13, 2022
2c1fe04
Add remark check in CI (#220)
andor0 Jan 13, 2022
b1856ef
Revert crowdloan bench (#485)
hussein-aitlahcen Jan 13, 2022
4b96c20
CU-1uq4a7x - ValidateUnsigned instead of SignedExtension in Crowdloan…
hussein-aitlahcen Jan 14, 2022
49afd9f
Check including wasm build (#489)
KaiserKarel Jan 14, 2022
e2ac78f
remove actions-rs from test step (#490)
KaiserKarel Jan 14, 2022
885a8ca
CU-1ubvcrq - introduce `Validated` and `Validate` for custom codec va…
hussein-aitlahcen Jan 17, 2022
696789d
devnet (#427)
hussein-aitlahcen Jan 17, 2022
8cb47cc
Fix devnet deployment (#502)
hussein-aitlahcen Jan 18, 2022
8e3a2a8
CU-1wty9p0 oracle api clarification (#462)
dzmitry-lahoda Jan 18, 2022
19c1a53
docs(Updated local devnet run information.): (#505)
lilith-roth Jan 18, 2022
718e790
CU-1yykjpw Fix calc_utilization_ratio() and add proptest for it.
vivekvpandya Jan 13, 2022
58a45cd
CU-1u5ykup - add generated types and refactor, add eth sign to crowdl…
hussein-aitlahcen Jan 18, 2022
0f32e3e
Add Makefile.toml (#506)
KaiserKarel Jan 18, 2022
a26f8d0
Adds Benchmarking & Simnode (#497)
haroldsphinx Jan 19, 2022
a8c5bfb
CU-1wty1zv fixed lending (#484)
dzmitry-lahoda Jan 19, 2022
d8c6701
Update benchmark workflow (#510)
haroldsphinx Jan 19, 2022
f20f18b
Add <Bytes> tag for polkadotjs signature in crowdloan (#514)
hussein-aitlahcen Jan 19, 2022
678b6b9
[CU-2326a8t] Update benchmarks of pallet-dutch-auction (#512)
andor0 Jan 20, 2022
42e0ae7
fix asset count to change an existing asset (#481)
JesseAbram Jan 20, 2022
da375ee
Add cleanup step (#515)
haroldsphinx Jan 20, 2022
052ae7f
fix check runtime for main & releases (#513)
Jan 20, 2022
0c7fe99
Add bump version (#519)
haroldsphinx Jan 20, 2022
7dd363c
Release drafter update (#525)
haroldsphinx Jan 20, 2022
d06d8d7
cleanup some CI cruft (#511)
KaiserKarel Jan 20, 2022
0dac22a
adds script to update draft release (#528)
Jan 20, 2022
aa8dfec
added oracle setup script (#503)
JesseAbram Jan 20, 2022
9c5bd28
Add BoundedSortedVec and SortedVec (#532)
KaiserKarel Jan 21, 2022
ef291f1
adds paritytech/ci-linux:production (#536)
nimboya Jan 22, 2022
e717d36
substitute dali & picasso wasm in chainspec with tested wasm (#539)
Jan 22, 2022
ff39c92
clean up release pipeline (#541)
Jan 23, 2022
5068d14
Add Acala's tests (#534)
andor0 Jan 25, 2022
f08aa6e
[CU-23t6rux] Add decimals for foreign assets in assets-registry (#552)
andor0 Jan 26, 2022
d68b3e8
fixes #535 (#553)
hussein-aitlahcen Jan 26, 2022
b88c3ee
install stable+nightly (#554)
hussein-aitlahcen Jan 27, 2022
723c837
Fix issue with git diff (#557)
haroldsphinx Jan 27, 2022
76ad736
deploy devnet from main (#559)
hussein-aitlahcen Jan 27, 2022
24aea5e
kill stale jobs when pushing new changes (#562)
hussein-aitlahcen Jan 28, 2022
089aeba
test: Fixed docstrings and variable naming. (#529)
lilith-roth Jan 28, 2022
bf8adbf
pallet mosaic (#547)
cor Jan 28, 2022
4973d49
CU-1ux3e25 CU-1q4x2t6 CU-1pdtjrz finalizing lending features (#546)
dzmitry-lahoda Jan 28, 2022
066f0b5
make benchmark to work with labels (#563)
nimboya Jan 28, 2022
8456099
Update CODEOWNERS (#565)
Jan 31, 2022
ab0692f
Bring mosaic in dali (#564)
hussein-aitlahcen Jan 31, 2022
1393ffb
Bump node-fetch from 2.6.6 to 2.6.7 in /integration-tests/runtime-tes…
dependabot[bot] Jan 31, 2022
0dd32dc
update release drafter template (#566)
nimboya Jan 31, 2022
419bcfa
Update sequence diagram of assets-registry (#568)
andor0 Jan 31, 2022
6292e3f
fix for dalishot backup (#569)
haroldsphinx Jan 31, 2022
35ec668
added label trigger (#576)
nimboya Feb 1, 2022
650d387
Simnode trigger (#577)
nimboya Feb 1, 2022
1a2200f
Introduce ControlOrigin (#574)
KaiserKarel Feb 1, 2022
cb09fd6
CU-24fwjma Add implementation of codec::MaxEncodedLen in pallet-asset…
andor0 Feb 1, 2022
5c1eab8
Added 'std' features to Balances (#548)
PoisonPhang Feb 2, 2022
0fef207
some clippy and warnings and more checks (#570)
dzmitry-lahoda Feb 2, 2022
1f822b7
CU-1nh9erq Implement basic DEX Router pallet. (#446)
vivekvpandya Feb 2, 2022
138adc4
CU-24fwjma Add MaxEncodedLen implementations in pallets (#580)
andor0 Feb 2, 2022
29663a6
all scripts: fail on error (#583)
Feb 3, 2022
3b9fffb
Inverted Validate trait (#572)
PoisonPhang Feb 3, 2022
66515ea
add workflow for label validation (#582)
nimboya Feb 3, 2022
941ed60
simplify benchmarking (#585)
KaiserKarel Feb 3, 2022
22bf6bc
Update simnode script (#590)
haroldsphinx Feb 4, 2022
6b7e010
Update simnode path (#592)
haroldsphinx Feb 5, 2022
8e3c36e
Update simnode path (#593)
haroldsphinx Feb 5, 2022
748556d
Update simnode path (#594)
haroldsphinx Feb 5, 2022
5cfafdc
Upgrade to polkadot-v0.9.16 (#567)
seunlanlege Feb 6, 2022
6ec222d
Merge branch 'main' into release-v0.9.16
seunlanlege Feb 6, 2022
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
2 changes: 1 addition & 1 deletion .config/cargo_spellcheck.dic
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ tombstoned
u128
Wasm
Xcm
XCM
Dispatchable
File renamed without changes.
5 changes: 4 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@

# .github/ @haroldsphinx @seunlanlege
docker/ @haroldsphinx @seunlanlege
Makefile @haroldsphinx
runtime/ @seunlanlege
node/ @seunlanlege

Makefile @haroldsphinx
5 changes: 2 additions & 3 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name-template: v$NEXT_PATCH_VERSION 🌈
tag-template: v$NEXT_PATCH_VERSION
commitish: releases
name-template: v$RESOLVED_VERSION 🌈
tag-template: v$RESOLVED_VERSION
categories:
- title: '🚀 Features'
labels:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ansible-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
- ansible-runner

steps:
- name: Clean up
continue-on-error: true
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
docker system prune --force --all --volumes

- uses: actions/checkout@v2
with:
fetch-depth: 0
Expand Down
30 changes: 26 additions & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,24 @@ name: Run Benchmarks

on:
pull_request:
types:
- labeled
branches:
- releases
- main
workflow_dispatch:

jobs:
benchmark:
benchmark:
name: Benchmark
runs-on:
- self-hosted
- linux
- x64
- bmark
concurrency:
group: bench-${{ github.ref }}
cancel-in-progress: true
if: github.event.pull_request.draft == false
steps:
- name: Clean up
Expand All @@ -24,18 +30,34 @@ jobs:

- uses: actions/checkout@v2
with:
ref: main
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v5.1

- name: Check for runtime changes
env:
BASE_BRANCH: ${{ github.event.pull_request.base.ref }}
GITHUB_BRANCH_NAME: ${{ steps.branch-name.outputs.current_branch }}

id: check_runtime
if: github.event.label.name == 'needs-benchmarks'
if: contains( github.event.pull_request.labels.*.name, 'needs-benchmarks')
run: .maintain/check_runtime.sh

- name: Benchmark Test
env:
BASE_BRANCH: ${{ github.event.pull_request.base.ref }}
GITHUB_BRANCH_NAME: ${{ steps.branch-name.outputs.current_branch }}

if: env.RUNTIME_CHECK == 1
id: run_benchmarks
run: .maintain/run_benchmarks.sh

- uses: EndBug/add-and-commit@v8
with:
add: 'runtime'
message: 'Pushing benchmark changes'
push: "true"
new_branch: ${{ steps.branch-name.outputs.current_branch }}
31 changes: 27 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- main
- develop
- releases

workflow_dispatch:

env:
DOCKER_USER_OPTION: '$UID:$GID'
Expand All @@ -20,6 +22,9 @@ jobs:
- linux
- x64
- sre
concurrency:
group: check-${{ github.ref }}
cancel-in-progress: true
container:
image: paritytech/ci-linux:production
steps:
Expand All @@ -44,6 +49,9 @@ jobs:
- linux
- x64
- sre
concurrency:
group: testcov-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Clean up
continue-on-error: true
Expand All @@ -61,7 +69,7 @@ jobs:
# TODO: https://github.com/ComposableFi/composable/issues/535
/home/runner/.cargo/bin/cargo install -f cargo-llvm-cov
/home/runner/.cargo/bin/rustup component add llvm-tools-preview --toolchain=nightly-2021-11-08
SKIP_WASM_BUILD=1 /home/runner/.cargo/bin/cargo +nightly-2021-11-08 llvm-cov --workspace --locked --release --verbose --features=runtime-benchmarks --exclude=integration-tests --lcov --output-path lcov.info
SKIP_WASM_BUILD=1 /home/runner/.cargo/bin/cargo +nightly-2021-11-08 llvm-cov --workspace --locked --release --verbose --features=runtime-benchmarks --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
Expand All @@ -76,6 +84,9 @@ jobs:
- linux
- x64
- sre
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true
container:
image: paritytech/ci-linux:production
steps:
Expand All @@ -91,7 +102,7 @@ jobs:
- uses: actions/checkout@v2
- name: Run Test
run: |
SKIP_WASM_BUILD=1 cargo test --workspace --locked --release --verbose --features=runtime-benchmarks --exclude=integration-tests
SKIP_WASM_BUILD=1 cargo test --workspace --locked --release --verbose --features=runtime-benchmarks

linters:
name: Linters
Expand All @@ -100,6 +111,9 @@ jobs:
- linux
- x64
- sre
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
container:
image: paritytech/ci-linux:production
steps:
Expand All @@ -111,6 +125,7 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 14.x

- name: Cargo fmt
run: |
cargo +nightly fmt --all -- --check
Expand Down Expand Up @@ -146,9 +161,18 @@ jobs:
./node_modules/.bin/remark -f $file || total_exit_code=$?
done << (find . -name "*.md" -not -path "*/node_modules/*" -not -path "./.github/*")
exit $total_exit_code

- name: Cargo clippy
run: |
SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo +nightly clippy --all-targets
SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo +nightly clippy --all-targets

- name: Cargo Single Depedency
# description: Speed up builds and reduced security check surface
run: |
cargo install -f cargo-deny
# start from minimal dependency crate
cargo deny --manifest-path ./frame/composable-support/Cargo.toml check Ban

- name: Cargo udeps
env:
UDEPS_VERSION: v0.1.24
Expand All @@ -160,4 +184,3 @@ jobs:
cargo udeps --version
SKIP_WASM_BUILD=1 cargo udeps --workspace --all-features
continue-on-error: true # Often this turns gives false positives, due to the different ways that Substrate uses features.

23 changes: 13 additions & 10 deletions .github/workflows/devnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,11 @@ on:

jobs:
deploy-devnet:
runs-on:
- ubuntu-latest
runs-on: ubuntu-latest
concurrency:
group: deploy-devnet
cancel-in-progress: false
steps:
- name: Clean up
continue-on-error: true
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
docker system prune --force --all --volumes


- uses: actions/checkout@v2

- uses: google-github-actions/setup-gcloud@master
Expand All @@ -43,9 +35,20 @@ jobs:
run: |
echo "RELEASE_VERSION=$GITHUB_SHA" >> $GITHUB_ENV

- name: Install stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Install latest Nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown

- name: Push artifact
run: |
/home/runner/.cargo/bin/cargo build --release
cargo build --release
tar -czvf composable-picasso-${{ env.RELEASE_VERSION }}.tar.gz target/release/composable
gsutil mv *.tar.gz gs://composable-binaries/community-releases/picasso/

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ jobs:

- name: Docker push
run: make push-release

20 changes: 20 additions & 0 deletions .github/workflows/label-validator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: LabelValidator

on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
branches:
- releases

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Validate
uses: jesusvasquez333/verify-pr-label-action@v1.4.0
with:
github-token: ${{ secrets.REPO_TOKEN }}
valid-labels: 'major, minor, patch'
12 changes: 4 additions & 8 deletions .github/workflows/picashot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Picashot

name: Picasso and Dali Snapshot
on:
workflow_dispatch:
schedule:
Expand All @@ -20,18 +19,16 @@ jobs:
docker system prune --force --all --volumes

- name: Run ansible playbook
working-directory: ".maintain/playbooks"
run: |
pwd
ls
ansible-playbook -l _mainnet_collator_yes picashot.yml -i picasso-gcp.yaml --user root -e 'ansible_python_interpreter=/usr/bin/python3'
ansible-playbook -l _mainnet_collator_yes /opt/ansible/inventory/picashot.yml -i /opt/ansible/inventory/picasso-gcp.yaml --user root -e 'ansible_python_interpreter=/usr/bin/python3'

dalishot:
runs-on:
- self-hosted
- linux
- X64
- ansible-runner

steps:
- name: Clean up
continue-on-error: true
Expand All @@ -40,6 +37,5 @@ jobs:
docker system prune --force --all --volumes

- name: Run ansible playbook
working-directory: "./.maintain/playbooks"
run: |
ansible-playbook -l _collator_node_yes picashot.yml -i gcp.yaml --user runner -e 'ansible_python_interpreter=/usr/bin/python3'
ansible-playbook -l _collator_node_yes /opt/ansible/inventory/dalishot.yml -i /opt/ansible/inventory/gcp.yaml --user runner -e 'ansible_python_interpreter=/usr/bin/python3'
Loading