15 lines
363 B
YAML
15 lines
363 B
YAML
.database-diff-common:
|
|
stage: verify
|
|
interruptible: true
|
|
artifacts:
|
|
when: on_failure
|
|
expire_in: 2 weeks
|
|
paths:
|
|
- $PATH_TO_DIFF
|
|
after_script:
|
|
- >
|
|
if grep -x '<databaseChangeLog .*/>' $PATH_TO_DIFF;
|
|
then printf 'Found no Difference in DB-Diff.\n'; exit 0;
|
|
else printf 'DB-Diff has Found changes.\n'; exit 1;
|
|
fi
|