Skip to content

Commit

Permalink
Merge pull request #445 from serokell/auto/v13.0-rc1-release
Browse files Browse the repository at this point in the history
[Chore] v13.0-rc1 release
  • Loading branch information
rvem authored Apr 29, 2022
2 parents 2fec8d3 + ec20c6a commit 014d4f0
Show file tree
Hide file tree
Showing 50 changed files with 167 additions and 523 deletions.
2 changes: 1 addition & 1 deletion .buildkite/generate-tags-pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ymlappend () {
}

# we don't bottle meta-formulas that contain only services
formulae=("tezos-accuser-011-PtHangz2" "tezos-accuser-012-Psithaca" "tezos-admin-client" "tezos-baker-011-PtHangz2" "tezos-baker-012-Psithaca" "tezos-client" "tezos-codec" "tezos-endorser-011-PtHangz2" "tezos-node" "tezos-sandbox" "tezos-signer")
formulae=("tezos-accuser-012-Psithaca" "tezos-accuser-013-PtJakart" "tezos-admin-client" "tezos-baker-012-Psithaca" "tezos-baker-013-PtJakart" "tezos-client" "tezos-codec" "tezos-node" "tezos-sandbox" "tezos-signer")
architecture=("arm64" "x86_64")
declare -A queues=(["arm64"]="arm64-darwin" ["x86_64"]="x86_64-rosetta-darwin")
declare -A brew_bottle_oses=(["arm64"]="arm64_big_sur" ["x86_64"]="big_sur")
Expand Down
4 changes: 2 additions & 2 deletions .buildkite/pipeline-raw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ steps:
- eval "$SET_VERSION"
# Building all binary packages will take significant amount of time, so we build only one
# in order to ensure package generation sanity
- ./docker/docker-tezos-packages.sh --os ubuntu --type binary --package tezos-baker-011-PtHangz2
- ./docker/docker-tezos-packages.sh --os ubuntu --type binary --package tezos-baker-012-Psithaca
- rm -rf out
# It takes much time to build binary package, so we do it only on master
branches: "master"
Expand All @@ -143,7 +143,7 @@ steps:
- eval "$SET_VERSION"
# Building all binary packages will take significant amount of time, so we build only one
# in order to ensure package generation sanity
- ./docker/docker-tezos-packages.sh --os fedora --type binary --package tezos-baker-011-PtHangz2
- ./docker/docker-tezos-packages.sh --os fedora --type binary --package tezos-baker-012-Psithaca
- rm -rf out
# It takes much time to build binary package, so we do it only on master
branches: "master"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-bottles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
os: [ { id: macos-10.15, name: "catalina" } ]
# we don't bottle meta-formulas that contain only services
formula: [tezos-accuser-011-PtHangz2, tezos-accuser-012-Psithaca, tezos-admin-client, tezos-baker-011-PtHangz2, tezos-baker-012-Psithaca, tezos-client, tezos-codec, tezos-endorser-011-PtHangz2, tezos-node, tezos-sandbox, tezos-signer]
formula: [tezos-accuser-012-Psithaca, tezos-accuser-013-PtJakart, tezos-admin-client, tezos-baker-012-Psithaca, tezos-baker-013-PtJakart, tezos-client, tezos-codec, tezos-node, tezos-sandbox, tezos-signer]

steps:
- name: Checkout
Expand Down
7 changes: 2 additions & 5 deletions Formula/tezos-accuser-012-Psithaca.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ class << self
end
homepage "https://gitlab.com/tezos/tezos"

url "https://gitlab.com/tezos/tezos.git", :tag => "v12.3", :shallow => false
url "https://gitlab.com/tezos/tezos.git", :tag => "v13.0-rc1", :shallow => false

version "v12.3-1"
version "v13.0-rc1-1"

build_dependencies = %w[pkg-config autoconf rsync wget rustup-init]
build_dependencies.each do |dependency|
Expand All @@ -26,9 +26,6 @@ class << self

