Skip to content

Conversation

Copy link

Copilot AI commented Oct 27, 2025

Daily CI now uploads JUnit XML test reports and labgrid console logs to S3 for long-term archival beyond GitHub Actions retention limits.

Changes

  • .github/workflows/daily.yml: Added S3 upload steps to test-real and test-qemu jobs

    • Uploads report.xml and console_*.log files after each test run
    • Conditional on secrets.S3_BUCKET != '' - workflow continues normally if S3 not configured
    • Uses always() to capture logs even on test failures
    • Organized as: s3://{bucket}/daily/{YYYY-MM-DD}/{run_id}/{device}-{version}/
  • docs/S3_CONFIGURATION.md: Configuration guide covering required secrets, bucket structure, IAM permissions, and troubleshooting

  • README.md: Added CI section linking to S3 documentation

Required Secrets (Optional)

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION
  • S3_BUCKET

Compatible with any S3-compatible service (AWS S3, MinIO, DigitalOcean Spaces, etc.).

Original prompt

Please extend the daily CI to upload the test result as XML as well as the boot logs to a remote S3 store.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits October 27, 2025 17:13
Co-authored-by: aparcar <16000931+aparcar@users.noreply.github.com>
Co-authored-by: aparcar <16000931+aparcar@users.noreply.github.com>
Copilot AI changed the title [WIP] Extend daily CI to upload test results and boot logs to S3 Add S3 upload for test results and boot logs in daily CI Oct 27, 2025
Copilot AI requested a review from aparcar October 27, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants