|
33 | 33 | - claude-sdk-typescript |
34 | 34 | - ms-agent-dotnet |
35 | 35 | - claude-sdk-python |
36 | | - - test-integration-tmp |
37 | 36 | - starter-langgraph-python |
38 | 37 | - starter-mastra |
39 | 38 | - starter-crewai-crews |
|
54 | 53 | outputs: |
55 | 54 | matrix: ${{ steps.build-matrix.outputs.matrix }} |
56 | 55 | has_changes: ${{ steps.build-matrix.outputs.has_changes }} |
57 | | - test_integration_tmp: ${{ steps.changes.outputs.test_integration_tmp }} |
58 | 56 | steps: |
59 | 57 | - uses: actions/checkout@v4 |
60 | 58 |
|
|
85 | 83 | claude_sdk_typescript: 'showcase/packages/claude-sdk-typescript/**' |
86 | 84 | ms_agent_dotnet: 'showcase/packages/ms-agent-dotnet/**' |
87 | 85 | claude_sdk_python: 'showcase/packages/claude-sdk-python/**' |
88 | | - test_integration_tmp: 'showcase/packages/test-integration-tmp/**' |
89 | 86 | starter_langgraph_python: 'examples/integrations/langgraph-python/**' |
90 | 87 | starter_mastra: 'examples/integrations/mastra/**' |
91 | 88 | starter_crewai_crews: 'examples/integrations/crewai-crews/**' |
@@ -117,7 +114,6 @@ jobs: |
117 | 114 | {"dispatch_name":"claude-sdk-typescript","filter_key":"claude_sdk_typescript","context":"showcase/packages/claude-sdk-typescript","image":"showcase-claude-sdk-typescript","cache_scope":"claude_sdk_typescript","railway_id":"18a98727-5700-44aa-b497-b60795dbbd6a","timeout":15,"lfs":false,"build_args":"","dockerfile":""}, |
118 | 115 | {"dispatch_name":"ms-agent-dotnet","filter_key":"ms_agent_dotnet","context":"showcase/packages/ms-agent-dotnet","image":"showcase-ms-agent-dotnet","cache_scope":"ms_agent_dotnet","railway_id":"beeb2dd6-87a4-4599-aa07-0578f7bd6519","timeout":15,"lfs":false,"build_args":"","dockerfile":""}, |
119 | 116 | {"dispatch_name":"claude-sdk-python","filter_key":"claude_sdk_python","context":"showcase/packages/claude-sdk-python","image":"showcase-claude-sdk-python","cache_scope":"claude_sdk_python","railway_id":"b122ab65-9854-4cb2-a68e-b50ff13f7481","timeout":15,"lfs":false,"build_args":"","dockerfile":""}, |
120 | | - {"dispatch_name":"test-integration-tmp","filter_key":"test_integration_tmp","context":"showcase/packages/test-integration-tmp","image":"showcase-test-integration-tmp","cache_scope":"test_integration_tmp","railway_id":"","timeout":15,"lfs":false,"build_args":"","dockerfile":""}, |
121 | 117 | {"dispatch_name":"starter-langgraph-python","filter_key":"starter_langgraph_python","context":"examples/integrations/langgraph-python","image":"showcase-starter-langgraph-python","cache_scope":"starter_langgraph_python","railway_id":"","timeout":15,"lfs":false,"build_args":"","dockerfile":""}, |
122 | 118 | {"dispatch_name":"starter-mastra","filter_key":"starter_mastra","context":"examples/integrations/mastra","image":"showcase-starter-mastra","cache_scope":"starter_mastra","railway_id":"","timeout":15,"lfs":false,"build_args":"","dockerfile":""}, |
123 | 119 | {"dispatch_name":"starter-crewai-crews","filter_key":"starter_crewai_crews","context":"examples/integrations/crewai-crews","image":"showcase-starter-crewai-crews","cache_scope":"starter_crewai_crews","railway_id":"","timeout":15,"lfs":false,"build_args":"","dockerfile":""}, |
@@ -252,46 +248,3 @@ jobs: |
252 | 248 | { |
253 | 249 | "text": "${{ (needs.detect-changes.result == 'failure' || needs.check-lockfile.result == 'failure') && format(':x: *Showcase deploy*: FAILED (pre-build check)') || needs.build.result == 'success' && ':white_check_mark: *Showcase deploy*: all services deployed to Railway' || (needs.build.result == 'skipped' && needs.detect-changes.result == 'success') && ':white_check_mark: *Showcase deploy*: no changes detected, nothing to deploy' || format(':x: *Showcase deploy*: FAILED (result: {0})', needs.build.result) }} | <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View run>" |
254 | 250 | } |
255 | | -
|
256 | | - build-test_integration_tmp: |
257 | | - name: Build & Push Test Integration |
258 | | - needs: [detect-changes, check-lockfile] |
259 | | - if: | |
260 | | - needs.detect-changes.outputs.test_integration_tmp == 'true' || |
261 | | - github.event.inputs.service == 'test-integration-tmp' || |
262 | | - github.event.inputs.service == 'all' |
263 | | - runs-on: ubuntu-latest |
264 | | - timeout-minutes: 15 |
265 | | - permissions: |
266 | | - packages: write |
267 | | - steps: |
268 | | - - uses: actions/checkout@v4 |
269 | | - |
270 | | - - name: Set up Docker Buildx |
271 | | - uses: docker/setup-buildx-action@v3 |
272 | | - |
273 | | - - name: Login to GHCR |
274 | | - uses: docker/login-action@v3 |
275 | | - with: |
276 | | - registry: ghcr.io |
277 | | - username: ${{ github.actor }} |
278 | | - password: ${{ secrets.GITHUB_TOKEN }} |
279 | | - |
280 | | - - name: Build and push |
281 | | - uses: docker/build-push-action@v6 |
282 | | - with: |
283 | | - context: showcase/packages/test-integration-tmp |
284 | | - push: true |
285 | | - tags: | |
286 | | - ghcr.io/copilotkit/showcase-test-integration-tmp:latest |
287 | | - ghcr.io/copilotkit/showcase-test-integration-tmp:${{ github.sha }} |
288 | | - cache-from: type=gha,scope=test_integration_tmp |
289 | | - cache-to: type=gha,scope=test_integration_tmp,mode=max |
290 | | - |
291 | | - - name: Trigger Railway deploy |
292 | | - run: | |
293 | | - curl -sf -X POST https://backboard.railway.com/graphql/v2 \ |
294 | | - -H "Authorization: Bearer ${{ secrets.RAILWAY_TOKEN }}" \ |
295 | | - -H "Content-Type: application/json" \ |
296 | | - -d '{"query":"mutation { serviceInstanceRedeploy(serviceId: \"RAILWAY_SERVICE_ID\", environmentId: \"b14919f4-6417-429f-848d-c6ae2201e04f\") }"}' \ |
297 | | - && echo "test-integration-tmp deploy triggered" |
0 commit comments