Skip to content

Commit 02068bc

Browse files
authored
Release 0.9.18 (#28)
* chore: bump rustc to 1.55.0 and version to 0.9.18 * Update links from substrate.dev to substrate.io * Switch to Rust 1.56.1
1 parent 93033dd commit 02068bc

File tree

12 files changed

+39
-39
lines changed

12 files changed

+39
-39
lines changed

.github/workflows/manual-acala.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Manual Build - Acala
22

33
env:
4-
SUBWASM_VERSION: 0.14.1
4+
SUBWASM_VERSION: 0.15.0
55

66
on:
77
workflow_dispatch:
88
inputs:
99
srtool_tag:
1010
description: The SRTOOL tag to use
11-
default: 1.53.0
11+
default: 1.56.1
1212
required: false
1313
ref:
1414
description: The ref to be used for the repo

.github/workflows/manual-bridges.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Manual Build - Bridges
22

33
env:
4-
SUBWASM_VERSION: 0.14.1
4+
SUBWASM_VERSION: 0.15.0
55

66
on:
77
workflow_dispatch:
88
inputs:
99
srtool_tag:
1010
description: The SRTOOL tag to use
11-
default: 1.53.0
11+
default: 1.56.1
1212
required: false
1313
ref:
1414
description: The ref to be used for the repo

.github/workflows/manual-cumulus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Manual Build - Cumulus
22

33
env:
4-
SUBWASM_VERSION: 0.14.1
4+
SUBWASM_VERSION: 0.15.0
55

66
on:
77
workflow_dispatch:
88
inputs:
99
srtool_tag:
1010
description: The SRTOOL tag to use
11-
default: 1.53.0
11+
default: 1.56.1
1212
required: false
1313
ref:
1414
description: The ref to be used for the repo

.github/workflows/manual-moonbeam.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Manual Build - Moonbeam
22

33
env:
4-
SUBWASM_VERSION: 0.14.1
4+
SUBWASM_VERSION: 0.15.0
55

66
on:
77
workflow_dispatch:
88
inputs:
99
srtool_tag:
1010
description: The SRTOOL tag to use
11-
default: 1.53.0
11+
default: 1.56.1
1212
required: false
1313
ref:
1414
description: The ref to be used for the repo

.github/workflows/manual-polkadot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Manual Build - Polkadot
22

33
env:
4-
SUBWASM_VERSION: 0.14.1
4+
SUBWASM_VERSION: 0.15.0
55

66
on:
77
workflow_dispatch:
88
inputs:
99
srtool_tag:
1010
description: The SRTOOL tag to use
11-
default: 1.53.0
11+
default: 1.56.1
1212
required: false
1313
ref:
1414
description: The ref to be used for the repo

.github/workflows/manual-shiden.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: Manual Build - Shiden
22

33
env:
4-
SUBWASM_VERSION: 0.14.1
4+
SUBWASM_VERSION: 0.15.0
55
REF_FOR_SCHEDULE: development/shiden
66

77
on:
88
workflow_dispatch:
99
inputs:
1010
srtool_tag:
1111
description: The SRTOOL tag to use
12-
default: 1.53.0
12+
default: 1.56.1
1313
required: false
1414
ref:
1515
description: The ref to be used for the repo

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM docker.io/library/ubuntu:20.04
33
LABEL maintainer "[email protected]"
44
LABEL description="This image contains tools for Substrate blockchains runtimes."
55

6-
ARG RUSTC_VERSION="1.53.0"
6+
ARG RUSTC_VERSION="1.56.1"
77
ENV RUSTC_VERSION=$RUSTC_VERSION
88
ENV DOCKER_IMAGE="paritytech/srtool"
99
ENV PROFILE=release
@@ -16,7 +16,7 @@ ENV CARGO_HOME="/cargo-home"
1616
ENV DEBIAN_FRONTEND=noninteractive
1717

1818
# Tooling
19-
ARG SUBWASM_VERSION=0.14.1
19+
ARG SUBWASM_VERSION=0.15.0
2020
ARG TERA_CLI_VERSION=0.2.0
2121
ARG TOML_CLI_VERSION=0.2.1
2222

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Intro
66

7-
`srtool` is a collection of dockerized tools helping with [Substrate](https://substrate.dev) & [Polkadot](https://polkadot.network) Runtime development. `srtool` especially allows building WASM runtimes in a deterministic way, allowing CIs and users, with various machines and OS, to produce a strictly identical WASM runtime.
7+
`srtool` is a collection of dockerized tools helping with [Substrate](https://substrate.io) & [Polkadot](https://polkadot.network) Runtime development. `srtool` especially allows building WASM runtimes in a deterministic way, allowing CIs and users, with various machines and OS, to produce a strictly identical WASM runtime.
88

99
`srtool` can run on various Operating Systems supporting Docker. That includes Linux, MacOS and Windows.
1010

@@ -16,13 +16,13 @@ The Docker images are tagged with both the rustc version used internally as well
1616

1717
You will find for instance the following:
1818

19-
- `paritytech/srtool:1.53.0-0.9.16`
19+
- `paritytech/srtool:1.56.1-0.9.16`
2020

21-
- `paritytech/srtool:1.53.0-0.9.17`
21+
- `paritytech/srtool:1.56.1-0.9.18`
2222

23-
- `paritytech/srtool:1.53.0`
23+
- `paritytech/srtool:1.56.1`
2424

25-
The tags not mentioning the build version always point to the latest one. In the example above, `paritytech/srtool:1.53.0` is the same image than `paritytech/srtool:1.53.0-0.9.17`.
25+
The tags not mentioning the build version always point to the latest one. In the example above, `paritytech/srtool:1.56.1` is the same image than `paritytech/srtool:1.56.1-0.9.18`.
2626

2727
## Related tools
2828

@@ -47,7 +47,7 @@ You may also want to have a look at [subwasm](https://github.com/chevdor/subwasm
4747
The project was initially developped from <https://gitlab.com/chevdor>.
4848
It now moved to Github under the [Parity Technologies](https://www.github.com/paritytech) organisation to simplify the developement and the integration with other Parity products such as Polkadot and Kusama.
4949

50-
The last version hosted on Gitlab has been built using Rust Stable 1.53.0. It is tagged as v0.9.17 and there is no plan on updating the Gitlab repository further. New versions will be available from <https://www.github.com/paritytech/srtool>. The functionnalities remain the same so you can (and should!) simply swap `chevdor/srtool` for `paritytech/srtool` in your workflows. The [srtool-actions](https://github.com/chevdor/srtool-actions) will remain available as `chevdor/srtool-actions@<version>` and will be updated to point at the paritytech image.
50+
The last version hosted on Gitlab has been built using Rust Stable 1.56.1. It is tagged as v0.9.18 and there is no plan on updating the Gitlab repository further. New versions will be available from <https://www.github.com/paritytech/srtool>. The functionnalities remain the same so you can (and should!) simply swap `chevdor/srtool` for `paritytech/srtool` in your workflows. The [srtool-actions](https://github.com/chevdor/srtool-actions) will remain available as `chevdor/srtool-actions@<version>` and will be updated to point at the paritytech image.
5151

5252
## Install
5353

@@ -63,7 +63,7 @@ This method is legacy and deprecated, prefer the `srtool-cli` utility mentioned
6363

6464
Creating an alias helps hiding the docker complexity behind one simple command. We will see more powerful options but this one is simple enough.
6565

66-
export RUSTC_VERSION=1.53.0; export PACKAGE=kusama-runtime; alias srtool='docker run --rm -it -e PACKAGE=$PACKAGE -v $PWD:/build -v $TMPDIR/cargo:/cargo-home paritytech/srtool:$RUSTC_VERSION'
66+
export RUSTC_VERSION=1.56.1; export PACKAGE=kusama-runtime; alias srtool='docker run --rm -it -e PACKAGE=$PACKAGE -v $PWD:/build -v $TMPDIR/cargo:/cargo-home paritytech/srtool:$RUSTC_VERSION'
6767

6868
Note that defining the alias as done above will hardcode the runtime. Using `kusama-runtime` as show above means you will **always** check the kusama runtime. If you need more, check the next chapter.
6969

@@ -91,20 +91,20 @@ Invoking `srtool build` with:
9191

9292
will output something that looks like this:
9393

94-
🧰 Substrate Runtime Toolbox - srtool v0.9.17 🧰
94+
🧰 Substrate Runtime Toolbox - srtool v0.9.18 🧰
9595
- by Chevdor -
96-
🏗 Building polkadot-runtime as release using rustc 1.53.0
96+
🏗 Building polkadot-runtime as release using rustc 1.56.1
9797
⏳ That can take a little while, be patient... subsequent builds will be faster.
9898
Since you have to wait a little, you may want to learn more about Substrate runtimes:
99-
https://substrate.dev/docs/en/#architecture
99+
https://docs.substrate.io/v3/getting-started/architecture/
100100

101101
Finished release [optimized] target(s) in 37.43s
102102

103103
some times later …​
104104

105105
✨ Your Substrate WASM Runtime is ready! ✨
106106
Summary:
107-
Generator : srtool v0.9.17
107+
Generator : srtool v0.9.18
108108
Version : null
109109
GIT commit : 56b9e95a9b634695f59a7c699bc68a5cfb695f03
110110
GIT tag : moonriver-genesis
@@ -134,13 +134,13 @@ If you prefer a json output, srtool has you covered:
134134
Will give you such an output:
135135

136136
{
137-
"gen": "srtool v0.9.17",
137+
"gen": "srtool v0.9.18",
138138
"src": "git",
139139
"version": "1.0.0",
140140
"commit": "85cad2ef48f123d7475385b00d113bc900324ad6",
141141
"tag": "statemine-v1.0.0",
142142
"branch": "wk-gh-actions",
143-
"rustc": "rustc 1.53.0 (...)",
143+
"rustc": "rustc 1.56.1 (...)",
144144
"pkg": "statemine-runtime",
145145
"tmsp": "2021-06-22T18:08:50Z",
146146
"size": "1538747",
@@ -151,7 +151,7 @@ Will give you such an output:
151151
"info": {
152152
"generator": {
153153
"name": "srtool",
154-
"version": "0.9.17"
154+
"version": "0.9.18"
155155
},
156156
"src": "git",
157157
"version": "1.0.0",
@@ -160,7 +160,7 @@ Will give you such an output:
160160
"tag": "statemine-v1.0.0",
161161
"branch": "wk-gh-actions"
162162
},
163-
"rustc": "rustc 1.53.0 (...)",
163+
"rustc": "rustc 1.56.1 (...)",
164164
"pkg": "statemine-runtime",
165165
"profile": "release"
166166
},
@@ -313,9 +313,9 @@ First you may want to double check what rustc versions are available as you will
313313

314314
rustup check
315315

316-
So say you want to build a builder for rustc 1.53.0:
316+
So say you want to build a builder for rustc 1.56.1:
317317

318-
RUSTC_VERSION=1.53.0 && docker build --build-arg RUSTC_VERSION=$RUSTC_VERSION -t paritytech/srtool:$RUSTC_VERSION .
318+
RUSTC_VERSION=1.56.1 && docker build --build-arg RUSTC_VERSION=$RUSTC_VERSION -t paritytech/srtool:$RUSTC_VERSION .
319319

320320
## User Scripts
321321

@@ -329,7 +329,7 @@ You can see the list of available scripts in the `/scripts` folder:
329329

330330
- `build`: Run the actual build
331331

332-
The `info` and `version` scripts pass any arguments you pass to the script to `jq`. So you can play with `c` (compact), `-M`(monochrome), `-C` color output. For instance `docker run --rm -it -v $PWD:/build chevdor/srtool:1.53.0 info -cM` shows a monochrome output on a single line.
332+
The `info` and `version` scripts pass any arguments you pass to the script to `jq`. So you can play with `c` (compact), `-M`(monochrome), `-C` color output. For instance `docker run --rm -it -v $PWD:/build chevdor/srtool:1.56.1 info -cM` shows a monochrome output on a single line.
333333

334334
## Build your custom chain / parachain
335335

README_src.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:name: paritytech/srtool
2-
:rsversion: 1.53.0
3-
:version: 0.9.17
2+
:rsversion: 1.56.1
3+
:version: 0.9.18
44
// :rsversion: pass:m[include:RUSTC_VERSION[]] // TODO: not working...
55
:toc: right
66
:sectnums:
@@ -11,7 +11,7 @@ image::resources/srtool-docker_128px.png[align=center, width=128px]
1111

1212
== Intro
1313

14-
`srtool` is a collection of dockerized tools helping with https://substrate.dev[Substrate] & https://polkadot.network[Polkadot] Runtime development. `srtool` especially allows building WASM runtimes in a deterministic way, allowing CIs and users, with various machines and OS, to produce a strictly identical WASM runtime.
14+
`srtool` is a collection of dockerized tools helping with https://substrate.io[Substrate] & https://polkadot.network[Polkadot] Runtime development. `srtool` especially allows building WASM runtimes in a deterministic way, allowing CIs and users, with various machines and OS, to produce a strictly identical WASM runtime.
1515

1616
`srtool` can run on various Operating Systems supporting Docker. That includes Linux, MacOS and Windows.
1717

@@ -101,7 +101,7 @@ will output something that looks like this:
101101
🏗 Building polkadot-runtime as release using rustc {rsversion}
102102
⏳ That can take a little while, be patient... subsequent builds will be faster.
103103
Since you have to wait a little, you may want to learn more about Substrate runtimes:
104-
https://substrate.dev/docs/en/#architecture
104+
https://docs.substrate.io/v3/getting-started/architecture/
105105
106106
Finished release [optimized] target(s) in 37.43s
107107
----

RUSTC_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.53.0
1+
1.56.1

0 commit comments

Comments
 (0)