adding startup script for local
This commit is contained in:
parent
e796a86809
commit
9b44d3ec63
|
@ -27,7 +27,7 @@ jobs:
|
|||
couchdb:
|
||||
image: ibmcom/couchdb3
|
||||
env:
|
||||
COUCHDB_PASSWORD: budibase
|
||||
COUCHDB_PASSWORD: budibase
|
||||
COUCHDB_USER: budibase
|
||||
ports:
|
||||
- 4567:5984
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
BB_ADMIN_USER_EMAIL=qa@budibase.com
|
||||
BB_ADMIN_USER_PASSWORD=budibase
|
||||
ENCRYPTED_TEST_PUBLIC_API_KEY=a65722f06bee5caeadc5d7ca2f543a43-d610e627344210c643bb726f
|
||||
COUCH_DB_URL=http://budibase:budibase@localhost:4567
|
||||
COUCH_DB_URL=http://budibase:budibase@localhost:4567
|
||||
COUCH_DB_USER=budibase
|
||||
COUCH_DB_PASSWORD=budibase
|
|
@ -0,0 +1,12 @@
|
|||
version: "3.8"
|
||||
services:
|
||||
qa-core-couchdb:
|
||||
# platform: linux/amd64
|
||||
container_name: budi-couchdb-qa
|
||||
restart: on-failure
|
||||
image: ibmcom/couchdb3
|
||||
environment:
|
||||
- COUCHDB_PASSWORD=${COUCH_DB_PASSWORD}
|
||||
- COUCHDB_USER=${COUCH_DB_USER}
|
||||
ports:
|
||||
- "4567:5984"
|
|
@ -12,7 +12,9 @@
|
|||
"test": "jest --runInBand",
|
||||
"test:watch": "jest --watch",
|
||||
"test:debug": "DEBUG=1 jest",
|
||||
"api:server:setup": "env-cmd ts-node ../packages/builder/cypress/ts/setup.ts",
|
||||
"docker:up": "docker-compose up -d",
|
||||
"docker:down": "docker-compose down",
|
||||
"api:server:setup": "npm run docker:up && env-cmd ts-node ../packages/builder/cypress/ts/setup.ts",
|
||||
"api:server:setup:ci": "env-cmd node ../packages/builder/cypress/setup.js",
|
||||
"api:test:ci": "start-server-and-test api:server:setup:ci http://localhost:4100/builder test",
|
||||
"api:test": "start-server-and-test api:server:setup http://localhost:4100/builder test"
|
||||
|
|
Loading…
Reference in New Issue