bottle do
root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuser012Psithaca.version}/"
sha256 cellar: :any, big_sur: "e443b2f58e83998d4713e2e6e9bbdb77d4971e06565aa3388bca5a5a55f0a25d"
sha256 cellar: :any, arm64_big_sur: "c662af8cdc0dfd74a753c54d141c8d54fdec9b7527d947901447bb162364840f"
sha256 cellar: :any, catalina: "037688bf6365ced1bc9f54e924905c394026dcc83b59a73d2d3508a4ee44b222"
end

def make_deps
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# SPDX-FileCopyrightText: 2021 Oxhead Alpha
# SPDX-FileCopyrightText: 2022 Oxhead Alpha
# SPDX-License-Identifier: LicenseRef-MIT-OA

class TezosAccuser011Pthangz2 < Formula
class TezosAccuser013Ptjakart < Formula
@all_bins = []

class << self
attr_accessor :all_bins
end
homepage "https://gitlab.com/tezos/tezos"

url "https://gitlab.com/tezos/tezos.git", :tag => "v12.3", :shallow => false
url "https://gitlab.com/tezos/tezos.git", :tag => "v13.0-rc1", :shallow => false

version "v12.3-1"
version "v13.0-rc1-1"

build_dependencies = %w[pkg-config autoconf rsync wget rustup-init]
build_dependencies.each do |dependency|
Expand All @@ -25,10 +25,7 @@ class << self
desc "Daemon for accusing"

bottle do
root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuser011Pthangz2.version}/"
sha256 cellar: :any, big_sur: "28feba18ddd2aef07989a0ada82f86d62cce7c6b02bd64052ea7520b3190291e"
sha256 cellar: :any, arm64_big_sur: "f8d1592a0b379a97b2fc67f506a27dfa009b42eb9305bb8c8e62800e847af9bc"
sha256 cellar: :any, catalina: "3e0d225b16b4055576ea018974b0ad3f4fb38f7e8f5ebd1a894d46b9d506cc91"
root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosAccuser013Ptjakart.version}/"
end

def make_deps
Expand Down Expand Up @@ -61,7 +58,7 @@ def install
set -euo pipefail
accuser="#{bin}/tezos-accuser-011-PtHangz2"
accuser="#{bin}/tezos-accuser-013-PtJakart"
accuser_dir="$DATA_DIR"
Expand All @@ -82,15 +79,15 @@ def install
--endpoint "$NODE_RPC_ENDPOINT" \
run
EOS
File.write("tezos-accuser-011-PtHangz2-start", startup_contents)
bin.install "tezos-accuser-011-PtHangz2-start"
File.write("tezos-accuser-013-PtJakart-start", startup_contents)
bin.install "tezos-accuser-013-PtJakart-start"
make_deps
install_template "src/proto_011_PtHangz2/bin_accuser/main_accuser_011_PtHangz2.exe",
"_build/default/src/proto_011_PtHangz2/bin_accuser/main_accuser_011_PtHangz2.exe",
"tezos-accuser-011-PtHangz2"
install_template "src/proto_013_PtJakart/bin_accuser/main_accuser_013_PtJakart.exe",
"_build/default/src/proto_013_PtJakart/bin_accuser/main_accuser_013_PtJakart.exe",
"tezos-accuser-013-PtJakart"
end

plist_options manual: "tezos-accuser-011-PtHangz2 run"
plist_options manual: "tezos-accuser-013-PtJakart run"
def plist
<<~EOS
<?xml version="1.0" encoding="UTF-8"?>
Expand All @@ -101,7 +98,7 @@ def plist
<key>Label</key>
<string>#{plist_name}</string>
<key>Program</key>
<string>#{opt_bin}/tezos-accuser-011-PtHangz2-start</string>
<string>#{opt_bin}/tezos-accuser-013-PtJakart-start</string>
<key>EnvironmentVariables</key>
<dict>
<key>DATA_DIR</key>
Expand Down
7 changes: 2 additions & 5 deletions Formula/tezos-admin-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ class << self
end
homepage "https://gitlab.com/tezos/tezos"

