Run CD pipeline on push to releases-branches #402
Workflow file for this run
This file contains hidden or 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 whether the dockerized version works | |
| on: | |
| push: | |
| pull_request: | |
| branches: [main, releases/**] | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| jobs: | |
| test-docker-compose: | |
| name: verify docker-compose setup | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Start development dependencies and the timetables service | |
| run: ./development.sh start | |
| - name: Verify that dockerized timetables API is up and running | |
| uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1 | |
| with: | |
| command: | |
| "curl --fail http://localhost:3009/actuator/health --output | |
| /dev/null --silent" |