-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[#735] Set BLST_PORTABLE env var on correct stage
- Loading branch information
Showing
7 changed files
with
111 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
# SPDX-FileCopyrightText: 2019 TQ Tezos <https://tqtezos.com/> | ||
# | ||
# SPDX-License-Identifier: LicenseRef-MIT-TQ | ||
|
||
bot_name="CI bot" | ||
|
||
git config --local user.email "[email protected]" | ||
git config --local user.name "$bot_name" | ||
git remote remove auth-origin 2> /dev/null || : | ||
git remote add auth-origin "https://oath2:$GITHUB_PUSH_TOKEN@github.com:serokell/tezos-packaging.git" | ||
git fetch | ||
git checkout -B "$1" --track "origin/$1" | ||
|
||
python3 /tezos-packiging/docker/package/scripts/update-binaries-list.py $1 | ||
|
||
git add --all | ||
git commit --fixup HEAD -m "Updated binaries for $1 release" | ||
git push auth-origin "$our_branch" |
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,38 @@ | ||
import os | ||
import sys | ||
import json | ||
|
||
binaries_json_path = "/tezos-packiging/docker/test/binaries.json" | ||
|
||
def update_binaries(binaries, field): | ||
with open(binaries_json_path, 'r') as file: | ||
data = json.load(file) | ||
|
||
data[field] = binaries | ||
with open(binaries_json_path, 'w') as file: | ||
json.dump(data, file, indent=4) | ||
|
||
|
||
def main(): | ||
if len(sys.argv) < 3: | ||
print("You need to provide tag and path to list of binaries argument") | ||
return | ||
tag = sys.argv[1] | ||
|
||
binaries = [] | ||
with open(sys.argv[2], 'r') as f: | ||
binaries = [l.strip() for l in f.readlines()] | ||
|
||
if not binaries: | ||
raise Exception('Exception, while reading binaries list: binaries list is empty') | ||
|
||
field = 'released' | ||
if 'rc' in tag: | ||
field = 'candidates' | ||
|
||
update_binaries(binaries, field) | ||
|
||
|
||
if __name__ == '__main__': | ||
main() | ||
|
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 |
---|---|---|
@@ -1,41 +1,54 @@ | ||
{ | ||
"released": [ | ||
"tezos-smart-rollup-client-Proxford", | ||
"tezos-smart-rollup-client-PtNairob", | ||
"tezos-smart-rollup-node-Proxford", | ||
"tezos-node-mainnet", | ||
"tezos-smart-rollup-node-PtNairob", | ||
"tezos-baking", | ||
"tezos-sapling-params", | ||
"tezos-accuser-Proxford", | ||
"tezos-baker-Proxford", | ||
"tezos-accuser-PtNairob", | ||
"tezos-baker-PtNairob", | ||
"tezos-node", | ||
"tezos-dac-node", | ||
"tezos-dac-client", | ||
"tezos-smart-rollup-wasm-debugger", | ||
"tezos-codec", | ||
"tezos-accuser-Proxford", | ||
"tezos-smart-rollup-client-Proxford", | ||
"tezos-node-ghostnet", | ||
"tezos-signer-unix", | ||
"tezos-sapling-params", | ||
"tezos-node", | ||
"tezos-signer", | ||
"tezos-admin-client", | ||
"tezos-signer-https", | ||
"tezos-accuser-PtNairob", | ||
"tezos-smart-rollup-client-PtNairob", | ||
"tezos-node-nairobinet", | ||
"tezos-dac-node", | ||
"tezos-signer-http", | ||
"tezos-signer-tcp", | ||
"tezos-client", | ||
"tezos-smart-rollup-wasm-debugger" | ||
"tezos-dac-client", | ||
"tezos-smart-rollup-node-Proxford", | ||
"tezos-baker-Proxford" | ||
], | ||
"candidates": [ | ||
"tezos-smart-rollup-client-Proxford", | ||
"tezos-smart-rollup-client-PtNairob", | ||
"tezos-smart-rollup-node-Proxford", | ||
"tezos-node-mainnet", | ||
"tezos-smart-rollup-node-PtNairob", | ||
"tezos-baking", | ||
"tezos-sapling-params", | ||
"tezos-accuser-Proxford", | ||
"tezos-baker-Proxford", | ||
"tezos-accuser-PtNairob", | ||
"tezos-baker-PtNairob", | ||
"tezos-node", | ||
"tezos-dac-node", | ||
"tezos-dac-client", | ||
"tezos-smart-rollup-wasm-debugger", | ||
"tezos-codec", | ||
"tezos-accuser-Proxford", | ||
"tezos-smart-rollup-client-Proxford", | ||
"tezos-node-ghostnet", | ||
"tezos-signer-unix", | ||
"tezos-sapling-params", | ||
"tezos-node", | ||
"tezos-signer", | ||
"tezos-admin-client", | ||
"tezos-client" | ||
"tezos-signer-https", | ||
"tezos-accuser-PtNairob", | ||
"tezos-smart-rollup-client-PtNairob", | ||
"tezos-node-nairobinet", | ||
"tezos-dac-node", | ||
"tezos-signer-http", | ||
"tezos-signer-tcp", | ||
"tezos-client", | ||
"tezos-dac-client", | ||
"tezos-smart-rollup-node-Proxford", | ||
"tezos-baker-Proxford" | ||
] | ||
} | ||
} |