Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

polkadot-v0.9.17 #789

Merged
merged 193 commits into from
Mar 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
193 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
17e009c
update git token for label (#597)
nimboya Feb 6, 2022
4daed30
Update an errors handling (#599)
andor0 Feb 7, 2022
f7f91b2
add std features for some missing pallets (#602)
KaiserKarel Feb 7, 2022
bb4b537
mosaic benchmarks
cor Feb 7, 2022
b6d59bc
Update benchmarking docs (#605)
andor0 Feb 7, 2022
24168ca
improving lending docs (#601)
dzmitry-lahoda Feb 8, 2022
34efc0e
Karel/currency ranges (#584)
KaiserKarel Feb 8, 2022
4be09f1
CU-1wty1h0 liquidations test/bench/runtime - required by lending (#608)
dzmitry-lahoda Feb 9, 2022
3a9e35d
revert chainspec to picasso-1.2.0 (#610)
hussein-aitlahcen Feb 9, 2022
03eec7c
Karel/assets more tests (#551)
ysfkel Feb 9, 2022
a5a4163
CI Fixes (#613)
seunlanlege Feb 9, 2022
ca32981
Update benchmarks settings (#617)
andor0 Feb 10, 2022
97cc4aa
CU-256ucnj Update pallet-lending (#609)
andor0 Feb 10, 2022
4e51f15
bonded-finance benchmarking (#579)
hussein-aitlahcen Feb 10, 2022
f5d5c4e
devnet upgrade (#622)
hussein-aitlahcen Feb 11, 2022
772b8bd
Update Simnode Implementation (#624)
Wizdave97 Feb 14, 2022
8ea2468
fix diffing on release-pipeline (#626)
seunlanlege Feb 14, 2022
d0e676d
Ci upgrade (#627)
haroldsphinx Feb 14, 2022
299eeef
fix polkadot launch config (#621)
hussein-aitlahcen Feb 14, 2022
1f1f0c6
adds chainspec for rococo (#631)
seunlanlege Feb 14, 2022
628f20f
Ben/assets rpc (#493)
benluelo Feb 14, 2022
5fc27d3
Fix slash for chatops (#629)
haroldsphinx Feb 14, 2022
bb51e1c
Refactored Validated Traits (#619)
PoisonPhang Feb 14, 2022
22f6251
lending into runtime (#616)
dzmitry-lahoda Feb 15, 2022
87f77b5
Bump polkadot-launch version, update polkadot-launch configuration (#…
andor0 Feb 15, 2022
dbeec62
test(Runtime Integration Tests): Runtime integration tests paralleliz…
lilith-roth Feb 15, 2022
22e68aa
Bump node-fetch from 2.6.1 to 2.6.7 in /setup (#542)
dependabot[bot] Feb 15, 2022
8f2e9be
Bump node-fetch in /scripts/polkadot-launch/initialization (#544)
dependabot[bot] Feb 15, 2022
6bcf242
Bump simple-get from 2.8.1 to 2.8.2 in /scripts/polkadot-launch (#595)
dependabot[bot] Feb 15, 2022
f73752e
Bump simple-get from 2.8.1 to 2.8.2 in /integration-tests/runtime-tes…
dependabot[bot] Feb 15, 2022
1cf7880
Ben/update rpc docs (#643)
benluelo Feb 15, 2022
6cb418c
Add bootnode peerid rococo (#644)
haroldsphinx Feb 16, 2022
0612bd3
xcmp: speed up tests, fixed some tests (#571)
dzmitry-lahoda Feb 16, 2022
900c5d7
add initialize_at (#640)
KaiserKarel Feb 16, 2022
47e5f76
enables collator-sidecar (#648)
seunlanlege Feb 17, 2022
cc20db2
Update make version (#646)
haroldsphinx Feb 17, 2022
b4c978c
fix docker version (#651)
seunlanlege Feb 17, 2022
1047e57
Add Dockerfile to build composable-sandbox (#652)
andor0 Feb 17, 2022
6a6ddcf
xmcp take weight (#581)
dzmitry-lahoda Feb 17, 2022
52b4b9c
Fix amount_available_to_claim_for RPC (#642)
benluelo Feb 17, 2022
12de1a1
Ansible update (#658)
haroldsphinx Feb 18, 2022
10e12e7
upgrade codecov ci action (#660)
hussein-aitlahcen Feb 18, 2022
619e753
Ansible update (#662)
haroldsphinx Feb 18, 2022
8554822
Ansible update (#664)
haroldsphinx Feb 18, 2022
7b345f7
collator sidecar (#669)
seunlanlege Feb 21, 2022
96883a9
add std features to dev-dependencies (#668)
KaiserKarel Feb 21, 2022
9c3d147
[CU-1ux39mq] Validate vault extrinsics (#647)
PoisonPhang Feb 21, 2022
9c5d27c
Seun fix collator sidecar (#670)
seunlanlege Feb 21, 2022
42d4aef
[CU-1vzab3b] Added TryIntoValidated (#666)
PoisonPhang Feb 22, 2022
6063b52
CI job to build a Docker image of composable-sandbox (#672)
andor0 Feb 22, 2022
acc1b2f
[CU-1ux39qh] Validation/oracle (#655)
ysfkel Feb 22, 2022
35ba06d
lending market creation event is good (#673)
dzmitry-lahoda Feb 23, 2022
7887dfe
Extend Simnode RPC Apis (#677)
Wizdave97 Feb 23, 2022
bada843
Updated Crowdloan Readme (#678)
PoisonPhang Feb 23, 2022
8a0b06b
Ben/currency docs (#676)
benluelo Feb 24, 2022
2a39528
adds simnode docs (#685)
seunlanlege Feb 25, 2022
f33c3bf
fix(benchmarks): oracle: prefer the usage of the runtime type when be…
hussein-aitlahcen Feb 26, 2022
f7c48b7
fix(ci): mandatory single-pass benchmarking (#686)
hussein-aitlahcen Feb 26, 2022
8312917
CU-263dx6e - Mosaic assets mapping (#683)
hussein-aitlahcen Feb 27, 2022
68d0c38
Refactor uniswap, curve & interface, introduce extrinsic + benchmarki…
hussein-aitlahcen Feb 27, 2022
854b595
upgrade devnet (#687)
hussein-aitlahcen Feb 28, 2022
f13f972
CU-2697dme - Crowdloan funded rewards (#693)
hussein-aitlahcen Mar 1, 2022
16df821
Documentation deployment (#691)
hussein-aitlahcen Mar 1, 2022
6f86d2f
fix(crowdloan-rewards): allow to incrementally populate the rewards (…
hussein-aitlahcen Mar 1, 2022
36c665d
Set reasonable values (#695)
KaiserKarel Mar 1, 2022
1db27da
fix 'liquidation' typos (#689)
Cardosaum Mar 1, 2022
ab7102d
fix(ci): remove docs after having compressed to avoid no space left (…
hussein-aitlahcen Mar 1, 2022
5f0fa95
feat(runtimes): filter Tokens and unfilter Balance (#700)
hussein-aitlahcen Mar 2, 2022
8c5363a
fix(assets): do not use custom error for `BadOrigin` (#699)
hussein-aitlahcen Mar 2, 2022
3f2989c
Added explanation of ValidateUnsigned to README.md (#698)
PoisonPhang Mar 2, 2022
74d7f08
ensure we lint tests (#697)
KaiserKarel Mar 2, 2022
7d2a885
Ensure we have errors checked in proptests
KaiserKarel Mar 2, 2022
a5db257
feat(tests): custom precision for proptests to avoid edge cases (#702)
hussein-aitlahcen Mar 2, 2022
fb382d4
Composable bootnode peerid (#708)
haroldsphinx Mar 3, 2022
7b66952
Composable bootnode peerid (#710)
haroldsphinx Mar 3, 2022
66724e0
Update node permission (#712)
haroldsphinx Mar 3, 2022
3b505cc
feat(ci): full backtrace for benchmarking (#714)
hussein-aitlahcen Mar 3, 2022
28a9205
Use compressed wasm instead of compact (#716)
seunlanlege Mar 4, 2022
ecc9a21
CU-1vz89jk - Liquidity bootstrapping pallet (#661)
hussein-aitlahcen Mar 4, 2022
ab2798d
Fix clippy warnings for LBP, curve-amm and uniswap-v2.
vivekvpandya Mar 4, 2022
b27a31a
Fix clippy warnings. (#719)
vivekvpandya Mar 4, 2022
d880be6
Add few more test for dex. (#690)
vivekvpandya Mar 4, 2022
c34b8d9
Update node permission (#720)
haroldsphinx Mar 4, 2022
efe8c7e
Validation/mosaic (#704)
ysfkel Mar 4, 2022
27e6ab4
xcmp: treasury, trap, weights, tests, fees, ed, common (#656)
dzmitry-lahoda Mar 7, 2022
15ab4f0
[cu-1ubuznb] Vesting Benchmarks (#705)
vimukthi-git Mar 7, 2022
f68c6e9
[CU-1ux39kw] Validation/bond offer (#623)
ysfkel Mar 7, 2022
a623b95
Enable BEEFY in polkadot-launch (#726)
andor0 Mar 7, 2022
4317e1e
Fix typo (#724)
Cardosaum Mar 7, 2022
93187a2
Make clippy happier (#728)
andor0 Mar 8, 2022
8241dda
Fix clippy warnings (#730)
vivekvpandya Mar 8, 2022
37ae7da
adds chainspec for composable westend (#731)
seunlanlege Mar 8, 2022
2857aff
Amp can not be zero (#725)
vivekvpandya Mar 8, 2022
6e03eab
fix single pass benchmarking CI (#733)
seunlanlege Mar 8, 2022
53ef58b
Chnage westend bootnode (#736)
haroldsphinx Mar 8, 2022
ac9b613
updating bootnode (#741)
haroldsphinx Mar 8, 2022
3847d18
Use mmr-polkadot instead of polkadot in composable-sandbox (#738)
andor0 Mar 9, 2022
8aaf8bd
feat(devnet): auto optimise/gc nix store to avoid no space left (#735)
hussein-aitlahcen Mar 9, 2022
a9568ec
Refactor/safe arithmentic (#734)
ysfkel Mar 9, 2022
e9285d4
docker multi-arch (#657)
nimboya Mar 10, 2022
be02365
feat(crowdloan-reward): move from `BlockNumber` to `Moment` for vesti…
hussein-aitlahcen Mar 10, 2022
7d61730
[cu-1ubuznb] Correct misconfiguration of weights for vesting (#749)
vimukthi-git Mar 11, 2022
23bea4f
feat(crowdloan-rewards): make dali crowdloan faster and correct `Vest…
hussein-aitlahcen Mar 11, 2022
1c4d4dc
[cu-206y1te, cu-26ezj25] Support time based vesting schedules in Vest…
vimukthi-git Mar 11, 2022
a49aafe
Cleanup `Cargo.toml` files & add taplo step in CI (#752)
hussein-aitlahcen Mar 11, 2022
42a6597
Update initialization script (#753)
andor0 Mar 12, 2022
3ddc73d
[cu-206y1te, cu-26ezj25] Adjusting documentation for vesting pallet (…
vimukthi-git Mar 14, 2022
a7ced5d
Composable ngihtly snapshot (#762)
haroldsphinx Mar 15, 2022
dc2e871
Initial commit for pablo. (#766)
vivekvpandya Mar 15, 2022
882d774
Rework vesting origin & audit fixes (#775)
hussein-aitlahcen Mar 16, 2022
1b48110
test(Runtime Integration Tests): Dep. Update, Type Update, Docker Int…
lilith-roth Mar 16, 2022
58ff70c
CU-23v2xj9 Add code and tests for StableSwap pallet in Pablo. (#767)
vivekvpandya Mar 16, 2022
1181ff9
Clarify why we claim while associating & provide the timestamp at whi…
hussein-aitlahcen Mar 17, 2022
973b1c9
Update Vesting pallet runtime & remove bencharking filter in CI check…
hussein-aitlahcen Mar 17, 2022
dd271e8
[cu-23v2xkb][Pablo] ConstantProductPool Integration (#770)
vimukthi-git Mar 17, 2022
f3a08df
Fortify mosaic & vesting pallets (#779)
hussein-aitlahcen Mar 17, 2022
31e05ba
polkadot v0.9.17 (#688)
seunlanlege Mar 18, 2022
8bf3e56
[CU-20185wr] Integration Tests-Constant Product Dex Tests (#761)
kollegian Mar 18, 2022
7a3a7e0
Move do_compute_swap() to StableSwap module. (#780)
vivekvpandya Mar 18, 2022
73ac560
CU-25ye81h CU-1yyr5hv CU-1yyr5fv xcmp kusd picasso (#759)
dzmitry-lahoda Mar 18, 2022
d768521
feat(devnet): update polkadot (#784)
hussein-aitlahcen Mar 18, 2022
e35e0f0
[CU-23n7a3r] Integration Testing - Fixing CrowdloanRewards Tests. (#777)
lilith-roth Mar 18, 2022
00a9ea6
[cu-23v2xng][Pablo] Integrate Liquidity Bootstrapping Pool (#781)
vimukthi-git Mar 19, 2022
080f1b2
Create a CI job to build ci-linux docker image (#786)
andor0 Mar 21, 2022
8f9c2da
Create a CI job to build a docker image of composablefi/mmr-polkadot …
andor0 Mar 21, 2022
e8a52d3
Merge branch 'releases' into seun-main-merge
seunlanlege Mar 21, 2022
9bc2fe7
Pushing benchmark changes
seunlanlege Mar 21, 2022
72c60d8
trigger CI
seunlanlege Mar 22, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .config/cargo_spellcheck.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ allow_dashed = false

[Reflow]
# Reflows doc comments to adhere to adhere to a given maximum line width limit.
max_line_length = 80
max_line_length = 80
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target
44 changes: 0 additions & 44 deletions .github/workflows/Picasso-release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
GITHUB_BRANCH_NAME: ${{ steps.branch-name.outputs.current_branch }}
if: env.RUNTIME_CHECK == 1
id: run_benchmarks
run: .maintain/run_benchmarks.sh
run: .maintain/run_benchmarks.sh 50 20

- uses: EndBug/add-and-commit@v8
with:
Expand Down
45 changes: 30 additions & 15 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: CI Check
# please update docker, toolchain toml and github action with toolchain at same time

on:
push:
branches:
- main
pull_request:
branches:
- main
Expand Down Expand Up @@ -63,16 +66,13 @@ jobs:
- name: Rustup show
run: |
/home/runner/.cargo/bin/rustup show
- uses: actions/checkout@v2
- name: Run Test (with coverage)
run: |
# integration tests can't be compiled with --feature=runtime-benchmarks
# TODO: https://github.com/ComposableFi/composable/issues/535
/home/runner/.cargo/bin/cargo install -f cargo-llvm-cov
/home/runner/.cargo/bin/cargo +nightly-2021-11-08 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 --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
Expand Down Expand Up @@ -101,16 +101,21 @@ jobs:
docker system prune --force --all --volumes
- uses: actions/checkout@v2

- 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
run: .maintain/check_runtime.sh
- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v5.1

# FIXME: actually broken: https://github.com/ComposableFi/composable/runs/5570301249?check_suite_focus=true
# - 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
# run: .maintain/check_runtime.sh

- name: Run single pass benchmarking
# only run this step if there are runtime changes
if: env.RUNTIME_CHECK == 1
# if: env.RUNTIME_CHECK == 1
env:
RUST_BACKTRACE: full
run: |
Expand All @@ -123,7 +128,6 @@ jobs:
--extrinsic='*' \
--steps=1 \
--repeat=1 \
--raw \
--log error


Expand Down Expand Up @@ -177,9 +181,20 @@ jobs:
with:
node-version: 14.x

- name: Cargo fmt
- name: Cargo format (Rust)
run: |
cargo +nightly fmt --all -- --check

- name: Taplo format (Toml)
run: |
cargo install taplo-cli
taplo lint --warn-as-error
taplo fmt --warn-as-error
if ! git diff-index HEAD; then
exit 1
else
echo "Everything is fine!"
fi

- name: Hadolint
env:
Expand Down Expand Up @@ -215,7 +230,7 @@ jobs:

- 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 --tests -- -D warnings

- name: Cargo Single Depedency
# description: Speed up builds and reduced security check surface
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "ci-linux Docker image"

on:
workflow_dispatch:
push:
branches:
- ci-linux

env:
DOCKER_USER_OPTION: '$UID:$GID'
SCCACHE_GCS_BUCKET: 'composable-build-artefacts'
RUSTC_WRAPPER: "/home/runner/.cargo/bin/sccache"
SCCACHE_GCS_RW_MODE: "READ_WRITE"

jobs:
build-and-publish:
runs-on:
- self-hosted
- linux
- x64
- sre
concurrency:
group: docker-${{ github.ref }}
cancel-in-progress: true
strategy:
fail-fast: true

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

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Build Docker image
run: make containerize-ci-linux

- name: Docker push
run: make push-ci-linux
49 changes: 49 additions & 0 deletions .github/workflows/composable-sandbox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "composable-sandbox Docker image"

on:
workflow_dispatch:
push:
branches:
- composable-sandbox

env:
DOCKER_USER_OPTION: '$UID:$GID'
SCCACHE_GCS_BUCKET: 'composable-build-artefacts'
RUSTC_WRAPPER: "/home/runner/.cargo/bin/sccache"
SCCACHE_GCS_RW_MODE: "READ_WRITE"

jobs:
build-and-publish:
runs-on:
- self-hosted
- linux
- x64
- sre
concurrency:
group: docker-${{ github.ref }}
cancel-in-progress: true
strategy:
fail-fast: true

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

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Build Docker image
run: make containerize-composable-sandbox

- name: Docker push
run: make push-composable-sandbox
10 changes: 6 additions & 4 deletions .github/workflows/devnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
- uses: actions/setup-python@v2

- uses: cachix/install-nix-action@v16
with:
nix_path: nixpkgs=channel:nixos-unstable

- uses: cachix/cachix-action@v10
with:
Expand All @@ -43,14 +41,18 @@ jobs:
- name: Install latest Nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: nightly-2022-02-01
target: wasm32-unknown-unknown

- uses: Swatinem/rust-cache@v1

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

- name: Load state
run: |
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/mmr-polkadot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "mmr-polkadot Docker image"

on:
workflow_dispatch:
push:
branches:
- mmr-polkadot

env:
DOCKER_USER_OPTION: '$UID:$GID'
SCCACHE_GCS_BUCKET: 'composable-build-artefacts'
RUSTC_WRAPPER: "/home/runner/.cargo/bin/sccache"
SCCACHE_GCS_RW_MODE: "READ_WRITE"

jobs:
build-and-publish:
runs-on:
- self-hosted
- linux
- x64
- sre
concurrency:
group: docker-${{ github.ref }}
cancel-in-progress: true
strategy:
fail-fast: true

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

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Build Docker image
run: make containerize-mmr-polkadot

- name: Docker push
run: make push-mmr-polkadot
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ target
node_modules/
**/yarn-error.log
**/.yarn/
rust-toolchain.toml
rust-toolchain.toml

.benchmarkRun
21 changes: 0 additions & 21 deletions .maintain/playbooks/delete-db-directory.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .maintain/playbooks/run-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
dest: "/home/{{ user }}/basilisk"
- url: https://storage.googleapis.com/composable-binaries/testnet-releases/picasso/composable-latest.tar.gz
dest: "/home/{{ user }}/composable-latest.tar.gz"
- url: https://github.com/paritytech/polkadot/releases/download/v0.9.16/polkadot
- url: https://github.com/paritytech/polkadot/releases/download/v0.9.17/polkadot
dest: "/home/{{ user }}/polkadot"

- name: Clone composable repo
Expand Down
Loading