Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aos
GitHub Repository: aos/docker-otel-lgtm
Path: blob/main/scripts/run-acceptance-tests.sh
401 views
1
#!/usr/bin/env bash
2
3
set -euo pipefail
4
5
files=$(find examples -name "lgtm.yaml")
6
for file in $files; do
7
sed -i 's#.*image: grafana/otel-lgtm:latest.*#&\n imagePullPolicy: Never#' "$file"
8
done
9
10
./build-lgtm.sh
11
wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
12
cd oats/yaml
13
go install github.com/onsi/ginkgo/v2/ginkgo@latest
14
export TESTCASE_TIMEOUT=5m
15
export TESTCASE_BASE_PATH=../../examples
16
ginkgo -r
17
18