Skip to content

Commit

Permalink
Changing ci-cd to use symbiota-laravel image
Browse files Browse the repository at this point in the history
  • Loading branch information
MuchQuak committed Feb 5, 2025
1 parent 2d191cd commit 3912014
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ jobs:
- name: 'Build Docker Resources'
run : |
echo --- Building and Starting up docker ---
docker compose up -d
docker compose pull
docker compose up -d --no-build
sleep 30
echo --- Containers Up ---
- name: Check Containers
run: docker ps

- name: Execute tests (Unit and Feature tests) via PHPUnit/Pest
run: docker exec symbiota-laravel-web-1 php artisan test
#- name: Run Playwright tests
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
args:
WWWGROUP: '${WWWGROUP}'
MYSQL_CLIENT: mariadb-client
image: 'sail-8.3/app'
image: 'muchquakz/symbiota-laravel:latest'
extra_hosts:
- 'host.docker.internal:host-gateway'
ports:
Expand Down
2 changes: 1 addition & 1 deletion docker/8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:22.04

LABEL maintainer="Taylor Otwell"

ARG WWWGROUP
ARG WWWGROUP=1000
ARG NODE_VERSION=20
ARG MYSQL_CLIENT="mysql-client"
ARG POSTGRES_VERSION=15
Expand Down

0 comments on commit 3912014

Please sign in to comment.