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

chore: publish metadata as gitlab artifact #459

Merged
merged 11 commits into from
May 2, 2023
8 changes: 6 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ build:

build-wasm-peregrine:
image:
name: paritytech/srtool:1.66.1-0.9.25
name: paritytech/srtool:1.69.0
entrypoint: [""]
stage: build
only:
Expand All @@ -79,16 +79,18 @@ build-wasm-peregrine:
- export AUTHORIZE_UPGRADE_PREFIX=0x02
- cp -r * /build
- /srtool/build build
- subwasm meta --format=json+scale /out/peregrine_runtime.compact.wasm > /out/peregrine-metadata.json
- mkdir ./out
- mv /out/* ./out/
artifacts:
paths:
- out/*.wasm
- out/*.json
expire_in: 12 week

build-wasm-spiritnet:
image:
name: paritytech/srtool:1.66.1-0.9.25
name: paritytech/srtool:1.69.0
entrypoint: [""]
stage: build
only:
Expand All @@ -102,9 +104,11 @@ build-wasm-spiritnet:
- export AUTHORIZE_UPGRADE_PREFIX=0x02
- cp -r * /build
- /srtool/build build
- subwasm meta --format=json+scale /out/spiritnet_runtime.wasm > /out/spiritnet-metadata.json
- mkdir ./out
- mv /out/* ./out/
artifacts:
paths:
- out/*.wasm
- out/*.json
expire_in: 12 week