Skip to content

Commit 31a423e

Browse files
committed
chore: switch from chevdor to paritytech
1 parent d66ceed commit 31a423e

File tree

8 files changed

+28
-28
lines changed

8 files changed

+28
-28
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,3 @@ jobs:
140140
run: |
141141
docker push $REPO:$RUSTC_VERSION-$SRTOOL_VERSION
142142
docker push $REPO:$RUSTC_VERSION
143-

.github/workflows/tests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
key: srtool-docker-image
3838
path: |
3939
srtool.tar.gz
40-
40+
4141
common:
4242
runs-on: ubuntu-latest
4343
needs: build
@@ -78,7 +78,6 @@ jobs:
7878
matrix:
7979
chain: ["polkadot", "kusama", "westend"]
8080
steps:
81-
# - uses: actions/download-artifact@v2
8281
- name: Cache the image
8382
uses: actions/cache@v2
8483
with:
@@ -176,7 +175,6 @@ jobs:
176175
matrix:
177176
chain: ["statemine", "statemint", "westmint", "rococo", "shell"]
178177
steps:
179-
# - uses: actions/download-artifact@v2
180178
- name: Cache the image
181179
uses: actions/cache@v2
182180
with:
@@ -274,7 +272,6 @@ jobs:
274272
matrix:
275273
chain: ["millau", "rialto"]
276274
steps:
277-
# - uses: actions/download-artifact@v2
278275
- name: Cache the image
279276
uses: actions/cache@v2
280277
with:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LABEL description="This image contains tools for Substrate blockchains runtimes.
55

66
ARG RUSTC_VERSION="1.53.0"
77
ENV RUSTC_VERSION=$RUSTC_VERSION
8-
ENV DOCKER_IMAGE="chevdor/srtool"
8+
ENV DOCKER_IMAGE="paritytech/srtool"
99
ENV PROFILE=release
1010
ENV PACKAGE=polkadot-runtime
1111

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44

55
## Intro
66

