Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Friedrich Gonzalez <[email protected]>
  • Loading branch information
friedrichg committed Jun 8, 2024
1 parent 57197ed commit dfb3801
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
with:
fetch-depth: 0

- name: "Test readme aws"
run: make test-readme/aws
- name: "Test readme s3"
run: make test-readme/s3
- name: "Test readme azure"
run: make test-readme/azure
- name: "Test readme gcs"
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,10 @@ clean-white-noise:

check-white-noise: clean-white-noise
@git diff --exit-code --quiet || (echo "Please remove trailing whitespaces running 'make clean-white-noise'" && false)

.PHONY: clean
clean:
rm -rf cortex-mixin/out
rm -rf cortex-mixin/vendor
rm -f cortex-mixin/cortex-mixin.zip
rm -rf test-readme
4 changes: 2 additions & 2 deletions scripts/test-readme.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh
set -e
set -xe
rm -rf $1
mkdir -p $1
cd $1
tk init --k8s=1.24
tk init --k8s=1.26
jb install github.com/cortexproject/cortex-jsonnet/cortex@main
rm -fr ./vendor/cortex
cp -r ../../cortex ./vendor/
Expand Down

0 comments on commit dfb3801

Please sign in to comment.