Skip to content

Commit 3942843

Browse files
- Tune docker issue.
1 parent d9ba951 commit 3942843

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,13 @@ jobs:
421421
with:
422422
name: stackql_linux_amd64
423423
path: build/stackql
424+
425+
- name: Upload Artifact
426+
uses: actions/[email protected]
427+
if: success()
428+
with:
429+
name: stackql_mcp_client_linux_amd64
430+
path: build/stackql_mcp_client
424431

425432
- name: prepare deb boilerplate
426433
run: |
@@ -470,6 +477,11 @@ jobs:
470477
name: stackql_linux_amd64
471478
path: build
472479

480+
- name: Download Artifact
481+
uses: actions/[email protected]
482+
with:
483+
name: stackql_mcp_client_linux_amd64
484+
path: build
473485

474486
- name: Download deb Artifact
475487
uses: actions/[email protected]
@@ -485,7 +497,9 @@ jobs:
485497
- name: Stackql permissions
486498
run: |
487499
sudo chmod a+rwx build/stackql
500+
sudo chmod a+rwx build/stackql_mcp_client
488501
ls -al build/stackql
502+
ls -al build/stackql_mcp_client
489503
ls -al .
490504
491505
- name: Set up Go 1.x
@@ -952,6 +966,7 @@ jobs:
952966
pkgVersion: ${{env.BUILDMAJORVERSION}}.${{env.BUILDMINORVERSION}}.${{env.BUILDPATCHVERSION}}
953967
pkgArchitecture: 'arm64'
954968
PYTHONPATH: '${{ env.PYTHONPATH }}:${{ github.workspace }}/test/python'
969+
IS_DEB_TEST: 'true'
955970
run: |
956971
mkdir -p deb_test
957972
DEB_FILE="${pkgName}_${pkgVersion}_${pkgArchitecture}.deb"

test/robot/functional/mcp.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Resource ${CURDIR}/stackql.resource
33

44
*** Test Cases ***
55
MCP HTTP Server List Tools
6+
Pass Execution If "%{IS_DEB_TEST}" == "true" Debian testing does not have the MCP client available
67
${serverProcess}= Start Process ${STACKQL_EXE}
78
... mcp
89
... \-\-mcp.server.type\=http

test/robot/functional/stackql.resource

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ Prepare StackQL Environment
5858
Set Environment Variable DD_API_KEY %{DD_API_KEY=myusername}
5959
Set Environment Variable DD_APPLICATION_KEY %{DD_APPLICATION_KEY=mypassword}
6060
Start All Mock Servers
61-
Generate Container Credentials for StackQL PG Server mTLS
6261
Start StackQL PG Server mTLS ${PG_SRV_PORT_MTLS} ${PG_SRV_MTLS_CFG_STR} {} {} ${SQL_BACKEND_CFG_STR_CANONICAL} ${PG_SRV_PORT_DOCKER_MTLS}
6362
Start StackQL PG Server mTLS ${PG_SRV_PORT_MTLS_WITH_NAMESPACES} ${PG_SRV_MTLS_CFG_STR} ${NAMESPACES_TTL_SPECIALCASE_TRANSPARENT} {} ${SQL_BACKEND_CFG_STR_CANONICAL} ${PG_SRV_PORT_DOCKER_MTLS_WITH_NAMESPACES}
6463
Start StackQL PG Server mTLS ${PG_SRV_PORT_MTLS_WITH_EAGER_GC} ${PG_SRV_MTLS_CFG_STR} {} ${GC_CFG_EAGER} ${SQL_BACKEND_CFG_STR_CANONICAL} ${PG_SRV_PORT_DOCKER_MTLS_WITH_EAGER_GC}
@@ -67,14 +66,6 @@ Prepare StackQL Environment
6766
Start Postgres External Source If Viable
6867
Sleep 50s
6968

70-
Generate Container Credentials for StackQL PG Server mTLS
71-
IF "${EXECUTION_PLATFORM}" == "docker"
72-
${res} = Run Process docker compose \-f docker\-compose\-credentials.yml
73-
... run \-\-rm credentialsgen
74-
Log Credentials gen completed
75-
Should Be Equal As Integers ${res.rc} 0
76-
END
77-
7869
Start StackQL PG Server mTLS
7970
[Arguments] ${_SRV_PORT_MTLS} ${_MTLS_CFG_STR} ${_NAMESPACES_CFG} ${_GC_CFG} ${_SQL_BACKEND_CFG} ${_DOCKER_PORT}
8071
IF "${EXECUTION_PLATFORM}" == "native"

0 commit comments

Comments
 (0)