diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dac595f..9e48451 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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" diff --git a/Makefile b/Makefile index 99f37ef..82c4dad 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/scripts/test-readme.sh b/scripts/test-readme.sh index b7883c4..52a955d 100755 --- a/scripts/test-readme.sh +++ b/scripts/test-readme.sh @@ -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/