You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: Add initial GitHub Actions for kernel CI pipeline. (#6)
Includes the following components:
1. aws_s3_helper (composite action):
- Supports three modes: single-upload, multi-upload, and download
- Uploads files to S3 with dynamic paths based on GitHub context
- Generates pre-signed URLs for uploaded files
- Outputs a single URL or a JSON file of URLs depending on mode
- Uploads presigned_urls.json as an artifact in multi-upload mode
2. pull_docker_image (composite action):
- Clone kmake-image repository
- Build the docker image using kmake-image Dockerfile
3. build (workflow):
- Uses an AWS runner to build kernel artifacts
- Uses pull_docker_image to get docker image
- Builds the kernel using a reusable `build` action
- Packages and lists key artifacts (Image, vmlinux, dtb, modules)
- Uploads artifacts to S3 using `aws_s3_helper`
- Cleans up workspace and appends a build summary
4. build_workspace (composite action):
- Downloads required dependencies (ramdisk, systemd-boot)
- Builds the kernel using Docker and outputs modules
- Packages DLKM into the downloaded ramdisk
5. test_action (composite action):
- Parses presigned_urls.json to extract artifact URLs
- Updates metadata.json and cloudData.json using Docker + jq
- Uploads updated metadata to S3 and injects its URL into cloudData
- Adds firmware and ramdisk URLs via pre-signed S3 links
- Generates a LAVA job definition using a Python script,
qualcomm_linux/job_render repository
6. test (workflow):
- Uses pull_docker_image to get docker image
- Download artifact URLs list generated by build workflow
- Triggers the LAVA job using job definition
- Gets the LAVA job results
This commit establishes a basic docker-based CI pipeline for kernel builds
and automated artifact handling via AWS S3.
Signed-off-by: Vishal Kumar <viskuma@qti.qualcomm.com>
0 commit comments