From 232fbf12d69f3b68b26e6f407bd0e45f9b234385 Mon Sep 17 00:00:00 2001 From: Oscar Tisnado <68830577+otisnado@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:03:25 -0600 Subject: [PATCH] add boxlang to matrix --- .cfconfig.json | 1 + .github/workflows/tests.yml | 8 ++++++++ server-boxlang@1.json | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 .cfconfig.json create mode 100644 server-boxlang@1.json diff --git a/.cfconfig.json b/.cfconfig.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.cfconfig.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 45ee0cc..bd2f272 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,6 +38,14 @@ jobs: javaVersion: "21" ELASTICSEARCH_VERSION: "8.14.1" experimental: true + - cfengine: "boxlang@1" + coldboxVersion: "be" + ELASTICSEARCH_VERSION: "8.14.1" + experimental: true + - cfengine: "boxlang@1" + coldboxVersion: "be" + ELASTICSEARCH_VERSION: "7.17.10" + experimental: true steps: - name: Checkout Repository uses: actions/checkout@v4 diff --git a/server-boxlang@1.json b/server-boxlang@1.json new file mode 100644 index 0000000..1175974 --- /dev/null +++ b/server-boxlang@1.json @@ -0,0 +1,36 @@ +{ + "app":{ + "cfengine":"boxlang@be", + "serverHomeDirectory":".engine/boxlang" + }, + "name":"cbelasticsearch-boxlang@1", + "force":true, + "openBrowser":false, + "web":{ + "directoryBrowsing":true, + "http":{ + "port":"60299" + }, + "rewrites":{ + "enable":"true" + }, + "webroot":"test-harness", + "aliases":{ + "/moduleroot/cbelasticsearch":"./" + } + }, + "JVM":{ + "heapSize":"1024", + "javaVersion":"openjdk21_jdk", + "args":"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999" + }, + "cfconfig":{ + "file":".cfconfig.json" + }, + "env":{ + "BOXLANG_DEBUG":true + }, + "scripts":{ + "onServerInitialInstall":"install bx-mail,bx-mysql,bx-derby,bx-compat-cfml@be,bx-unsafe-evaluate,bx-esapi --noSave" + } +} \ No newline at end of file