Quick iteration

pull/14/head
Sander Vocke 5 years ago
parent 0f7c391a41
commit cdb38b000d
  1. 56
      .drone.yml

@ -6,38 +6,38 @@ workspace:
path: /drone/src path: /drone/src
steps: steps:
- name: install dependencies #- name: install dependencies
image: sandervocke/postgres_node:12 # image: sandervocke/postgres_node:12
commands: # commands:
- npm install # - npm install
- cd /drone/src/server && npm install # - cd /drone/src/server && npm install
- name: back-end test (SQLite3) #- name: back-end test (SQLite3)
image: node # image: node
commands: # commands:
- cd /drone/src/server && ./test/test.sh --sqlite # - cd /drone/src/server && ./test/test.sh --sqlite
- name: back-end test (PostgreSQL) - name: back-end test (PostgreSQL)
image: node image: node
commands: commands:
- /bin/bash -c "POSTGRES_USER=mudbase POSTGRES_DATABASE=mudbase POSTGRES_DB=mudbase cd /drone/src/server && ./test/test.sh --postgres --start-postgres-testcontainer" - /bin/bash -c "POSTGRES_USER=mudbase POSTGRES_DATABASE=mudbase POSTGRES_DB=mudbase cd /drone/src/server && ./test/test.sh --postgres --start-postgres-testcontainer"
--- # ---
kind: pipeline # kind: pipeline
type: kubernetes # type: kubernetes
name: front-end # name: front-end
workspace: # workspace:
path: /drone/src # path: /drone/src
steps: # steps:
- name: install dependencies # - name: install dependencies
image: node # image: node
commands: # commands:
- cd /drone/src && npm install # - cd /drone/src && npm install
- cd /drone/src/client && npm install # - cd /drone/src/client && npm install
- name: front-end compile # - name: front-end compile
image: node # image: node
commands: # commands:
- cd /drone/src/client && ./node_modules/.bin/tsc; cd .. # - cd /drone/src/client && ./node_modules/.bin/tsc; cd ..

Loading…
Cancel
Save