Run on this branch #2074
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Docker Image Build & Deploy | |
on: | |
push: | |
branches: | |
- main | |
- workflow | |
- workflowhub | |
- full-test-suite | |
- docker-compose-run-test | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create volumes | |
run: | | |
docker volume create --name=seek-filestore | |
docker volume create --name=seek-mysql-db | |
docker volume create --name=seek-solr-data | |
docker volume create --name=seek-cache | |
- name: Build and run the Docker containers | |
run: docker compose up --build --detach --wait | |
continue-on-error: true | |
- name: Wait and check containers | |
run: sleep 300 | docker ps -a | |
continue-on-error: true | |
- name: Check app status | |
run: curl http://localhost:3000/statistics/application_status |