Skip to content

Add coordinator image to compose #86

Add coordinator image to compose

Add coordinator image to compose #86

Workflow file for this run

name: Container Build
on:
pull_request:
branches: [ "main" ]
jobs:
build-dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup environment
run: mv .env.example .env
- name: Build containers
run: docker compose build
- name: Get latest api version
run: cd api && git checkout origin/main
- name: Get latest helioviewer.org version
run: cd helioviewer.org && git checkout origin/main
- name: Make writeable configuration files
run: |
touch api/install/settings/settings.cfg
chmod o+rw api/install/settings/settings.cfg
touch api/settings/Config.ini
chmod o+rw api/settings/Config.ini
touch api/settings/Config.php
chmod o+rw api/settings/Config.php
- name: Check that containers start and become healthy
run: docker compose up -d --wait
- name: Print logs
if: always()
run: |
docker logs helioviewer-api-1
docker logs helioviewer-web-1
docker logs helioviewer-database-1
docker logs helioviewer-movies-1
- name: Test Helioviewer environment
run: |
bash tests/test_make_movie.sh
bash tests/test_aia_images.sh