Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
0d9ed92
new branch
danielevalverde Jul 18, 2025
3b31907
run builds on all branches
danielevalverde Jul 18, 2025
cbb0c01
more debugging
danielevalverde Jul 18, 2025
e4594dc
more debugging
danielevalverde Jul 18, 2025
4ce7762
debug presto branch
danielevalverde Jul 18, 2025
b7d4049
debug
danielevalverde Jul 18, 2025
9971cbf
update first-build script
danielevalverde Jul 18, 2025
3a7cc16
more debug
danielevalverde Jul 22, 2025
459d503
debug presto
danielevalverde Jul 22, 2025
e749b64
try to fix problem with presto
danielevalverde Jul 22, 2025
870fb5a
try to fix conflict and change the presto branch
danielevalverde Jul 22, 2025
ddbc5ff
try to simplify github checkout command
danielevalverde Jul 22, 2025
3e98573
fix syntax
danielevalverde Jul 22, 2025
24e8288
fix syntax
danielevalverde Jul 22, 2025
d8a8f57
fix syntax
danielevalverde Jul 22, 2025
ecc13c5
try to fix preto issues
danielevalverde Jul 23, 2025
d8b81c9
try to fix preto issues
danielevalverde Jul 23, 2025
f803bea
try to fix preto issues
danielevalverde Jul 23, 2025
c63c5ed
try to fix queue_worker issues
danielevalverde Jul 23, 2025
cadbf00
try to fix queue_worker issues
danielevalverde Jul 23, 2025
15906a5
try to fix queue_worker issues
danielevalverde Jul 23, 2025
478ba9b
try to fix queue_worker issues
danielevalverde Jul 23, 2025
fb288b4
debug
danielevalverde Jul 23, 2025
9fecb80
debug
danielevalverde Jul 23, 2025
8976847
debug
danielevalverde Jul 23, 2025
7013531
comment presto images
danielevalverde Jul 24, 2025
ed81c4d
debug
danielevalverde Jul 24, 2025
f612b86
debug alegre
danielevalverde Jul 24, 2025
1141e79
debug Alegre
danielevalverde Jul 31, 2025
5d6452e
test Alegre
danielevalverde Aug 5, 2025
8fd03f5
build and up all containers
danielevalverde Aug 5, 2025
2a28a20
debug check web error
danielevalverde Aug 5, 2025
a01c4ef
debug only check web
danielevalverde Aug 5, 2025
3926d23
more check web debug
danielevalverde Aug 5, 2025
4be55f3
testing...
danielevalverde Aug 5, 2025
721d213
test if it is a cache problem
danielevalverde Aug 8, 2025
cb50598
commend pull check web
danielevalverde Aug 8, 2025
70a2e46
try to fix: submodules checkout to fix conflicts
danielevalverde Aug 8, 2025
2898f6b
try to fix: submodules checkout to fix conflicts
danielevalverde Aug 8, 2025
ae26ca9
try to fix: submodules checkout to fix conflicts
danielevalverde Aug 8, 2025
d6559ba
try to fix: submodules checkout to fix conflicts
danielevalverde Aug 8, 2025
dbc657b
try to fix: submodules checkout to fix conflicts
danielevalverde Aug 8, 2025
525627e
try to fix: submodules checkout to fix conflicts
danielevalverde Aug 8, 2025
cb26bc3
try to fix: submodules checkout to fix conflicts
danielevalverde Aug 8, 2025
d35578c
debug containers
danielevalverde Aug 8, 2025
7d1566c
add 'git pull' comand
danielevalverde Aug 8, 2025
f38e27a
change branch order in checkout command
danielevalverde Aug 8, 2025
9ce4461
change branch order in checkout command 2
danielevalverde Aug 8, 2025
209419c
back with -d flag
danielevalverde Aug 8, 2025
316f1db
update test after comment presto images
danielevalverde Aug 8, 2025
3d1acd8
clean up debugs
danielevalverde Aug 9, 2025
d1c23cd
clean up debugs
danielevalverde Aug 9, 2025
647b3c8
clean up debugs
danielevalverde Aug 9, 2025
a35b15d
clean up debugs
danielevalverde Aug 9, 2025
9daac3f
run
danielevalverde Aug 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,21 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Before script
env:
GITHUB_BRANCH: ${{ github.head_ref || github.ref_name }}
GITHUB_JOB_NAME: ${{ github.job }}
run: |
sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
git submodule foreach --recursive bash -c 'git checkout .'
git submodule sync
git submodule update --init --recursive
sed -i '/git submodule/d' bin/first-build.sh
sed -i 's/--abort-on-container-exit/-d/' bin/first-build.sh
TAB=$'\t'
export FALLBACK_BRANCH=$([ "$GITHUB_BRANCH" == "master" ] && echo "main" && echo "master" || echo "develop")
git submodule foreach 'bash -c "git checkout master ; git checkout develop ; git checkout $FALLBACK_BRANCH ; git checkout $GITHUB_BRANCH ; exit 0"'
git submodule foreach bash -c '(git checkout "${GITHUB_BRANCH}" || git checkout main || git checkout develop || git checkout master || git checkout "${FALLBACK_BRANCH}") && git pull'
git submodule foreach git rev-parse --abbrev-ref HEAD

