From 049b79ad67e34497fa9bba578cada5cafbc88fd8 Mon Sep 17 00:00:00 2001 From: Carlos Segarra Date: Sat, 6 Dec 2025 10:35:51 +0000 Subject: [PATCH 1/7] [ci] B: Fix Image Release Build --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a33b040..fbe8517 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,7 @@ on: - main paths: - 'VERSION' + workflow_dispatch: jobs: build-and-push: @@ -32,4 +33,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: "Build and push images" - run: ./scripts/accli_wrapper.sh docker build-all --push + run: ./scripts/accli_wrapper.sh dev docker build-all --push From f56ee18c46e0e8202551dec59250b5daaa29ddbf Mon Sep 17 00:00:00 2001 From: Carlos Segarra Date: Sat, 6 Dec 2025 10:37:43 +0000 Subject: [PATCH 2/7] [build] E: Bump Version To 0.9.2 --- Cargo.toml | 2 +- VERSION | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 58cd776..b037cea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ members = [ ] [workspace.package] -version = "0.9.1" +version = "0.9.2" license-file = "LICENSE" authors = ["Large-Scale Data & Systems Group - Imperial College London"] edition = "2024" diff --git a/VERSION b/VERSION index f374f66..2003b63 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.9.1 +0.9.2 From 4f443be807888f8cd138639956b70046dbaefcd0 Mon Sep 17 00:00:00 2001 From: Carlos Segarra Date: Sat, 6 Dec 2025 10:42:42 +0000 Subject: [PATCH 3/7] [ci] E: Add Job To Update Version Badge --- .github/workflows/release.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbe8517..c1ee43c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,38 @@ on: workflow_dispatch: jobs: + version-badge: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: "Read version" + id: version + run: echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV + + - name: "Generate SVG badge" + run: | + cat > version.svg < + + + version + ${VERSION} + + EOF + + - name: "Commit badge" + run: | + git config user.name "github-actions" + git config user.email "github-actions@github.com" + git add version.svg + git commit -m "[build] E: Update Version Badge To ${VERSION}" || echo "No changes" + git push + + # Run this job strictly after updating the version badge, so that the updated + # badge makes it into the tag. build-and-push: + needs: version-badge runs-on: ubuntu-latest steps: - name: "Check out the repo" From 1a07d1d958b5e5a9118225d05d9f29e59ff35de5 Mon Sep 17 00:00:00 2001 From: Carlos Segarra Date: Sat, 6 Dec 2025 10:44:05 +0000 Subject: [PATCH 4/7] [docs] E: Update Readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3d77f59..53c45c2 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@

+ + Accless Version + Integration Tests From b29fcadd41c6d6125e977fac9a1c0c3e60452913 Mon Sep 17 00:00:00 2001 From: Carlos Segarra Date: Sat, 6 Dec 2025 10:44:48 +0000 Subject: [PATCH 5/7] [config] E: Add 'experiments' To Valid Modules --- config/githooks/commit-msg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/githooks/commit-msg b/config/githooks/commit-msg index 4da8969..e9d44d0 100755 --- a/config/githooks/commit-msg +++ b/config/githooks/commit-msg @@ -10,8 +10,8 @@ if [ $(echo "$commit_msg_title" | wc -c) -gt $max_length ]; then exit 1 fi -if ! echo "$commit_msg" | grep -q -E '\[(accless|accli|applications|as|build|ci|config|docs|scripts|template-graph)\] (B|E|F|W): '; then +if ! echo "$commit_msg" | grep -q -E '\[(accless|accli|applications|as|build|ci|config|docs|experiments|scripts|template-graph)\] (B|E|F|W): '; then echo "ERROR: Commit message does not match pattern: '[module-name] (B|E|F|W): Short Description" - echo "ERROR: List of modules: accless, accli, applications, as, build, ci, config, docs, scripts, template-graph" + echo "ERROR: List of modules: accless, accli, applications, as, build, ci, config, docs, experiments, scripts, template-graph" exit 1 fi From 8c2a5f2023d72c1a9ffcae6e478a5e19ca239e4b Mon Sep 17 00:00:00 2001 From: Carlos Segarra Date: Sat, 6 Dec 2025 10:54:01 +0000 Subject: [PATCH 6/7] [scripts] B: Add 'cpuid' Check In Snp Setup --- scripts/snp/setup.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/snp/setup.sh b/scripts/snp/setup.sh index d94bb84..9aa812d 100755 --- a/scripts/snp/setup.sh +++ b/scripts/snp/setup.sh @@ -25,6 +25,13 @@ check_host_reqs() { print_info "Checking host system requirements..." + # Check we can run `cpuid`. + if [[ ! -e "/dev/cpu/0/cpuid" ]]; then + print_error "check_host_reqs(): cpuid kernel module is not loaded" + print_error "check_host_reqs(): fix: run 'sudo modprobe cpuid' once or add 'cpuid' to /etc/modules-load.d/cpuid.conf." + exit 1 + fi + # Check `/dev/sev` exists. if [[ ! -e "$device" ]]; then print_error "check_host_reqs(): $device does not exist" From f31932043ff05ed1c20aebe7bf8611f0088feaa5 Mon Sep 17 00:00:00 2001 From: Carlos Segarra Date: Sat, 6 Dec 2025 11:21:02 +0000 Subject: [PATCH 7/7] [docs] B: Update Ref In Version Badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 53c45c2..ba34237 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@

- + Accless Version