Skip to content

PoC: Dockerfile to debug CI failures#5034

Draft
jtmcdole wants to merge 3 commits intoflutter:mainfrom
jtmcdole:docker_cloud_run
Draft

PoC: Dockerfile to debug CI failures#5034
jtmcdole wants to merge 3 commits intoflutter:mainfrom
jtmcdole:docker_cloud_run

Conversation

@jtmcdole
Copy link
Copy Markdown
Member

-- DRAFT --

Proof of concept showing a cloud-runnable "debug my failing CI test".

Workflow:

  1. create a podman secret for api key:
echo -n "YOUR_GEMINI_API_KEY" | podman secret create gemini_api_key -
  1. build the image locally (we would do this with cloud build)
podman build -t debug_test -f Dockerfile.debug_test .
  1. Run it.
podman run --rm --secret gemini_api_key,type=env,target=GEMINI_API_KEY -e FAILING_TEST="Linux tool_tests_general" -e PR_NUMBER=185646 -e COMMIT_SHA=f086b9ddc8f0a5f2ea65fa64f825a44d26a66842 debug_test

@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Apr 28, 2026
@jtmcdole jtmcdole marked this pull request as draft April 28, 2026 23:10
@ievdokdm ievdokdm added CICD Run CI/CD and removed CICD Run CI/CD labels May 1, 2026
'builder': failingTest,
},
'buildNumber': int.parse(buildNumberOrId),
'mask': {'fields': 'steps,infra'},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you request infra as well?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure this is copied from luci headers.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my point is that you don't need need infra, only steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICD Run CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants