ci: fix tags variable definition
Context
This is a follow-up from !1075 (merged)
During the course of this MR we switched to defining variables with variables rather than before_script.
While this is a good change in many places, for jobs that use the database, this causes the database section to not load properly causing many tests to be skipped because the database is not availible.
This MR returns to using before_script where needed and enables the expected amount of tests to run.
Edited by Hayley Swimelar