_sandboxreapi.py: Set platform properties
This sets platform properties for buildbox-run and remote execution.
- Canonicalize OS name to match REAPI platform lexicon (lower case and use
macoson macOS). This results in a cache key change. - Set
OSFamilyandISAplatform properties for both buildbox-run and remote execution. This ensures the action is handed to a suitable worker and allows buildbox-run implementations to support non-native compilation (as well aslinux32handling). - Set
unixUIDandunixGIDfor buildbox-run to supportbuild-uidandbuild-gidfromproject.confand.bstfiles. See BuildGrid/buildbox/buildbox-run-bubblewrap!8 (merged). This will allowtests/integration/build-uid.pyto pass with buildbox-run-bubblewrap. However, I'm deferring the drop of theskipifuntil the next update of buildbox-run-bubblewrap in the docker images used in CI. - Set
networkfor buildbox-runto support network access when invokingbst shellwithout--isolate`. Depends on BuildGrid/buildbox/buildbox-run-bubblewrap!9 (merged)
This is part of #719 (closed).
Edited by Jürg Billeter