fix: close record repair and verification gaps
This commit is contained in:
1 parent
9251c85fd8
commit
adff599e08
27 files changed
+787
-153
No files matched your search
@@ -21,7 +21,7 @@ jobs:
|
||||
- name: Format, vet, staticcheck and race tests
|
||||
run: |
|
||||
set -eu
|
||||
docker build --pull --target test -f dockerfile .
|
||||
docker build --pull --target test --output type=cacheonly -f dockerfile .
|
||||
- name: Integration tests against MySQL
|
||||
run: |
|
||||
set -eu
|
||||
@@ -31,8 +31,12 @@ jobs:
|
||||
set -eu
|
||||
commit=${GITHUB_SHA:0:12}
|
||||
version="0.0.0-main.${commit}"
|
||||
image="coredns-web-ui:test-${GITHUB_RUN_ID}"
|
||||
trap 'docker image rm -f "$image" >/dev/null 2>&1 || true' EXIT
|
||||
image="coredns-web-ui:test-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT:-1}"
|
||||
if docker image inspect "$image" >/dev/null 2>&1; then
|
||||
echo "::error::local image tag already exists: $image" >&2
|
||||
exit 1
|
||||
fi
|
||||
docker build --build-arg APP_VERSION="$version" --build-arg COMMIT_ID="$commit" -f dockerfile -t "$image" .
|
||||
trap 'docker image rm "$image" >/dev/null' EXIT
|
||||
scripts/test-image.sh "$image" "$version" "$commit"
|
||||
scripts/test-e2e.sh "$image"
|
||||
Reference in new issue
Block a user