Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/build_and_test_autosd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,12 @@ jobs:
sudo apt-get install -y podman curl qemu-system createrepo-c
- name: Build Showcases
run: |
bazel build --config autosd-x86_64 //images/autosd_x86_64:image
bazel build --config autosd-x86_64 //images/autosd_x86_64:score-showcases
- name: Copy showcases folder
run: |
set -e
mkdir -p ./images/autosd_x86_64/build/rpms
ls -la bazel-bin/showcases
ls -la bazel-bin/
cp -R bazel-bin/showcases ./images/autosd_x86_64/build/files/
ls ./bazel-bin/showcases/showcases/showcases
cp -R ./bazel-bin/showcases/showcases/showcases ./images/autosd_x86_64/build/files/reference_integration/
- name: Install AIB Tools
run: |
curl -o auto-image-builder.sh "https://gitlab.com/CentOS/automotive/src/automotive-image-builder/-/raw/main/auto-image-builder.sh?ref_type=heads"
Expand Down
4 changes: 4 additions & 0 deletions images/autosd_x86_64/build/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ auto-image-builder.sh

*.qcow2
*.img


!files/reference_integration/.gitkeep
files/reference_integration
Empty file.
11 changes: 6 additions & 5 deletions images/autosd_x86_64/build/image.aib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ content:
repos:
- id: epel
baseurl: https://dl.fedoraproject.org/pub/epel/10/Everything/$arch/
# removing it for now because the image is relying on copying globs
#- id: score
# baseurl: file:///host/rpms
rpms:
# For testing the image only:
- openssh-server
Expand All @@ -37,6 +34,10 @@ content:
mode: 0755
parents: true
exist_ok: true
- path: /usr/share/score/examples
mode: 0755
parents: true
exist_ok: true
# Configure shared socket directory via tmpfiles
add_files:
- path: /usr/lib/tmpfiles.d/lola_disc.conf
Expand Down Expand Up @@ -65,8 +66,8 @@ content:
- path: /usr/bin/lola-ipc-test
source_path: files/lola-ipc-test
# showcases
- path: /usr/share/score/examples/
source_glob: "files/**/*"
- path: /usr/share/score/examples
source_glob: "files/reference_integration/**/*"
preserve_path: true
max_files: 50
chmod_files:
Expand Down
Loading