7-
srtool is a collection of dockerized tools helping with [Substrate](https://substrate.dev) & [Polkadot](https://polkadot.network) Runtime development.
7+
`srtool` is a collection of dockerized tools helping with [Substrate](https://substrate.dev) & [Polkadot](https://polkadot.network) Runtime development. The project was initially developped from [my Gitlab account](https://gitlab.com/chevdor).
8+
The project 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.
89

9-
It especially helps with building and verifying Wasm Runtime Blobs. The Docker image is `chevdor/srtool`. You can find it at <https://hub.docker.com/r/chevdor/srtool>.
10+
The last version hosted on Gitlab has been built using Rust Stable 1.53.0. It is tagged as v0.9.14 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.
11+
12+
`srtool` especially helps with building and verifying WASM Runtimes. The Docker image is `paritytech/srtool`. You can find it at <https://hub.docker.com/r/paritytech/srtool>.
1013

1114
There are a few other helpers you may want to chcek out when using `srtool`:
1215

@@ -20,27 +23,27 @@ There are a few other helpers you may want to chcek out when using `srtool`:
2023

2124
![Frame 1 256](resources/Frame%201_256.png)
2225

23-
`srtool` is a tool for chain builders, it is widely used in CI such as Github Actions, it can also be used by anyone who wants to indenpendantly check and audit a chain or parachain.
26+
`srtool` is a tool for chain builders, it is widely used in CI such as Github Actions, it can also be used by anyone who wants to indenpendantly check and audit a chain or a parachain.
2427

2528
You may also want to have a look at [subwasm](https://github.com/chevdor/subwasm) as it is now part of the tooling included in `srtool`. `subwasm` can also be used independantly upon building your wasm with `srtool`.
2629

2730
## Install
2831

2932
### Install the srtool-cli
3033

31-
Since the `srtool-cli` (<https://gitlab.com/chevdor/srtool-cli>) exists, there is no reason to be using an alias. Using the cli over the alias brings many advantages and will save you time.
34+
Since the `srtool-cli` (<https://github.com/chevdor/srtool-cli>) exists, there is no reason to be using an alias. Using the cli over the alias brings many advantages and will save you time.
3235

33-
The `srtool-cli` is a command line utility written in Rust, you can read more in [its repository](https://gitlab.com/chevdor/srtool-cli), the installation process is described in more details there. In short:
36+
The `srtool-cli` is a command line utility written in Rust, you can read more in [its repository](https://github.com/chevdor/srtool-cli), the installation process is described in more details there. In short:
3437

35-
cargo install --git https://gitlab.com/chevdor/srtool-cli
38+
cargo install --git https://github.com/chevdor/srtool-cli
3639

3740
### Using an alias
3841

3942
This method is legacy and deprecated, prefer the `srtool-cli` utility mentioned above. This information is left here however for documentation purpose but all the functions are now availabe in the `srtool-cli`.
4043

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

43-
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 chevdor/srtool:$RUSTC_VERSION'
46+
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'
4447

4548
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.
4649

@@ -271,12 +274,12 @@ If you are using `zsh` and `zinit`, you may benefit from using the srtool snippe
271274
To do so, add the following to your `zshconfig`:
272275

273276
MY_REPO="https://gitlab.com/chevdor/dotfiles/-/raw/master/zsh-plugins"
274-
for plugin (git cargo srtool); {
277+
for plugin (git cargo srtool); {
275278
SNIPPET="$MY_REPO/$plugin/$plugin.plugin.zsh"
276279
zinit snippet $SNIPPET
277280
}
278281

279-
- Chose the snippets you want, the one called `srtool` here is the interesting one.
282+
- Chose the snippets you want, the one called `srtool` here is the interesting one.
280283

281284
After that, make sure to:
282285
- upgrade your snippets: `zplugin update --all`
@@ -292,7 +295,7 @@ First you may want to double check what rustc versions are available as you will
292295

293296
So say you want to build a builder for rustc 1.53.0:
294297

295-
RUSTC_VERSION=1.53.0 && docker build --build-arg RUSTC_VERSION=$RUSTC_VERSION -t chevdor/srtool:$RUSTC_VERSION .
298+
RUSTC_VERSION=1.53.0 && docker build --build-arg RUSTC_VERSION=$RUSTC_VERSION -t paritytech/srtool:$RUSTC_VERSION .
296299

297300
## User Scripts
298301

README_src.adoc

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:name: chevdor/srtool
1+
:name: paritytech/srtool
22
:rsversion: 1.53.0
33
// :rsversion: pass:m[include:RUSTC_VERSION[]] // TODO: not working...
44
:toc: right
@@ -10,9 +10,12 @@ image::resources/srtool-docker_512px.png[align=center, width=256px]
1010

1111
== Intro
1212

13-
srtool is a collection of dockerized tools helping with https://substrate.dev[Substrate] & https://polkadot.network[Polkadot] Runtime development.
13+
`srtool` is a collection of dockerized tools helping with https://substrate.dev[Substrate] & https://polkadot.network[Polkadot] Runtime development. The project was initially developped from https://gitlab.com/chevdor[my Gitlab account].
14+
The project now moved to Github under the https://www.github.com/paritytech[Parity Technologies] organisation to simplify the developement and the integration with other Parity products such as Polkadot and Kusama.
1415

15-
It especially helps with building and verifying Wasm Runtime Blobs. The Docker image is `{name}`. You can find it at https://hub.docker.com/r/{name}.
16+
The last version hosted on Gitlab has been built using Rust Stable 1.53.0. It is tagged as v0.9.14 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 https://github.com/chevdor/srtool-actions[srtool-actions] will remain available as `chevdor/srtool-actions@<version>` and will be updated to point at the paritytech image.
17+
18+
`srtool` especially helps with building and verifying WASM Runtimes. The Docker image is `{name}`. You can find it at https://hub.docker.com/r/{name}.
1619

1720
There are a few other helpers you may want to chcek out when using `srtool`:
1821

@@ -23,19 +26,19 @@ There are a few other helpers you may want to chcek out when using `srtool`:
2326

2427
image::resources/Frame 1_256.png[align=center]
2528

26-
`srtool` is a tool for chain builders, it is widely used in CI such as Github Actions, it can also be used by anyone who wants to indenpendantly check and audit a chain or parachain.
29+
`srtool` is a tool for chain builders, it is widely used in CI such as Github Actions, it can also be used by anyone who wants to indenpendantly check and audit a chain or a parachain.
2730

2831
You may also want to have a look at https://github.com/chevdor/subwasm[subwasm] as it is now part of the tooling included in `srtool`. `subwasm` can also be used independantly upon building your wasm with `srtool`.
2932

3033
== Install
3134

3235
=== Install the srtool-cli
3336

34-
Since the `srtool-cli` (https://gitlab.com/chevdor/srtool-cli) exists, there is no reason to be using an alias. Using the cli over the alias brings many advantages and will save you time.
37+
Since the `srtool-cli` (https://github.com/chevdor/srtool-cli) exists, there is no reason to be using an alias. Using the cli over the alias brings many advantages and will save you time.
3538

36-
The `srtool-cli` is a command line utility written in Rust, you can read more in https://gitlab.com/chevdor/srtool-cli[its repository], the installation process is described in more details there. In short:
39+
The `srtool-cli` is a command line utility written in Rust, you can read more in https://github.com/chevdor/srtool-cli[its repository], the installation process is described in more details there. In short:
3740

38-
cargo install --git https://gitlab.com/chevdor/srtool-cli
41+
cargo install --git https://github.com/chevdor/srtool-cli
3942

4043
=== Using an alias
4144

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export RUSTC_VERSION:=`cat RUSTC_VERSION`
2-
export REPO:="chevdor/srtool"
2+
export REPO:="paritytech/srtool"
33
export TAG:=`cat VERSION`
44

55
build:

scripts/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cd /build
1010

1111
export VERSION=`cat /srtool/VERSION || echo 0.0.0`
1212
export GEN="srtool v$VERSION"
13-
export LATEST_VERSION=$(curl -s https://gitlab.com/chevdor/srtool/raw/master/VERSION)
13+
export LATEST_VERSION=$(curl -s https://github.com/paritytech/srtool/raw/master/VERSION)
1414

1515
vercomp $LATEST_VERSION $VERSION
1616

scripts/help.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ First of all, make sure you are in your Substrate/Polkadot repo:
44

55
cd /my/project/substrate
66

7-
Read the documentation at https://gitlab.com/chevdor/srtool
8-
First set the srtool alias (see the README at the link above).
9-
7+
Read the documentation at https://github.com/paritytech/srtool for more details.
108
You may use one of the following commands:
119
$ export PACKAGE=kusama-runtime
1210
$ srtool version

0 commit comments

Comments
 (0)