Inspect Docker driver and image sizes without starting containers
creative runner storage diagnosis / diagnose (push) Successful in 0s
creative runner storage diagnosis / diagnose (push) Successful in 0s
This commit is contained in:
@@ -1,21 +1,16 @@
|
||||
name: creative browser diagnosis
|
||||
name: creative runner storage diagnosis
|
||||
on:
|
||||
push:
|
||||
branches: [codex/creative-browser-diagnosis]
|
||||
jobs:
|
||||
diagnose:
|
||||
runs-on: ces-control
|
||||
timeout-minutes: 20
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Require the exact images built by review run 595
|
||||
- name: Inspect Docker storage and runner capacity without building or running containers
|
||||
run: |
|
||||
docker image inspect "$STUDIO_REVIEW_IMAGE" "$WATERFALL_WIKI_IMAGE" "$WATERFALL_WIKI_TEST_IMAGE" --format '{{.Id}}'
|
||||
- name: Diagnose existing images in disposable PostgreSQL and S3 stack
|
||||
run: bash scripts/integration.sh
|
||||
env:
|
||||
STUDIO_REVIEW_IMAGE: creative-studio-review:cdcd4c4b94d445829d624800193c66955ff09704
|
||||
WATERFALL_WIKI_IMAGE: creative-wiki-review:cdcd4c4b94d445829d624800193c66955ff09704
|
||||
WATERFALL_WIKI_TEST_IMAGE: creative-wiki-tests:cdcd4c4b94d445829d624800193c66955ff09704
|
||||
CREATIVE_BROWSER_DIAGNOSTICS: '1'
|
||||
GITEA_RUN_ID: ${{ gitea.run_id }}
|
||||
docker info --format 'driver={{.Driver}} cpus={{.NCPU}} memory={{.MemTotal}} version={{.ServerVersion}}'
|
||||
docker image inspect creative-studio-review:cdcd4c4b94d445829d624800193c66955ff09704 creative-wiki-review:cdcd4c4b94d445829d624800193c66955ff09704 creative-wiki-tests:cdcd4c4b94d445829d624800193c66955ff09704 --format '{{.Id}} bytes={{.Size}}'
|
||||
for metric in /proc/pressure/cpu /proc/pressure/memory /proc/pressure/io; do
|
||||
if [ -r "$metric" ]; then echo "$metric"; cat "$metric"; fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user