Commit 717cf13e authored by Jacob Priddy's avatar Jacob Priddy 👌

Get docker integration going as well as ci

parent 07479dff
Pipeline #7195 failed with stages
in 2 minutes and 15 seconds
docker-compose.yml
build/
cmake-build*
sdkconfig
......
image: gitlab.cs.wallawalla.edu:5050/kretschmar/controller:latest
stages:
- build
- test
build_tests:
stage: build
script:
- mkdir build
- cd build
- cmake .. -DCOMPILE_UNIVERSAL_TESTS=true
- make
artifacts:
paths:
- build/door-controller-universal-tests
expire_in: 1 hour
build_esp32_application:
stage: build
script:
- /opt/esp/entrypoint.sh bash
- idf.py build
artifacts:
paths:
- build/door-controller.bin
expire_in: 2 months
test_application:
stage: test
script:
- build/door-controller-universal-tests
build_web_backend:
stage: build
script:
- cd src/web
- ./install-dev.sh
artifacts:
paths:
- src/web/backend/vendor
- src/web/backend/.env
- src/web/backend/composer.lock
# Currently set to build timeout
expire_in: 1 hour
test_php_styles:
stage: test
script:
- cd src/web/backend
- vendor/bin/php-cs-fixer fix --config=.php_cs -v --dry-run --stop-on-violation --using-cache=no
test_web_backend_unit:
stage: test
script:
- cd src/web/backend
- vendor/bin/phpunit --testsuite Unit
test_web_backend_feature:
stage: test
script:
- cd src/web/backend
- vendor/bin/phpunit --testsuite Feature
test_web_backend_database:
stage: test
script:
- cd src/web/backend
- vendor/bin/phpunit --testsuite Database
version: '3.7'
services:
esp32:
build:
context: .
dockerfile: Dockerfile
tty: true
container_name: esp32
volumes:
- ./:/project
# uncomment if you are going to be flashing a board from the container
# devices:
# - /dev/ttyUSB0:/dev/ttyUSB0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment