Skip to content

Commit

Permalink
Set default to the latest 1.69.0 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor authored Apr 26, 2023
1 parent 7091873 commit 9b91ab0
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cumulus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
required: false
srtool_tag:
description: The SRTOOL tag to use
default: 1.62.0
default: 1.69.0
required: false

schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/polkadot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
required: false
srtool_tag:
description: The SRTOOL tag to use
default: 1.62.0
default: 1.69.0
required: false

schedule:
Expand Down
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@
</colgroup>
<tbody>
<tr class="odd">
<td style="text-align: left;"><p><img src="https://github.com/chevdor/srtool-actions/actions/workflows/cumulus.yml/badge.svg?branch=master" alt="badge" /></p></td>
<td style="text-align: left;"><p><img src="https://github.com/chevdor/srtool-actions/actions/workflows/polkadot.yml/badge.svg?branch=master" alt="badge" /></p></td>
<td style="text-align: left;"><figure>
<img src="https://github.com/chevdor/srtool-actions/actions/workflows/cumulus.yml/badge.svg?branch=master" alt="badge" />
</figure></td>
<td style="text-align: left;"><figure>
<img src="https://github.com/chevdor/srtool-actions/actions/workflows/polkadot.yml/badge.svg?branch=master" alt="badge" />
</figure></td>
</tr>
</tbody>
</table>
Expand All @@ -17,7 +21,9 @@

[srtool](https://github.com/chevdor/srtool) is a docker image that allows building Substrate WASM Runtimes in a deterministic manner. It ensures that all `srtool` users (and tooling), using the same/latest tag, will produce 100% exactly the same runtime. It enables further trustless verifications.

![srtool gh action 512px](resources/logo/srtool-gh-action_512px.png)
<figure>
<img src="resources/logo/srtool-gh-action_256px.png" alt="srtool gh action 256px" />
</figure>

This repository contains a custom [Github Action](https://docs.github.com/en/actions) that will help you integrate `srtool` in your Github CI.

Expand Down Expand Up @@ -71,7 +77,7 @@ Make sure you store the yml files shown below in your repository under `.github/
- uses: actions/checkout@v3
- name: Srtool build
id: srtool_build
uses: chevdor/srtool-actions@v0.6.0
uses: chevdor/srtool-actions@v0.7.0
with:
chain: ${{ matrix.chain }}
runtime_dir: polkadot-parachains/${{ matrix.chain }}-runtime
Expand All @@ -97,7 +103,7 @@ Make sure you store the yml files shown below in your repository under `.github/
- uses: actions/checkout@v3
- name: Srtool build
id: srtool_build
uses: chevdor/srtool-actions@v0.6.0
uses: chevdor/srtool-actions@v0.7.0
with:
chain: ${{ matrix.chain }}
- name: Summary
Expand All @@ -124,7 +130,7 @@ Make sure you store the yml files shown below in your repository under `.github/
- uses: actions/checkout@v3
- name: Srtool build
id: srtool_build
uses: chevdor/srtool-actions@v0.6.0
uses: chevdor/srtool-actions@v0.7.0
with:
chain: ${{ matrix.chain }}
runtime_dir: polkadot-parachains/${{ matrix.chain }}-runtime
Expand Down Expand Up @@ -157,7 +163,7 @@ Make sure you store the yml files shown below in your repository under `.github/
- uses: actions/checkout@v3
- name: Srtool build
id: srtool_build
uses: chevdor/srtool-actions@v0.6.0
uses: chevdor/srtool-actions@v0.7.0
env:
# optional: will be passed to docker srtool run cmd
BUILD_OPTS: "--features on-chain-release-build"
Expand Down Expand Up @@ -186,7 +192,7 @@ Make sure you store the yml files shown below in your repository under `.github/
- uses: actions/checkout@v3
- name: Srtool build
id: srtool_build
uses: chevdor/srtool-actions@v0.6.0
uses: chevdor/srtool-actions@v0.7.0
env:
# optional: will override the parachain pallet ID and authorize_upgrade call ID,
# which will result in a different parachain_authorize_upgrade_hash
Expand Down
2 changes: 1 addition & 1 deletion README_src.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ a| image::https://github.com/chevdor/srtool-actions/actions/workflows/polkadot.y

https://github.com/chevdor/srtool[srtool] is a docker image that allows building Substrate WASM Runtimes in a deterministic manner. It ensures that all `srtool` users (and tooling), using the same/latest tag, will produce 100% exactly the same runtime. It enables further trustless verifications.

image::resources/logo/srtool-gh-action_512px.png[align=center, width=25%]
image::resources/logo/srtool-gh-action_256px.png[align=center, width=20%]

This repository contains a custom https://docs.github.com/en/actions[Github Action] that will help you integrate `srtool` in your Github CI.

Expand Down
3 changes: 1 addition & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ runs:
run: |
echo ::group::Srtool build of chain ${{ inputs.chain }}
CMD="docker run -i --rm -e PACKAGE=${{ env.PACKAGE }} -e RUNTIME_DIR=${{ env.RUNTIME_DIR }} -e BUILD_OPTS -e PARACHAIN_PALLET_ID -e AUTHORIZE_UPGRADE_PREFIX -v ${{ env.WORKDIR }}:/build ${{ env.SRTOOL_IMAGE }} build --app --json -cM"
echo ::debug::build::docker_run $CMD
echo ::debug::build::docker_run $CMD
# here we keep streaming the progress and fetch the last line for the json result
stdbuf -oL $CMD | {
while IFS= read -r line
Expand All @@ -205,5 +205,4 @@ runs:
IPFS=`echo $JSON | jq -r .runtimes.compact.ipfs`
echo "ipfs=$IPFS" >> $GITHUB_OUTPUT
}
echo ::endgroup
2 changes: 1 addition & 1 deletion examples/01_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- name: Srtool build
id: srtool_build
uses: chevdor/srtool-actions@v0.6.0
uses: chevdor/srtool-actions@v0.7.0
with:
chain: ${{ matrix.chain }}
runtime_dir: polkadot-parachains/${{ matrix.chain }}-runtime
Expand Down
2 changes: 1 addition & 1 deletion examples/02_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- name: Srtool build
id: srtool_build
uses: chevdor/srtool-actions@v0.6.0
uses: chevdor/srtool-actions@v0.7.0
with:
chain: ${{ matrix.chain }}
- name: Summary
Expand Down
2 changes: 1 addition & 1 deletion examples/03_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- name: Srtool build
id: srtool_build
uses: chevdor/srtool-actions@v0.6.0
uses: chevdor/srtool-actions@v0.7.0
with:
chain: ${{ matrix.chain }}
runtime_dir: polkadot-parachains/${{ matrix.chain }}-runtime
Expand Down
2 changes: 1 addition & 1 deletion examples/05_build_opts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- name: Srtool build
id: srtool_build
uses: chevdor/srtool-actions@v0.6.0
uses: chevdor/srtool-actions@v0.7.0
env:
# optional: will be passed to docker srtool run cmd
BUILD_OPTS: "--features on-chain-release-build"
Expand Down
2 changes: 1 addition & 1 deletion examples/06_parachain_overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- name: Srtool build
id: srtool_build
uses: chevdor/srtool-actions@v0.6.0
uses: chevdor/srtool-actions@v0.7.0
env:
# optional: will override the parachain pallet ID and authorize_upgrade call ID,
# which will result in a different parachain_authorize_upgrade_hash
Expand Down
Binary file added resources/logo/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/logo/srtool-gh-action_256px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/logo/srtool-gh-action_512px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9b91ab0

Please sign in to comment.