This commit is contained in:
Antoine Legrand 2017-07-14 10:28:19 +02:00
parent 35f947376b
commit b58f029f83
3 changed files with 65 additions and 1 deletions

View file

@ -35,7 +35,6 @@ function(vars={})
],
},
QuayDeploy: {
local this = self,
local _vars = self.localvars,
@ -99,6 +98,24 @@ function(vars={})
},
before_script: [],
script: [],
},
EndToEndTest: self.QuayTest {
services: [
"postgres:9.6",
vars.images.quayci.name,
],
before_script+: [
"sleep 30",
"alembic upgrade head",
],
variables+: {
POSTGRES_PASSWORD: "quay",
POSTGRES_USER: "quay",
SKIP_DB_SCHEMA: 'true',
TEST_DATABASE_URI: self['DB_URI'],
DB_URI: 'postgresql://quay:quay@localhost/quay'
},
},
dbTest(scheme, image, env):: self.QuayTest {