- name: Run Script
Expand Down
2 changes: 1 addition & 1 deletion bin/first-build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Go to the develop branch of each repository
git submodule foreach bash -c 'git checkout develop || git checkout master'
git submodule foreach bash -c '(git checkout develop || git checkout master || git checkout main) && git pull'

# Copy the example files
find . -name '*.example' -not -path '*apollo*' | while read f; do cp "$f" "${f%%.example}"; done
Expand Down
100 changes: 50 additions & 50 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,53 +217,53 @@ services:
depends_on:
elasticmq:
condition: service_healthy
presto-image:
build: presto
platform: linux/amd64
volumes:
- "./presto:/app"
env_file:
- presto/.env_file
environment:
ROLE: worker
MODEL_NAME: image.Model
networks:
- dev
depends_on:
elasticmq:
condition: service_healthy
presto-audio:
build: presto
platform: linux/amd64
volumes:
- "./presto:/app"
env_file:
- presto/.env_file
environment:
ROLE: worker
MODEL_NAME: audio.Model
networks:
- dev
depends_on:
elasticmq:
condition: service_healthy
presto-video:
build: presto
platform: linux/amd64
volumes:
- "./presto:/app"
env_file:
- presto/.env_file
environment:
ROLE: worker
MODEL_NAME: video.Model
networks:
- dev
depends_on:
elasticmq:
condition: service_healthy
minio:
condition: service_healthy
# presto-image:
# build: presto
# platform: linux/amd64
# volumes:
# - "./presto:/app"
# env_file:
# - presto/.env_file
# environment:
# ROLE: worker
# MODEL_NAME: image.Model
# networks:
# - dev
# depends_on:
# elasticmq:
# condition: service_healthy
# presto-audio:
# build: presto
# platform: linux/amd64
# volumes:
# - "./presto:/app"
# env_file:
# - presto/.env_file
# environment:
# ROLE: worker
# MODEL_NAME: audio.Model
# networks:
# - dev
# depends_on:
# elasticmq:
# condition: service_healthy
# presto-video:
# build: presto
# platform: linux/amd64
# volumes:
# - "./presto:/app"
# env_file:
# - presto/.env_file
# environment:
# ROLE: worker
# MODEL_NAME: video.Model
# networks:
# - dev
# depends_on:
# elasticmq:
# condition: service_healthy
# minio:
# condition: service_healthy
# presto-mean-tokens:
# build: presto
# platform: linux/amd64
Expand Down Expand Up @@ -307,9 +307,9 @@ services:
- redis
- elasticsearch
- presto-server
- presto-image
- presto-audio
- presto-video
# - presto-image
# - presto-audio
# - presto-video
env_file:
- alegre/.env_file
networks:
Expand Down
18 changes: 9 additions & 9 deletions docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ services:
BOILERPLATE_ENV: test
PRESTO_PORT: 8000
REDIS_DATABASE: 3
presto-audio:
environment:
BOILERPLATE_ENV: test
presto-image:
environment:
BOILERPLATE_ENV: test
presto-video:
environment:
BOILERPLATE_ENV: test
# presto-audio:
# environment:
# BOILERPLATE_ENV: test
# presto-image:
# environment:
# BOILERPLATE_ENV: test
# presto-video:
# environment:
# BOILERPLATE_ENV: test
# presto-mean-tokens:
# environment:
# BOILERPLATE_ENV: test
Expand Down
3 changes: 0 additions & 3 deletions test/image_names.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ check-narcissus
check-pender
check-pender-background
check-postgres
check-presto-audio
check-presto-image
check-presto-server
check-presto-video
check-queue_worker
check-web
docker.elastic.co/kibana/kibana:7.9.2
Expand Down