scaffold: add project CI and Docker templates under templates/project/_shared; update proposal and plan to include them
Some checks failed
ci / test (push) Has been cancelled
Some checks failed
ci / test (push) Has been cancelled
This commit is contained in:
19
templates/project/_shared/docker/compose.yml
Normal file
19
templates/project/_shared/docker/compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
name: project
|
||||
|
||||
services:
|
||||
tests:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: docker/test/Dockerfile
|
||||
container_name: project-tests
|
||||
working_dir: /work
|
||||
volumes:
|
||||
- ..:/work:Z
|
||||
command: ["/bin/bash", "-lc", "scripts/test.sh"]
|
||||
networks:
|
||||
- project-net
|
||||
|
||||
networks:
|
||||
project-net:
|
||||
name: project-net
|
||||
|
Reference in New Issue
Block a user