mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-25 23:03:58 +01:00
Add e2e tests (#471)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -33,8 +33,8 @@ COPY --from=generate /out /
|
||||
FROM generate AS validate
|
||||
RUN --mount=type=bind,target=.,rw \
|
||||
git add -A && cp -rf /out/* .; \
|
||||
if [ -n "$(git status --porcelain)" ]; then \
|
||||
if [ -n "$(git status --porcelain -- pb)" ]; then \
|
||||
echo >&2 'ERROR: Generate result differs. Please update with "docker buildx bake gen-update"'; \
|
||||
git status --porcelain; \
|
||||
git status --porcelain -- pb; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user