DPL-823 [Part 1 - download] Import PBMC pool plates into Sequencescape #1307
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: Check docker image building process | |
on: | |
pull_request: | |
env: | |
IMAGE_NAME: ${{ github.repository }}/${{ github.event.repository.name }} | |
jobs: | |
build: | |
name: Check docker image building process | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build image | |
run: >- | |
docker-compose build | |
- name: Start stack and wait for all healthy | |
run: | | |
RESET_DATABASE=true docker-compose -f docker-compose.yml up & | |
while docker-compose ps -q | xargs docker inspect --format '{{ .State.Health.Status }}' | grep -v '^healthy$' ; do | |
sleep 30 | |
echo "Waiting for healthy containers" | |
done | |
timeout-minutes: 5 | |
- name: Stop stack | |
run: >- | |
docker-compose down |