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.10_linux_x64.tar.gz
- Create a new release in https://github.com/open-horizon/SDO-support/releases with the title
SDO 1.10
and tagv1.10
. Upload the tar file you just made to that release. The download URL should be https://github.com/open-horizon/SDO-support/releases/download/v1.10/sdo_device_binaries_1.10_linux_x64.tar.gz
- If you have not already done so, download this tar file from Intel SDO Release 1.10.1 to directory
../sdo/
and unpack it:
mkdir -p ../sdo && cd ../sdo
curl --progress-bar -LO https://github.com/secure-device-onboard/release/releases/download/v1.10.1/supply-chain-tools-v1.10.1.tar.gz
tar -zxf supply-chain-tools-v1.10.1.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 tag considered stable:
make promote-sdo-mfg-services