integ/debian_stable_docker_images.inc
Mohammad Issa 896bd432a2 Build Debian image(s): n3000-opae
This change implements building Centos based image(s) for n3000-opae
in a Debian build env.

The Dockerfile will use an upstream version of centos:7.9.2009
as the $BASE.

Test Plan:

PASS: Build Centos based image in a Debian build env.
      Save the image in a tarball and transfer into a controller
      for testing.

PASS: Use "system host-device-image-update controller-0" which
      uses the functionality of n3000-opae packages. The new built
      image is used as the main n3000-opae during command execution.
      --> Sysinv.log response:
          sysinv.fpga_agent.rpcapi [-] sending device_update_image
          to host controller-0

          sysinv.conductor.manager [-] device_update_image_status:
          transaction_id: 1,status: in-progress, progress: None,
          err: None

          sysinv.conductor.manager [-] device_update_image_status:
          transaction_id: 1, status: completed, progress: None,
          err: None

          sysinv.conductor.manager [-] no more device images to process

PASS: Check controller's fpga commands available through new built image
      by running "sudo docker run -t --privileged -e LC_ALL=en_US.UTF-8
      -e LANG=en_US.UTF-8 -v /usr/../sysinv:/mnt/images
      registry.local:9001/docker.io/starlingx/n3000-opae:test
      ls /usr/bin/fpga*"
      --> Command Response:
          fpgabist
          fpgad
          fpgadiag
          fpga_dma_test
          fpgaflash
          fpgainfo
          fpgalpbk
          fpgamac
          fpgaotsu
          fpgaport
          fpgastats
          fpgasupdate

Story: 2009831
Task: 46150

Signed-off-by: Mohammad Issa <mohammad.issa@windriver.com>
Change-Id: If1ad4ff7c731b463f877798be9607be9aa192397
2022-08-29 18:37:10 +00:00

2 lines
17 B
C++

kubernetes/n3000