-
Notifications
You must be signed in to change notification settings - Fork 674
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 9833b45 Author: Stephen Buttolph <[email protected]> Date: Sat Mar 23 22:21:23 2024 -0400 Revert removal of legacy P-chain block parsing (#2866) commit 27bea09 Author: Stephen Buttolph <[email protected]> Date: Fri Mar 22 18:01:50 2024 -0400 Push antithesis images (#2864) commit 95edd92 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Mar 22 10:46:12 2024 -0400 Bump github.com/consensys/gnark-crypto from 0.10.0 to 0.12.1 (#2862) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 7a67e5a Author: Stephen Buttolph <[email protected]> Date: Thu Mar 21 18:15:24 2024 -0400 Update versions for v1.11.3 (#2852) Co-authored-by: Darioush Jalali <[email protected]> commit ffdb67f Author: Stephen Buttolph <[email protected]> Date: Thu Mar 21 15:39:56 2024 -0400 Remove duplicate log (#2860) commit 14cdc04 Author: Stephen Buttolph <[email protected]> Date: Thu Mar 21 11:43:13 2024 -0400 Remove useless bootstrapping metric (#2858) commit 4d9bfdd Author: marun <[email protected]> Date: Thu Mar 21 16:42:00 2024 +0100 `tmpnet`: Reuse dynamically-allocated API port across restarts (#2857) commit 23e5417 Author: Stephen Buttolph <[email protected]> Date: Wed Mar 20 01:48:04 2024 -0400 Remove fallback validator height indexing (#2801) commit 0118611 Author: Alberto Benegiamo <[email protected]> Date: Tue Mar 19 18:58:15 2024 +0100 X-Chain - repackaged wallet backends (#2762) Co-authored-by: Stephen Buttolph <[email protected]> commit 9cef7d3 Author: Alberto Benegiamo <[email protected]> Date: Tue Mar 19 02:51:27 2024 +0100 P-Chain - repackaged wallet backends (#2757) Co-authored-by: Stephen Buttolph <[email protected]> commit e88e565 Author: marun <[email protected]> Date: Mon Mar 18 19:18:53 2024 +0100 `tmpnet`: Enable collection of logs and metrics (#2820) commit 6249bab Author: Alberto Benegiamo <[email protected]> Date: Mon Mar 18 19:11:00 2024 +0100 Dynamic Fees - Add E Upgrade boilerplate (#2597) Co-authored-by: Stephen Buttolph <[email protected]> commit 6a3661b Author: aaronbuchwald <[email protected]> Date: Sun Mar 17 01:45:33 2024 -0400 Remove verify height index (#2634) Co-authored-by: Stephen Buttolph <[email protected]> commit a18c4a3 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat Mar 16 16:38:40 2024 +0000 Bump bufbuild/buf-setup-action from 1.29.0 to 1.30.0 (#2842) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stephen Buttolph <[email protected]> commit b62846f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Mar 15 15:28:36 2024 +0000 Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#2849) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stephen Buttolph <[email protected]> commit 5eaa9c2 Author: Derek Rada <[email protected]> Date: Fri Mar 15 08:00:29 2024 -0700 packer build (#2806) Co-authored-by: yevhenvolchenko <[email protected]> commit 598018b Author: marun <[email protected]> Date: Thu Mar 14 20:38:07 2024 -0700 `tmpnet`: Add a UUID to temporary networks to support metrics collection (#2763) commit 4e2d005 Author: Dan Laine <[email protected]> Date: Thu Mar 14 16:22:59 2024 -0400 update merkledb readme to specify key length is in bits (#2840) Signed-off-by: Joshua Kim <[email protected]>
- Loading branch information
1 parent
93f90d9
commit a9fc9c3
Showing
161 changed files
with
2,877 additions
and
3,333 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,81 @@ | ||
packer { | ||
required_plugins { | ||
amazon = { | ||
source = "github.com/hashicorp/amazon" | ||
version = "~> 1" | ||
} | ||
ansible = { | ||
source = "github.com/hashicorp/ansible" | ||
version = "~> 1" | ||
} | ||
} | ||
} | ||
|
||
variable "skip_create_ami" { | ||
type = string | ||
default = "${env("SKIP_CREATE_AMI")}" | ||
} | ||
|
||
variable "tag" { | ||
type = string | ||
default = "${env("TAG")}" | ||
} | ||
|
||
variable "version" { | ||
type = string | ||
default = "jammy-22.04" | ||
} | ||
|
||
data "amazon-ami" "autogenerated_1" { | ||
filters = { | ||
architecture = "x86_64" | ||
name = "ubuntu/images/*ubuntu-${var.version}-*-server-*" | ||
root-device-type = "ebs" | ||
virtualization-type = "hvm" | ||
} | ||
most_recent = true | ||
owners = ["099720109477"] | ||
region = "us-east-1" | ||
} | ||
|
||
locals { | ||
skip_create_ami = var.skip_create_ami == "True" | ||
timestamp = regex_replace(timestamp(), "[- TZ:]", "") | ||
clean_name = regex_replace(timestamp(), "[^a-zA-Z0-9-]", "-") | ||
} | ||
|
||
source "amazon-ebs" "autogenerated_1" { | ||
ami_groups = ["all"] | ||
ami_name = "public-avalanche-ubuntu-${var.version}-${var.tag}-${local.timestamp}" | ||
instance_type = "c5.large" | ||
region = "us-east-1" | ||
skip_create_ami = local.skip_create_ami | ||
source_ami = "${data.amazon-ami.autogenerated_1.id}" | ||
ssh_username = "ubuntu" | ||
tags = { | ||
Base_AMI_Name = "{{ .SourceAMIName }}" | ||
Name = "public-avalanche-ubuntu-${var.version}-${var.tag}-${local.clean_name}" | ||
Release = "${var.version}" | ||
} | ||
} | ||
|
||
build { | ||
sources = ["source.amazon-ebs.autogenerated_1"] | ||
|
||
provisioner "shell" { | ||
inline = ["while [ ! -f /var/lib/cloud/instance/boot-finished ]; do echo 'Waiting for cloud-init...'; sleep 1; done", "wait_apt=$(ps aux | grep apt | wc -l)", "while [ \"$wait_apt\" -gt \"1\" ]; do echo \"waiting for apt to be ready....\"; wait_apt=$(ps aux | grep apt | wc -l); sleep 5; done", "sudo apt-get -y update", "sudo apt-get install -y python3-boto3 golang"] | ||
} | ||
|
||
provisioner "ansible" { | ||
extra_arguments = ["-e", "component=public-ami build=packer os_release=jammy tag=${var.tag}"] | ||
playbook_file = ".github/packer/create_public_ami.yml" | ||
roles_path = ".github/packer/roles/" | ||
use_proxy = false | ||
} | ||
|
||
provisioner "shell" { | ||
execute_command = "sudo bash -x {{ .Path }}" | ||
script = ".github/packer/clean-public-ami.sh" | ||
} | ||
|
||
} |
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,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
# Timestamps are in seconds | ||
from_timestamp="$(date '+%s')" | ||
monitoring_period=900 # 15 minutes | ||
to_timestamp="$((from_timestamp + monitoring_period))" | ||
|
||
# Grafana expects microseconds, so pad timestamps with 3 zeros | ||
metrics_url="${GRAFANA_URL}&var-filter=gh_job_id%7C%3D%7C${GH_JOB_ID}&from=${from_timestamp}000&to=${to_timestamp}000" | ||
|
||
# Optionally ensure that the link displays metrics only for the shared | ||
# network rather than mixing it with the results for private networks. | ||
if [[ -n "${FILTER_BY_OWNER:-}" ]]; then | ||
metrics_url="${metrics_url}&var-filter=network_owner%7C%3D%7C${FILTER_BY_OWNER}" | ||
fi | ||
|
||
echo "::notice links::metrics ${metrics_url}" |
Oops, something went wrong.