forked from grafana/cortex-jsonnet
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix test-readme Signed-off-by: Friedrich Gonzalez <[email protected]> * Add error Signed-off-by: Friedrich Gonzalez <[email protected]> * :ry again Signed-off-by: Friedrich Gonzalez <[email protected]> * Fix test Signed-off-by: Friedrich Gonzalez <[email protected]> * Remove unneeded Signed-off-by: Friedrich Gonzalez <[email protected]> * Really show content Signed-off-by: Friedrich Gonzalez <[email protected]> --------- Signed-off-by: Friedrich Gonzalez <[email protected]>
- Loading branch information
1 parent
47240d3
commit 1fcee6a
Showing
3 changed files
with
28 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
set -xe | ||
rm -rf $1 | ||
mkdir -p $1 | ||
cd $1 | ||
tk init --k8s=1.26 | ||
jb install github.com/cortexproject/cortex-jsonnet/cortex@main | ||
rm -fr ./vendor/cortex | ||
cp -r ../../cortex ./vendor/ | ||
cp vendor/cortex/$(basename $1)/main.jsonnet.example environments/default/main.jsonnet | ||
PAGER=cat tk show --dangerous-allow-redirect environments/default |