Skip to content

LDEV-4979 GHA use alternate workflows for docker services #1

LDEV-4979 GHA use alternate workflows for docker services

LDEV-4979 GHA use alternate workflows for docker services #1

name: Load Services via Docker

Check failure on line 1 in .github/workflows/build-services-no-credentials.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-services-no-credentials.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: start-services
on:
workflow_call:
jobs:
start-services:
runs-on: ubuntu-latest
services:
ldap:
# image: kwart/ldap-server
image: rroemhild/test-openldap
ports:
- 10389:10389
- 10636:10636
sql-server:
# Docker Hub image
image: mcr.microsoft.com/mssql/server:2019-latest
env:
MSSQL_PID: Express
ACCEPT_EULA: Y
SA_PASSWORD: Lucee!1433 # password must be complex or the service won't start
ports:
- 1433:1433
options: --health-cmd="/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P ${SA_PASSWORD} -Q 'SELECT 1' || exit 1" --health-interval 10s --health-timeout 5s --health-retries 5
redis:
# Docker Hub image
image: redis
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps port 6379 on service container to the host
- 6379:6379
greenmail:
image: greenmail/standalone:1.6.9
ports:
- 3025:3025 #SMTP
- 3110:3110 #POP3
- 3143:3143 #IMAP
- 3465:3465 #SMTPS
- 3993:3993 #IMAPS
- 3995:3995 #POP3S
- 8080:8080 #API
mongo:
image: mongo-express
memcached:
image: bitnami/memcached:latest