ci: add kubernetes helm chart and gcp deployment (#1854)

* ci: add kubernetes helm chart and gcp deployment

* use official or parity's docker images only
This commit is contained in:
gabriel klawitter
2019-02-27 12:37:10 +01:00
committed by GitHub
parent 5282615416
commit f5c32f71f4
11 changed files with 425 additions and 37 deletions
@@ -45,6 +45,11 @@ EOT
test "${mergeable}" = "true" && echo "| yes, it is." && exit 0
if [ "${baseref}" = "null" -o "${baserepo}" = "null" ]
then
echo "| either connectivity issues with github or pull request not existant"
exit 3
fi
cat <<-EOT
| not mergeable
@@ -94,7 +99,6 @@ curl -sS -X POST \
-F "token=${CI_JOB_TOKEN}" \
-F "ref=master" \
-F "variables[REBUILD_WASM]=\"${baserepo}:${baseref}\"" \
-F "variables[PRNO]=${CI_COMMIT_REF_NAME}" \
${GITLAB_API}/projects/${GITHUB_API_PROJECT}/trigger/pipeline \
| jq -r .web_url
+12 -7
View File
@@ -1,9 +1,9 @@
#!/bin/sh
#
#
# 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
#
#
# 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.
set -e # fail on any error
@@ -66,14 +66,14 @@ then
then
cat <<-EOT
changes to the runtime sources and changes in the spec version. Wasm
changes to the runtime sources and changes in the spec version. Wasm
binary blob is rebuilt. Looks good.
spec_version: ${sub_spec_version} -> ${add_spec_version}
EOT
exit 0
else
else
cat <<-EOT
changes to the runtime sources and changes in the spec version. Wasm
@@ -122,6 +122,11 @@ 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...