This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
143 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
set -e # fail on any error | ||
set -u # treat unset variables as error | ||
|
||
DATA="secret=$RELEASES_SECRET" | ||
|
||
echo "Pushing release to Mainnet" | ||
./scripts/safe_curl.sh $DATA "http://update.parity.io:1337/push-release/$CI_BUILD_REF_NAME/$CI_BUILD_REF" | ||
|
||
echo "Pushing release to Kovan" | ||
./scripts/safe_curl.sh $DATA "http://update.parity.io:1338/push-release/$CI_BUILD_REF_NAME/$CI_BUILD_REF" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
set -eu | ||
|
||
DATA=$1 | ||
ADDRESS=$2 | ||
|
||
CODE=$(curl -o out.txt -w '%{http_code}' --data $DATA $ADDRESS) | ||
cat out.txt && rm out.txt | ||
echo "\n" | ||
|
||
if [[ $CODE -eq 200 ]]; then | ||
echo 'Pushed to updater service.'; | ||
elif [[ $CODE -eq 202 ]]; then | ||
echo 'Updater service ignored request.'; | ||
else | ||
echo 'Unable to push info to updater service.'; | ||
exit 2 | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# NOTE This file is used by the auto-updater service. | ||
# Make sure to update the service if it's moved or the structure is changed. | ||
[package] | ||
name = "parity-version" | ||
# NOTE: this value is used for Parity version string (via env CARGO_PKG_VERSION) | ||
version = "1.10.0" | ||
authors = ["Parity Technologies <admin@parity.io>"] | ||
build = "build.rs" | ||
|
||
[package.metadata] | ||
# This versions track. Should be changed to `stable` or `beta` when on respective branches. | ||
# Used by auto-updater and for Parity version string. | ||
track = "nightly" | ||
|
||
# Indicates a critical release in this track (i.e. consensus issue) | ||
critical = false | ||
|
||
# Latest supported fork blocks for various networks. Used ONLY by auto-updater. | ||
[package.metadata.forks] | ||
foundation = 4370000 | ||
ropsten = 10 | ||
kovan = 5067000 | ||
|
||
[dependencies] | ||
ethcore-bytes = { path = "../bytes" } | ||
rlp = { path = "../rlp" } | ||
target_info = "0.1" | ||
|
||
[build-dependencies] | ||
vergen = "0.1" | ||
rustc_version = "0.2.0" | ||
toml = "0.4" | ||
|
||
[features] | ||
final = [] |