mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2024-12-27 09:39:06 +01:00
change from ping to docker logs
This commit is contained in:
parent
8a54b1f6eb
commit
6c6da0192c
24
.github/workflows/ccdocker_demo_startup.yml
vendored
24
.github/workflows/ccdocker_demo_startup.yml
vendored
@ -26,17 +26,29 @@ jobs:
|
|||||||
- name: Run containers
|
- name: Run containers
|
||||||
run: docker-compose -f "docker-compose.yml" up -d
|
run: docker-compose -f "docker-compose.yml" up -d
|
||||||
|
|
||||||
|
- name: Giving containers 10s to load
|
||||||
|
run: sleep 10s
|
||||||
|
|
||||||
- name: Show containers
|
- name: Show containers
|
||||||
run: docker ps -a
|
run: docker ps -a
|
||||||
|
|
||||||
- name: Ping ClusterCockpit
|
- name: Get log from cc-nginx
|
||||||
run: ping -c 3 localhost:80
|
run: docker logs cc-nginx
|
||||||
|
|
||||||
- name: Ping phpMyAdmin
|
- name: Get log from cc-php
|
||||||
run: ping -c 3 localhost:8080
|
run: docker logs cc-php
|
||||||
|
|
||||||
- name: Ping InfluxDB 2.0
|
- name: Get log from cc-influxdb
|
||||||
run: ping -c 3 localhost:8086
|
run: docker logs cc-influxdb | tail
|
||||||
|
|
||||||
|
- name: Get log from cc-db
|
||||||
|
run: docker logs cc-db
|
||||||
|
|
||||||
|
- name: Get log from cc-redis
|
||||||
|
run: docker logs cc-redis
|
||||||
|
|
||||||
|
-name: Get log from symfony
|
||||||
|
run: docker exec -it cc-php tail var/log/prod.log
|
||||||
|
|
||||||
- name: Stop containers
|
- name: Stop containers
|
||||||
if: always()
|
if: always()
|
||||||
|
Loading…
Reference in New Issue
Block a user