@@ -2,7 +2,9 @@ name: CI-CD
22# CI/CD Pipeline for Morpheus Lumerin Node
33#
44# Branch Strategy:
5- # • dev: Build and test only (no deployment)
5+ # • dev: Build-only (TEMPORARY): verify, tag, proxy-router docker test, CLI/router executables,
6+ # and UI desktop artifacts uploaded to the workflow run — no GHCR push, TEE, release, or deploy.
7+ # Revert dev push builds after test→main promotion is unblocked.
68# • test: Build, test, and deploy to AWS DEV environment (Titan dev + Morpheus dev consumer node)
79# • main: Build, test, create release, and deploy to AWS PRD environment (Titan lmn + Morpheus prd consumer/provider nodes)
810#
@@ -958,7 +960,7 @@ jobs:
958960 if : |
959961 github.repository == 'MorpheusAIs/Morpheus-Lumerin-Node' &&
960962 (
961- (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test')) ||
963+ (github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test' || github.ref == 'refs/heads/dev' )) ||
962964 (github.event_name == 'workflow_dispatch' && github.event.inputs.build_all_os == 'true')
963965 )
964966 needs :
@@ -2199,15 +2201,16 @@ jobs:
21992201 if : |
22002202 github.repository == 'MorpheusAIs/Morpheus-Lumerin-Node' &&
22012203 (
2202- (github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/cicd/') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test')) ||
2204+ (github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/cicd/') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test' || github.ref == 'refs/heads/dev' )) ||
22032205 (github.event_name == 'workflow_dispatch' && github.event.inputs.build_all_os == 'true')
22042206 )
22052207 runs-on : macos-latest
22062208 needs :
22072209 - Generate-Tag
22082210 - Build-Service-Executables
22092211 env :
2210- SERVICE_PROXY_DOWNLOAD_URL_MAC_ARM64 : ${{ needs.Generate-Tag.outputs.artifacts_base_url }}/mac-arm64-morpheus-router-${{ needs.Generate-Tag.outputs.vfull }}
2212+ # Dev builds have no GitHub release; omit router download URL (test router from workflow artifacts).
2213+ SERVICE_PROXY_DOWNLOAD_URL_MAC_ARM64 : ${{ github.ref != 'refs/heads/dev' && format('{0}/mac-arm64-morpheus-router-{1}', needs.Generate-Tag.outputs.artifacts_base_url, needs.Generate-Tag.outputs.vfull) || '' }}
22112214 steps :
22122215 - name : Clone
22132216 id : checkout
@@ -2263,15 +2266,15 @@ jobs:
22632266 if : |
22642267 github.repository == 'MorpheusAIs/Morpheus-Lumerin-Node' &&
22652268 (
2266- (github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/cicd/') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test')) ||
2269+ (github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/cicd/') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test' || github.ref == 'refs/heads/dev' )) ||
22672270 (github.event_name == 'workflow_dispatch' && github.event.inputs.build_all_os == 'true')
22682271 )
22692272 runs-on : ubuntu-22.04
22702273 needs :
22712274 - Generate-Tag
22722275 - Build-Service-Executables
22732276 env :
2274- SERVICE_PROXY_DOWNLOAD_URL_LINUX_X64 : ${{ needs.Generate-Tag.outputs.artifacts_base_url }} /linux-x86_64-morpheus-router-${{ needs.Generate-Tag.outputs.vfull }}
2277+ SERVICE_PROXY_DOWNLOAD_URL_LINUX_X64 : ${{ github.ref != 'refs/heads/dev' && format('{0} /linux-x86_64-morpheus-router-{1}', needs.Generate-Tag.outputs.artifacts_base_url, needs.Generate-Tag.outputs. vfull) || '' }}
22752278 steps :
22762279 - name : Clone
22772280 id : checkout
@@ -2326,15 +2329,15 @@ jobs:
23262329 if : |
23272330 github.repository == 'MorpheusAIs/Morpheus-Lumerin-Node' &&
23282331 (
2329- (github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/cicd/') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test')) ||
2332+ (github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/cicd/') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test' || github.ref == 'refs/heads/dev' )) ||
23302333 (github.event_name == 'workflow_dispatch' && github.event.inputs.build_all_os == 'true')
23312334 )
23322335 runs-on : ubuntu-22.04
23332336 needs :
23342337 - Generate-Tag
23352338 - Build-Service-Executables
23362339 env :
2337- SERVICE_PROXY_DOWNLOAD_URL_LINUX_ARM64 : ${{ needs.Generate-Tag.outputs.artifacts_base_url }} /linux-arm64-morpheus-router-${{ needs.Generate-Tag.outputs.vfull }}
2340+ SERVICE_PROXY_DOWNLOAD_URL_LINUX_ARM64 : ${{ github.ref != 'refs/heads/dev' && format('{0} /linux-arm64-morpheus-router-{1}', needs.Generate-Tag.outputs.artifacts_base_url, needs.Generate-Tag.outputs. vfull) || '' }}
23382341 steps :
23392342 - name : Clone
23402343 id : checkout
@@ -2389,15 +2392,15 @@ jobs:
23892392 if : |
23902393 github.repository == 'MorpheusAIs/Morpheus-Lumerin-Node' &&
23912394 (
2392- (github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/cicd/') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test')) ||
2395+ (github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/cicd/') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test' || github.ref == 'refs/heads/dev' )) ||
23932396 (github.event_name == 'workflow_dispatch' && github.event.inputs.build_all_os == 'true')
23942397 )
23952398 runs-on : macos-15-intel
23962399 needs :
23972400 - Generate-Tag
23982401 - Build-Service-Executables
23992402 env :
2400- SERVICE_PROXY_DOWNLOAD_URL_MAC_X64 : ${{ needs.Generate-Tag.outputs.artifacts_base_url }} /mac-x64-morpheus-router-${{ needs.Generate-Tag.outputs.vfull }}
2403+ SERVICE_PROXY_DOWNLOAD_URL_MAC_X64 : ${{ github.ref != 'refs/heads/dev' && format('{0} /mac-x64-morpheus-router-{1}', needs.Generate-Tag.outputs.artifacts_base_url, needs.Generate-Tag.outputs. vfull) || '' }}
24012404 steps :
24022405 - name : Clone
24032406 id : checkout
@@ -2453,15 +2456,15 @@ jobs:
24532456 if : |
24542457 github.repository == 'MorpheusAIs/Morpheus-Lumerin-Node' &&
24552458 (
2456- (github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/cicd/') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test')) ||
2459+ (github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/cicd/') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test' || github.ref == 'refs/heads/dev' )) ||
24572460 (github.event_name == 'workflow_dispatch' && github.event.inputs.build_all_os == 'true')
24582461 )
24592462 runs-on : windows-latest
24602463 needs :
24612464 - Generate-Tag
24622465 - Build-Service-Executables
24632466 env :
2464- SERVICE_PROXY_DOWNLOAD_URL_WINDOWS_X64 : ${{ needs.Generate-Tag.outputs.artifacts_base_url }} /win-x64-morpheus-router-${{ needs.Generate-Tag.outputs.vfull }}.exe
2467+ SERVICE_PROXY_DOWNLOAD_URL_WINDOWS_X64 : ${{ github.ref != 'refs/heads/dev' && format('{0} /win-x64-morpheus-router-{1}.exe', needs.Generate-Tag.outputs.artifacts_base_url, needs.Generate-Tag.outputs. vfull) || '' }}
24652468 steps :
24662469 - name : Clone
24672470 id : checkout
0 commit comments