Bump Npgsql from 7.0.6 to 8.0.3 in /IU.ClimateTrace.Importer #65
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: "Docker Compose builds and runs all applications" | |
# author: "Ryo Kuroyanagi, Liam Laverty" | |
# description: "Checks if the docker app has launched, based on the article: https://dev.to/ku6ryo/script-to-check-if-docker-booted-for-github-actions-138g" | |
on: | |
push: | |
branches: [ "main", "stage", "develop" ] | |
pull_request: | |
branches: [ "main", "develop" ] | |
jobs: | |
all: | |
name: Docker compose test containers are created, running, and healthy | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Make test script files executable | |
shell: bash | |
run: chmod +x .github/workflows/workflow-scripts/docker-all-apps-run-healthcheck.sh | |
- name: Docker - create external postgres volume | |
run: docker volume create ideal_umbrella_postgres_data | |
- name: Docker compose up with custom github actions env file | |
run: docker-compose --env-file .github/workflows/workflow-scripts/.env.github_actions_env up --build -d | |
- name: Test Postgres running and healthy after 60 seconds | |
shell: bash | |
run: .github/workflows/workflow-scripts/docker-all-apps-run-healthcheck.sh GITHUB__ACTIONS__example_postgres_sql_server_db 60 | |
- name: Test MsSQL running and healthy after 60 seconds | |
shell: bash | |
run: .github/workflows/workflow-scripts/docker-all-apps-run-healthcheck.sh GITHUB__ACTIONS__example_umbraco_sql_server_db 60 | |
- name: Test Umbraco Backoffice running and healthy after 60 seconds | |
shell: bash | |
run: .github/workflows/workflow-scripts/docker-all-apps-run-healthcheck.sh GITHUB__ACTIONS__EXAMPLE_PROJECT_NAME_umbraco_backoffice 60 | |
- name: Test Umbraco Frontend running and healthy after 120 seconds | |
shell: bash | |
run: .github/workflows/workflow-scripts/docker-all-apps-run-healthcheck.sh GITHUB__ACTIONS__EXAMPLE_PROJECT_NAME_umbraco_frontend 120 |