test_e2e
This commit is contained in:
parent
35f947376b
commit
b58f029f83
3 changed files with 65 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Reference in a new issue