From 5c7386990226442036ef2dd6d3e70dc0b2f3c2a8 Mon Sep 17 00:00:00 2001 From: Olivier Le Thanh Duong Date: Thu, 4 Jul 2024 09:43:33 +0200 Subject: [PATCH 1/2] Problem: sevctl command was not tested on the proplet --- .github/workflows/test-on-droplets-matrix.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test-on-droplets-matrix.yml b/.github/workflows/test-on-droplets-matrix.yml index 33ff38005..e59ef67a4 100644 --- a/.github/workflows/test-on-droplets-matrix.yml +++ b/.github/workflows/test-on-droplets-matrix.yml @@ -169,6 +169,12 @@ jobs: "http://${DROPLET_IPV4}:4020/about/usage/system" + - name: Run the sevctl command to ensure it's properly packaged and working + run: | + export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-${{ matrix.os_config.alias }}-${{ matrix.check_vm.alias }} --output json | ./.github/scripts/extract_droplet_ipv4.py)" + ssh root@${DROPLET_IPV4} "/opt/sevctl ok" + + - name: Export aleph logs if: always() run: | From 47a9db0b79c4c508a9eccd1bf2382a2f9620dbb3 Mon Sep 17 00:00:00 2001 From: Olivier Le Thanh Duong Date: Thu, 4 Jul 2024 14:56:37 +0200 Subject: [PATCH 2/2] Update .github/workflows/test-on-droplets-matrix.yml Co-authored-by: Hugo Herter --- .github/workflows/test-on-droplets-matrix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-on-droplets-matrix.yml b/.github/workflows/test-on-droplets-matrix.yml index e59ef67a4..adc04e0aa 100644 --- a/.github/workflows/test-on-droplets-matrix.yml +++ b/.github/workflows/test-on-droplets-matrix.yml @@ -172,7 +172,7 @@ jobs: - name: Run the sevctl command to ensure it's properly packaged and working run: | export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-${{ matrix.os_config.alias }}-${{ matrix.check_vm.alias }} --output json | ./.github/scripts/extract_droplet_ipv4.py)" - ssh root@${DROPLET_IPV4} "/opt/sevctl ok" + ssh root@${DROPLET_IPV4} "/opt/sevctl --version" - name: Export aleph logs