mirror of
https://github.com/offen/website.git
synced 2024-11-22 09:00:28 +01:00
scaffold auditorium app
This commit is contained in:
parent
cb03bebf03
commit
dfd0f2bc33
@ -77,6 +77,26 @@ jobs:
|
|||||||
name: Run tests
|
name: Run tests
|
||||||
command: npm test
|
command: npm test
|
||||||
|
|
||||||
|
auditorium:
|
||||||
|
docker:
|
||||||
|
- image: circleci/node:10-browsers
|
||||||
|
working_directory: ~/offen/auditorium
|
||||||
|
steps:
|
||||||
|
- checkout:
|
||||||
|
path: ~/offen
|
||||||
|
- restore_cache:
|
||||||
|
key: offen-auditorium-{{ checksum "package.json" }}
|
||||||
|
- run:
|
||||||
|
name: Install dependencies
|
||||||
|
command: npm install
|
||||||
|
- save_cache:
|
||||||
|
paths:
|
||||||
|
- ~/offen/auditorium/node_modules
|
||||||
|
key: offen-auditorium-{{ checksum "package.json" }}
|
||||||
|
- run:
|
||||||
|
name: Run tests
|
||||||
|
command: npm test
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build_and_test:
|
build_and_test:
|
||||||
@ -84,3 +104,4 @@ workflows:
|
|||||||
- server
|
- server
|
||||||
- vault
|
- vault
|
||||||
- script
|
- script
|
||||||
|
- auditorium
|
||||||
|
@ -45,3 +45,16 @@ script:
|
|||||||
- 9966:9966
|
- 9966:9966
|
||||||
environment:
|
environment:
|
||||||
- VAULT_HOST=https://local.offen.dev:9977
|
- VAULT_HOST=https://local.offen.dev:9977
|
||||||
|
|
||||||
|
auditorium:
|
||||||
|
image: timbru31/node-chrome:slim
|
||||||
|
working_dir: /auditorium
|
||||||
|
volumes:
|
||||||
|
- ./auditorium:/auditorium
|
||||||
|
- ./local.offen.dev.pem:/auditorium/local.offen.dev.pem
|
||||||
|
- ./local.offen.dev-key.pem:/auditorium/local.offen.dev-key.pem
|
||||||
|
command: npm start -- --port 9955
|
||||||
|
ports:
|
||||||
|
- 9955:9955
|
||||||
|
environment:
|
||||||
|
- VAULT_HOST=https://local.offen.dev:9977
|
||||||
|
Loading…
Reference in New Issue
Block a user