From 1ee7730f0ad6c40848ef7d7c061a70071d6d1031 Mon Sep 17 00:00:00 2001 From: Joseph Gigantino <128943406+Jgigantino31@users.noreply.github.com> Date: Tue, 29 Jul 2025 21:13:14 -0400 Subject: [PATCH] Test generating user and organization licenses during build check Add commands to build check to test if the created licensegen image can actually generate user and organization licenses. licenseGen.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. --- .circleci/config.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6bbf697..acb6ba1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,4 +12,10 @@ jobs: command: ./generateKeys.sh - run: name: Build script - command: ./build.sh y \ No newline at end of file + command: ./build.sh y + - run: + name: Test generating user license + command: ./licenseGen.sh user TestName TestEmail@example.com 4a619d4a-522d-4c70-8596-affb5b607c23 + - run: + name: Test generating organization license + command: ./licenseGen.sh org TestName TestEmail@example.com 4a619d4a-522d-4c70-8596-affb5b607c23