akretion / docky-odoo-template

This a project template to use with docky
2 stars 13 forks source link

[IMP] remove ci-tools dependency #57

Closed PierrickBrun closed 1 year ago

PierrickBrun commented 1 year ago

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:

PierrickBrun commented 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.