url "https://gitlab.com/tezos/tezos.git", :tag => "v12.3", :shallow => false
url "https://gitlab.com/tezos/tezos.git", :tag => "v13.0-rc1", :shallow => false

version "v12.3-1"
version "v13.0-rc1-1"

build_dependencies = %w[pkg-config autoconf rsync wget rustup-init]
build_dependencies.each do |dependency|
Expand All @@ -26,9 +26,6 @@ class << self

bottle do
root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosAdminClient.version}/"
sha256 cellar: :any, big_sur: "a3c0394ea9415b5016cb205b5fc7d3c39b1a23a236569f2ff482a63964535af8"
sha256 cellar: :any, arm64_big_sur: "9d050fcb4c3b526760780c24f0f40f0eab515ac716926ca65a3432ce798eb673"
sha256 cellar: :any, catalina: "67c0b74110f01ea506bb2a8dd8c1eb4ee99c9d61d151f5657e9588662cf76a91"
end

def make_deps
Expand Down
7 changes: 2 additions & 5 deletions Formula/tezos-baker-012-Psithaca.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ class << self
end
homepage "https://gitlab.com/tezos/tezos"

url "https://gitlab.com/tezos/tezos.git", :tag => "v12.3", :shallow => false
url "https://gitlab.com/tezos/tezos.git", :tag => "v13.0-rc1", :shallow => false

version "v12.3-1"
version "v13.0-rc1-1"

build_dependencies = %w[pkg-config autoconf rsync wget rustup-init]
build_dependencies.each do |dependency|
Expand All @@ -26,9 +26,6 @@ class << self

bottle do
root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosBaker012Psithaca.version}/"
sha256 cellar: :any, big_sur: "7f7d0af49d2f52559cc76949285b280dfeb2eb8be8869455aa6e42c52659f115"
sha256 cellar: :any, arm64_big_sur: "f690d2a26fe688c82a96f9e2b55e403db99e05a551b51d60842aa5f1e2192b83"
sha256 cellar: :any, catalina: "f96523cd0f3d6c43c3fe79a51f1fc0a2d2b361e57de0660343b79488facbf15a"
end

def make_deps
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# SPDX-FileCopyrightText: 2021 Oxhead Alpha
# SPDX-FileCopyrightText: 2022 Oxhead Alpha
# SPDX-License-Identifier: LicenseRef-MIT-OA

class TezosBaker011Pthangz2 < Formula
class TezosBaker013Ptjakart < Formula
@all_bins = []

class << self
attr_accessor :all_bins
end
homepage "https://gitlab.com/tezos/tezos"

url "https://gitlab.com/tezos/tezos.git", :tag => "v12.3", :shallow => false
url "https://gitlab.com/tezos/tezos.git", :tag => "v13.0-rc1", :shallow => false

version "v12.3-1"
version "v13.0-rc1-1"

build_dependencies = %w[pkg-config autoconf rsync wget rustup-init]
build_dependencies.each do |dependency|
Expand All @@ -25,10 +25,7 @@ class << self
desc "Daemon for baking"

bottle do
root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosBaker011Pthangz2.version}/"
sha256 cellar: :any, big_sur: "d0d8ea984e1a8fdcd52deab3fa928866c1b28943e809dfa82670e2c2bd52f1a1"
sha256 cellar: :any, arm64_big_sur: "c793da7d531e5d834726fa0adbaa23266db4b00140be8c1753b836db7e621ccc"
sha256 cellar: :any, catalina: "f404ef6c76d95a135fa0ba3bfdae5b110c4b644ba918dd9b65b477f8926cf0f7"
root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosBaker013Ptjakart.version}/"
end

