Closed PierrickBrun closed 1 year ago
@sebastienbeau @hparfr
I've refactored this MR, tested on the ugess project (which is now updated via copier)
I've added a emptydb
tag
It works well with & without keepdb and with & without emptydb.
Since only:
clashes with rules:
I've added a workflow (https://docs.gitlab.com/ee/ci/yaml/#workflow ) at the top. It is the same as only:
but on the whole pipeline.
since postgres 13, dropdb can be --forced, this removes the need for a ci-drop-db
about the keepdb, a separate job with a rule makes it works
about the db creation:
|| true
to not fail if it already exists)