-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom container executor - scraping artifacts from inside /data/repo/
- git clone/checkout failure
#3723
Comments
It's a k8s architectutre constraint. data volume is an internal for executor pod, scraper can only access shared volume and scraper works as a different pod. And becuase container executor can run any image, the only real sign of prepared reports is executor pod termination |
So, if it's the known tech limitation we should include it in the docs. It should be handled by the user by:
|
Artifacts are scraped correctly:
|
But, from the user perspective having to configure artifacts for every test is quite inconvenient:
Can we make it a default config for custom container executors? We already always check out to |
close in favor of #3870 |
Describe the bug
It's not possible to scrape artifacts from inside project directory (where repo is cloned) - directory is created and volume is mounted there, so git is not able to clone.
Example: Running a playwright test with custom container executor. Artifacts are (by default) saved to
playwright-report
in the project directory (/data/repo/test/dashboard-e2e/playwright-report
).It's possible to choose different directory, but it's a common thing to save artifacts in project directory (
playwright-report
,cypress/videos
, etc.).To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should be possible to scrape artifacts from any directory. The volume should probably be mounted after git clone/checkout.
Version / Cluster
1.11.7
The text was updated successfully, but these errors were encountered: