These sample scripts and docker images enable you to develop/test/demo the SDO owner services by initializing a VM to simulate an SDO-enabled device and creating an ownership voucher. See the ../README.md for instructions on how to use them in the context of the overall SDO process.
These steps only need to be performed by developers of this project.
- Create the small tar file that will be needed on each simulated device:
make sdo_device_binaries_1.8_linux_x64.tar.gz
- Upload the tar file to https://github.com/open-horizon/SDO-support/releases with the title
SDO 1.8
and tagv1.8
, so the tar file download URL will be https://github.com/open-horizon/SDO-support/releases/download/v1.8/sdo_device_binaries_1.8_linux_x64.tar.gz
- Download this tar file from Intel SDO Release 1.8 to directory
../sdo/
and uppack it:
mkdir -p ../sdo && cd ../sdo
curl --progress-bar -LO https://github.com/secure-device-onboard/release/releases/download/v1.8.0/supply-chain-tools-v1.8.0.tar.gz
tar -zxf supply-chain-tools-v1.8.0.tar.gz
cd ../sample-mfg
- Build the SDO manufacturer services:
make sdo-mfg-services
- After you have personally tested the services, push them to docker hub with the
testing
tag, so others from the development team can test it:
make push-sdo-mfg-services
- After the development team has validated the services, publish them to docker hub as the latest patch release with the
latest
tag:
make publish-sdo-mfg-services
- On a fully tested release boundary (usually when the 2nd number of the version changes), publish them to docker hub with the
stable
tag:
make promote-sdo-mfg-services