-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[testing] Simplify log and metric collection
Update to use the avalanchego nix flake to install promtail and prometheus and have tmpnet run them, removing the need for the run_prometheus.sh and run_promtail.sh scripts.
- Loading branch information
Showing
8 changed files
with
106 additions
and
260 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,24 @@ | ||
{ | ||
# To use: | ||
# - install nix: https://github.com/DeterminateSystems/nix-installer?tab=readme-ov-file#install-nix | ||
# - run `nix develop` or use direnv (https://direnv.net/) | ||
# - for quieter direnv output, set `export DIRENV_LOG_FORMAT=` | ||
|
||
description = "Subnet-EVM development environment"; | ||
|
||
inputs = { | ||
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2405.*.tar.gz"; | ||
avalanchego.url = "github:ava-labs/avalanchego?ref=424f7dc65171573bda0dd3537a0520febf1a73eb"; | ||
}; | ||
|
||
outputs = { self, nixpkgs, avalanchego, ... }: | ||
let | ||
allSystems = builtins.attrNames avalanchego.devShells; | ||
forAllSystems = nixpkgs.lib.genAttrs allSystems; | ||
in { | ||
# Define the development shells for this repository | ||
devShells = forAllSystems (system: { | ||
default = avalanchego.devShells.${system}.default; | ||
}); | ||
}; | ||
} |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.