- Introduced `WorkflowStateCommitted` notification to encapsulate workflow execution context, state, and instance details. - Updated `DefaultCommitStateHandler` to publish `WorkflowStateCommitted` via `IMediator`. - Adjusted `DispatchWorkflowExtensions` to use `WorkflowStateCommitted` for workflow completion. Updates KubernetesClient and Microsoft packages (#6917) * Remove Proto.Cluster.Kubernetes dependency due to vulnerability - Temporarily removed `Proto.Cluster.Kubernetes` package and provider integration because of a vulnerability in its dependency (https://avd.aquasec.com/nvd/2025/cve-2025-9708). - Adjusted related cluster provider and remote configuration logic. - Updated `PortAttribute` default parameter for clarity. * Revert "Remove Proto.Cluster.Kubernetes dependency due to vulnerability" This reverts commit 0720d970968e4f7338825407258b34ddffb1d2a4. * Add KubernetesClient package and update MicrosoftVersion to 9.0.9 - Added `KubernetesClient` package to the project dependencies. - Updated `MicrosoftVersion` to `9.0.9` in `Directory.Packages.props`. Update Polly packages - Bump Polly and Polly.Extensions package versions to 8.6.3. Update `Microsoft.AspNetCore.Authorization` to use `MicrosoftVersion` property Ensure Docker images ship CA trust and add TLS smoke tests (#6918) Remove TlsSmoke project and related solution references - Deleted `TlsSmoke` project files (`Program.cs` and `TlsSmoke.csproj`). - Removed `TlsSmoke` project reference from the solution file (`Elsa.sln`). Add comprehensive Copilot coding agent instructions for repository onboarding (#6920) * Initial plan * Add comprehensive .github/copilot-instructions.md with validated build instructions Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com> Add ForEach tests, introduce asynchronous workflow runner and enhance workflow events. (#6926) * Introduce asynchronous workflow runner and enhance workflow events. - Added `AsyncWorkflowRunner` to enable asynchronous workflow execution and result tracking. - Introduced new event arguments, such as `ActivityExecutedEventArgs` and `WorkflowStateCommittedEventArgs`. - Expanded `WorkflowEvents` class to include `ActivityExecuted`, `ActivityExecutedLogUpdated`, and `WorkflowStateCommitted` events. - Refactored event arguments into the `Elsa.Testing.Shared.EventArgs` namespace. - Enhanced tests with `AsyncWorkflowRunner` and new event-driven workflow scenarios. * Refactor event argument classes to unify namespace and simplify inheritance * Add shared component DotSettings file to support namespace exclusions Refactor `WaitAsync` call in `DispatchWorkflowsTests` to remove unnecessary generic type.
73 lines
2.1 KiB
YAML
73 lines
2.1 KiB
YAML
name: Docker certificate smoke tests
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'docker/**'
|
|
- 'scripts/test-ca-trust.sh'
|
|
- 'test/TlsSmoke/**'
|
|
- '.github/workflows/docker-ca.yml'
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'docker/**'
|
|
- 'scripts/test-ca-trust.sh'
|
|
- 'test/TlsSmoke/**'
|
|
- '.github/workflows/docker-ca.yml'
|
|
|
|
jobs:
|
|
smoke:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- name: elsa-server
|
|
dockerfile: docker/ElsaServer.Dockerfile
|
|
image: elsa-server-smoke
|
|
skip_otel: '0'
|
|
- name: elsa-server-and-studio
|
|
dockerfile: docker/ElsaServerAndStudio.Dockerfile
|
|
image: elsa-server-and-studio-smoke
|
|
skip_otel: '0'
|
|
- name: elsa-studio
|
|
dockerfile: docker/ElsaStudio.Dockerfile
|
|
image: elsa-studio-smoke
|
|
skip_otel: '0'
|
|
- name: elsa-server-datadog
|
|
dockerfile: docker/ElsaServer-Datadog.Dockerfile
|
|
image: elsa-server-datadog-smoke
|
|
skip_otel: '1'
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up .NET
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: 9.0.x
|
|
|
|
- name: Publish TLS smoke test app
|
|
run: dotnet publish test/TlsSmoke/TlsSmoke.csproj -c Release -o artifacts/tls-smoke
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Build ${{ matrix.name }} image
|
|
run: docker build -f ${{ matrix.dockerfile }} -t ${{ matrix.image }} .
|
|
|
|
- name: Run TLS smoke tests
|
|
env:
|
|
SKIP_OTEL: ${{ matrix.skip_otel }}
|
|
run: |
|
|
set -euo pipefail
|
|
TLS_APP_DIR="${{ github.workspace }}/artifacts/tls-smoke"
|
|
if [ "$SKIP_OTEL" = "1" ]; then
|
|
scripts/test-ca-trust.sh "${{ matrix.image }}" "$TLS_APP_DIR" -e ELSA_SKIP_OTEL_AUTO=1
|
|
else
|
|
scripts/test-ca-trust.sh "${{ matrix.image }}" "$TLS_APP_DIR"
|
|
fi
|