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