mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-25 07:55:16 +00:00
Fix for first time use of dev containers in clean environment (#1136)
This commit is contained in:
parent
4d9946cc91
commit
222685155a
21
.github/workflows/dev_containers.yml
vendored
Normal file
21
.github/workflows/dev_containers.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Dev Containers
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Create dev environment
|
||||||
|
run: make dev-env
|
||||||
|
|
||||||
|
- name: Backend Unit tests
|
||||||
|
run: make be-tests-par
|
@ -7,6 +7,6 @@ services:
|
|||||||
user: "${RUN_AS}"
|
user: "${RUN_AS}"
|
||||||
environment:
|
environment:
|
||||||
POETRY_VIRTUALENVS_IN_PROJECT: "true"
|
POETRY_VIRTUALENVS_IN_PROJECT: "true"
|
||||||
PRE_COMMIT_HOME: "/app/.cache/pre-commit"
|
XDG_CACHE_HOME: "/app/.cache"
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/app
|
- ./:/app
|
||||||
|
@ -7,10 +7,11 @@ services:
|
|||||||
user: "${RUN_AS}"
|
user: "${RUN_AS}"
|
||||||
environment:
|
environment:
|
||||||
FLASK_DEBUG: "1"
|
FLASK_DEBUG: "1"
|
||||||
|
#POETRY_CACHE_DIR: "/app/.cache/poetry"
|
||||||
POETRY_VIRTUALENVS_IN_PROJECT: "true"
|
POETRY_VIRTUALENVS_IN_PROJECT: "true"
|
||||||
POETRY_CACHE_DIR: "/app/.cache/poetry"
|
|
||||||
SPIFFWORKFLOW_BACKEND_DATABASE_URI: ""
|
SPIFFWORKFLOW_BACKEND_DATABASE_URI: ""
|
||||||
SPIFFWORKFLOW_BACKEND_ENV: "${SPIFFWORKFLOW_BACKEND_ENV:-local_development}"
|
SPIFFWORKFLOW_BACKEND_ENV: "${SPIFFWORKFLOW_BACKEND_ENV:-local_development}"
|
||||||
SPIFFWORKFLOW_BACKEND_LOAD_FIXTURE_DATA: ""
|
SPIFFWORKFLOW_BACKEND_LOAD_FIXTURE_DATA: ""
|
||||||
|
XDG_CACHE_HOME: "/app/.cache"
|
||||||
volumes:
|
volumes:
|
||||||
- ./spiffworkflow-backend:/app
|
- ./spiffworkflow-backend:/app
|
||||||
|
@ -5,7 +5,9 @@ services:
|
|||||||
dockerfile: dev.Dockerfile
|
dockerfile: dev.Dockerfile
|
||||||
user: "${RUN_AS}"
|
user: "${RUN_AS}"
|
||||||
environment:
|
environment:
|
||||||
|
npm_config_cache: "/app/.cache/npm"
|
||||||
HOST: "0.0.0.0"
|
HOST: "0.0.0.0"
|
||||||
PORT: "${SPIFFWORKFLOW_FRONTEND_PORT:-8001}"
|
PORT: "${SPIFFWORKFLOW_FRONTEND_PORT:-8001}"
|
||||||
|
XDG_CACHE_HOME: "/app/.cache"
|
||||||
volumes:
|
volumes:
|
||||||
- ./spiffworkflow-frontend:/app
|
- ./spiffworkflow-frontend:/app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user