ci: remove ci for automated wasm rebuilds (#2168)

This commit is contained in:
gabriel klawitter
2019-04-02 12:19:52 +02:00
committed by GitHub
parent 7e3b2d464a
commit 728f0393c7
3 changed files with 9 additions and 154 deletions
+9 -29
View File
@@ -3,8 +3,8 @@
#
# check for any changes in the node/src/runtime, srml/ and core/sr_* trees. if
# there are any changes found, it should mark the PR breaksconsensus and
# "auto-fail" the PR in some way unless a) the runtime is rebuilt and b) there
# isn't a change in the runtime/src/lib.rs file that alters the version.
# "auto-fail" the PR if there isn't a change in the runtime/src/lib.rs file
# that alters the version.
set -e # fail on any error
@@ -61,30 +61,15 @@ then
github_label "B2-breaksapi"
if git diff --name-only origin/master...${CI_COMMIT_SHA} \
| grep -q "${RUNTIME}"
then
cat <<-EOT
changes to the runtime sources and changes in the spec version. Wasm
binary blob is rebuilt. Looks good.
cat <<-EOT
spec_version: ${sub_spec_version} -> ${add_spec_version}
EOT
exit 0
else
cat <<-EOT
changes to the runtime sources and changes in the spec version. Wasm
binary blob needs rebuilding!
spec_version: ${sub_spec_version} -> ${add_spec_version}
EOT
changes to the runtime sources and changes in the spec version.
spec_version: ${sub_spec_version} -> ${add_spec_version}
EOT
exit 0
# drop through into pushing `gotissues` and exit 1...
fi
else
# check for impl_version updates: if only the impl versions changed, we assume
# there is no consensus-critical logic that has changed.
@@ -122,11 +107,6 @@ else
versions file: ${VERSIONS_FILE}
note: if the master branch was merged in as automated wasm rebuilds do it
might be the case that a {spec,impl}_version has been changed. but for pull
requests that involve wasm source file changes a version has to be changed
in the pull request itself.
EOT
# drop through into pushing `gotissues` and exit 1...