Skip to content

Commit

Permalink
ci: generate diff between new and current runtime (#549)
Browse files Browse the repository at this point in the history
## fixes https://github.com/KILTprotocol/ticket/issues/2419

Describes the changes between the currently deployed spiritnet and
peregrine runtimes.
  • Loading branch information
weichweich authored Aug 10, 2023
1 parent 46a59b0 commit 649b8fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,15 @@ build-wasm-peregrine:
- cp -r * /build
- /srtool/build build
- subwasm meta --format=json+scale /out/peregrine_runtime.compact.wasm > /out/peregrine-metadata.json
- subwasm get -o peregrine-live.wasm wss://peregrine.kilt.io
- subwasm diff --no-color peregrine-live.wasm /out/peregrine_runtime.compact.wasm | tee /out/peregrine-diff.txt
- mkdir ./out
- mv /out/* ./out/
artifacts:
paths:
- out/*.wasm
- out/*.json
- out/*.txt
expire_in: 12 week

build-wasm-spiritnet:
Expand All @@ -97,10 +100,13 @@ build-wasm-spiritnet:
- cp -r * /build
- /srtool/build build
- subwasm meta --format=json+scale /out/spiritnet_runtime.compact.wasm > /out/spiritnet-metadata.json
- subwasm get -o spiritnet-live.wasm wss://spiritnet.kilt.io
- subwasm diff --no-color spiritnet-live.wasm /out/spiritnet_runtime.compact.wasm | tee /out/spiritnet-diff.txt
- mkdir ./out
- mv /out/* ./out/
artifacts:
paths:
- out/*.wasm
- out/*.json
- out/*.txt
expire_in: 12 week

0 comments on commit 649b8fc

Please sign in to comment.