From 063ab1d316112eb6150d3146c7e153d166e18468 Mon Sep 17 00:00:00 2001 From: Joseph Gigantino <128943406+Jgigantino31@users.noreply.github.com> Date: Wed, 30 Jul 2025 13:15:45 -0400 Subject: [PATCH] Test generating user and organization licenses during build check (#252) Add commands to build check to build licensegen image as well and test if the created licensegen image can actually generate user and organization licenses. run.sh will print the generated license to stdout and return zero if successful. If an error occurs, a non zero error code is returned which should cause a build error. Signed-off-by: Joseph Gigantino <128943406+Jgigantino31@users.noreply.github.com> --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 34a1058..50bdba8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,3 +13,12 @@ jobs: - run: name: Build script command: ./build.sh + - run: + name: Build licenseGen + command: ./src/licenseGen/build.sh + - run: + name: Test generating user license + command: ./src/licenseGen/run.sh ./.keys/cert.pfx user TestName TestEmail@example.com 4a619d4a-522d-4c70-8596-affb5b607c23 + - run: + name: Test generating organization license + command: ./src/licenseGen/run.sh ./.keys/cert.pfx org TestName TestEmail@example.com 4a619d4a-522d-4c70-8596-affb5b607c23