mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
debug github actions
This commit is contained in:
parent
ff0c418c60
commit
d8a9efb34f
19
.github/workflows/debug.yml
vendored
19
.github/workflows/debug.yml
vendored
@ -55,21 +55,32 @@ jobs:
|
||||
##############################################################################
|
||||
# JOB: DOCKER BUILD AND TEST COMMUNITY SERVER ################################
|
||||
##############################################################################
|
||||
build_test_community_server:
|
||||
test_community_server_debug:
|
||||
name: Docker Build Test - Community Server
|
||||
runs-on: ubuntu-latest
|
||||
#needs: [nothing]
|
||||
services:
|
||||
mariadb:
|
||||
image: gradido/mariadb:test
|
||||
image: mariadb/server:10.5
|
||||
env:
|
||||
MARIADB_ALLOW_EMPTY_PASSWORD: 1
|
||||
MARIADB_USER: root
|
||||
MARIADB_DATABASE: gradido_community_test
|
||||
ports:
|
||||
- 3306:3306
|
||||
volumes:
|
||||
- db_vol:/var/lib/mysql
|
||||
options: --health-cmd="mysqladmin ping"
|
||||
--health-interval=5s
|
||||
--health-timeout=2s
|
||||
--health-retries=3
|
||||
steps:
|
||||
- name: Get MySQL service ID
|
||||
id: mariadb-service
|
||||
run: echo "::set-output name=container-id::$(docker ps | grep -i mariadb | awk '{print $1}')"
|
||||
- name: Debug service
|
||||
run: echo "$(docker ps)"
|
||||
#- name: Get Github network gateway address
|
||||
#id: github-network
|
||||
#run: echo "::set-output name=gateway-address::$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.Gateway}}{{end}}' ${{ steps.mariadb-service.outputs.container-id }})"
|
||||
##########################################################################
|
||||
# CHECKOUT CODE ##########################################################
|
||||
##########################################################################
|
||||
|
||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -285,6 +285,8 @@ jobs:
|
||||
volumes:
|
||||
- db_vol:/var/lib/mysql
|
||||
steps:
|
||||
- name: Debug service
|
||||
run: echo "$(docker ps)"
|
||||
##########################################################################
|
||||
# CHECKOUT CODE ##########################################################
|
||||
##########################################################################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user