Example project demonstrating how to build and test RHIVOS/AutoSD images with sample automotive applications.
This repository contains:
- Sample automotive applications (
src/) that demonstrate SOME/IP communicationengine-service: Simple service emitting reverse gear eventsradio-service: Radio emulator with volume controlradio-client: Command-line interface for the radio service
- Image customization manifest (
manifests/simple.aib.yml) - Integration with Red Hat Automotive Image Builder
- Jumpstarter-based testing workflow for virtual devices
- Access to Red Hat OpenShift Dev Spaces
- Jumpstarter client configuration
- Repository webhook configured for automated builds (optional)
Navigate to Red Hat OpenShift Dev Spaces and import the repository.
Once the workspace is started, initialize Jumpstarter:
.scripts/init-jumpstarterThis creates a new Jumpstarter client for the current user.
With a webhook configured to trigger builds on Red Hat OpenShift, pushing changes to GitHub will automatically create a new OS image. The built image will be uploaded to an AWS S3 bucket.
The image configuration is defined in manifests/simple.aib.yml, which specifies packages, services, and authentication settings.
List available exporters:
jmp get exportersGet a lease on one of the exporters:
jmp shell --selector type=virtualNow you are inside the Jumpstarter shell and you can interact with the device:
j --helpThis lists all available commands the exporter supports.
Next, "flash" the OS image onto the virtual device:
.scripts/flashThe script uses the OS image from the previous build by default.
In case you do not want to build a new image first, use an existing image instead:
j flasher flash https://rhadp-aib-cdn.s3.us-east-2.amazonaws.com/prebuilt/autosd9-qemu.qcow2Boot the virtual device and login:
j power on && j console start-consoleUse root as user with password password to login.
You can exit the shell on the virtual device with the usual exit command.
To drop out of the Jumpstarter shell, hit Ctrl-B 3 times.
This will also end your lease on the exporter, making it available for other users or clients.
bump