mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-23 16:30:11 -05:00
compute measurements for single image
This commit is contained in:
parent
1feaccdc55
commit
206850609b
@ -16,8 +16,12 @@ jobs:
|
|||||||
uses: ./.github/actions/setup_bazel_nix
|
uses: ./.github/actions/setup_bazel_nix
|
||||||
with:
|
with:
|
||||||
useCache: "false"
|
useCache: "false"
|
||||||
|
# TODO: get correct path to bazel build artifacts, generate measurements and fetch released measurements, then compare.
|
||||||
- name: Build images and produce measurements
|
- name: Build images and produce measurements
|
||||||
# TODO: get correct path to bazel build artifacts, generate measurements and fetch released measurements, then compare.
|
|
||||||
run: |
|
run: |
|
||||||
bazel build //image/system:stable
|
bazel build //image/system:stable
|
||||||
bazel build //image/measured-boot/cmd
|
bazel build //image/measured-boot/cmd
|
||||||
|
buildPath="$PWD/bazel-bin/image"
|
||||||
|
cd $(mktemp -d)
|
||||||
|
sudo "$buildPath/measured-boot/cmd/cmd_/cmd" "$buildPath/ssystem/qemu_qemu-vtpm_stable/constellation" ./measurements.json
|
||||||
|
cat ./measurements.json | jq
|
||||||
|
Loading…
x
Reference in New Issue
Block a user