def make_deps
Expand Down Expand Up @@ -61,7 +58,7 @@ def install
set -euo pipefail
baker="#{bin}/tezos-baker-011-PtHangz2"
baker="#{bin}/tezos-baker-013-PtJakart"
baker_dir="$DATA_DIR"
Expand Down Expand Up @@ -90,14 +87,14 @@ def install
launch_baker "$BAKER_ACCOUNT"
fi
EOS
File.write("tezos-baker-011-PtHangz2-start", startup_contents)
bin.install "tezos-baker-011-PtHangz2-start"
File.write("tezos-baker-013-PtJakart", startup_contents)
bin.install "tezos-baker-013-PtJakart-start"
make_deps
install_template "src/proto_011_PtHangz2/bin_baker/main_baker_011_PtHangz2.exe",
"_build/default/src/proto_011_PtHangz2/bin_baker/main_baker_011_PtHangz2.exe",
"tezos-baker-011-PtHangz2"
install_template "src/proto_013_PtJakart/bin_baker/main_baker_013_PtJakart.exe",
"_build/default/src/proto_013_PtJakart/bin_baker/main_baker_013_PtJakart.exe",
"tezos-baker-013-PtJakart"
end
plist_options manual: "tezos-baker-011-PtHangz2 run with local node"
plist_options manual: "tezos-baker-013-PtJakart run with local node"
def plist
<<~EOS
<?xml version="1.0" encoding="UTF-8"?>
Expand All @@ -108,7 +105,7 @@ def plist
<key>Label</key>
<string>#{plist_name}</string>
<key>Program</key>
<string>#{opt_bin}/tezos-baker-011-PtHangz2-start</string>
<string>#{opt_bin}/tezos-baker-013-PtJakart-start</string>
<key>EnvironmentVariables</key>
<dict>
<key>DATA_DIR</key>
Expand Down
7 changes: 2 additions & 5 deletions Formula/tezos-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ class << self
end
homepage "https://gitlab.com/tezos/tezos"

url "https://gitlab.com/tezos/tezos.git", :tag => "v12.3", :shallow => false
url "https://gitlab.com/tezos/tezos.git", :tag => "v13.0-rc1", :shallow => false

version "v12.3-1"
version "v13.0-rc1-1"

build_dependencies = %w[pkg-config autoconf rsync wget rustup-init]
build_dependencies.each do |dependency|
Expand All @@ -26,9 +26,6 @@ class << self

bottle do
root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosClient.version}/"
sha256 cellar: :any, big_sur: "2bbc8145f26967977494aa81977b462047e1f70e93861e5050bac5a16adb2034"
sha256 cellar: :any, arm64_big_sur: "fe840d7b0722f6b7c891e968695af7b3589f9c27f9a3b3914f3963dbcd6e23c3"
sha256 cellar: :any, catalina: "8cef14b4143638354f18d1edca8cab9c900ada6e831e974543b3db5dd7df75ee"
end

def make_deps
Expand Down
7 changes: 2 additions & 5 deletions Formula/tezos-codec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ class << self
end
homepage "https://gitlab.com/tezos/tezos"

url "https://gitlab.com/tezos/tezos.git", :tag => "v12.3", :shallow => false
url "https://gitlab.com/tezos/tezos.git", :tag => "v13.0-rc1", :shallow => false

version "v12.3-1"
version "v13.0-rc1-1"

build_dependencies = %w[pkg-config autoconf rsync wget rustup-init]
build_dependencies.each do |dependency|
Expand All @@ -26,9 +26,6 @@ class << self

bottle do
root_url "https://github.com/serokell/tezos-packaging/releases/download/#{TezosCodec.version}/"
sha256 cellar: :any, big_sur: "4946a81d767617c78171eabf1eb416be54274f246f25b85d609d8d6b8f861002"
sha256 cellar: :any, arm64_big_sur: "167c1c1c95be06f807e458416cc550fec5313c85be2e021178c3340682c0752b"
sha256 cellar: :any, catalina: "898babdca7fc3cf0d5846f863b762bf525c77c5dbb007d0d326ba38d7b35258b"
end

def make_deps
Expand Down
Loading

0 comments on commit 014d4f0

Please sign in to comment.