Skip to content

Commit c01caf9

Browse files
mihaelabalas84bergundyroxblnfkJosh BerrySushisource
authored
[OPS-4216] Sync fm/main with upstream main (#2)
* Build docker images on all main CI jobs (temporalio#545) * Add PHP dockerfile building (temporalio#541) Co-authored-by: Josh Berry <[email protected]> * Publish PHP in the Dockerhub (temporalio#546) * Centralize dynamic config (temporalio#543) * Update update tests for Java SDK v1.26.1 (temporalio#555) Update SDK to support Java SDK v1.26.0 * Update gradle to v8 (temporalio#554) * PHP SDK integration (temporalio#485) * feat: add PHP initialization * chore(PHP): implement RoadRunner run command generator * feat(PHP): add ClassLocator; implement Workflow and Activity classes detection and loading * chore(PHP): RoadRunner now is run from PHP script that will start also client code * chore(PHP): implemented checks starting; refactoring; implemented query/successful_query feature * chore(PHP): better notification about failures * fix(PHP): fixed task queue binding and workflow run with correct task queue * chore(PHP): add workflow injector that runs workflow with correct queue and options based on an attribute * feat(PHP): add the RoadRunner runner service to be able to stop and rerun RoadRunner; add `query/timeout_due_to_no_active_workers` feature * chore(PHP): add feature `query/unexpected_arguments` * chore(PHP): finish all the `query` features * chore(PHP): add activity features: `basic_no_workflow_timeout`, `cancel_try_cancel` and `retry_on_error` * chore(PHP): add Child Workflow feature `signal` * chore(PHP): add Child Workflow features: `result` and `throws_on_execute` * chore(PHP): add feature `continue_as_new/continue_as_same` * chore(PHP): add feature `eager_workflow/successful_start"` * feat(PHP): add ability to inject client Interceptor provider via feature attributes * chore(PHP): add feature `data_converter/json` * chore(PHP): add feature `data_converter/json_protobuf` * chore(PHP): add feature `data_converter/empty` * chore(PHP): add feature `data_converter/failure` * feat(PHP): support custom Payload Converters in client and server sides * chore(PHP): add feature `data_converter/codec` * fix(PHP): fix constants conflict in feature files; place binary proto converter after the json proto converter * chore(PHP): add feature `data_converter/binary_protobuf` * chore(PHP): add feature `data_converter/binary` * chore(PHP): add feature `eager_activity/non_remote_activities_worker` * chore(PHP): add feature `schedule\backfill` * chore(PHP): add feature `schedule\basic` * chore(PHP): add feature `schedule\pause` * chore(PHP): add feature `schedule\trigger` * chore(PHP): add feature `signal\activities` * chore(PHP): add feature `signal\basic` * chore(PHP): add feature `signal\child_workflow` * chore(PHP): add feature `signal\external` * chore(PHP): add feature `signal\prevent_close` * chore(PHP): add feature `signal\signal_with_start` * chore(PHP): add case into the `signal\signal_with_start` feature * chore(PHP): add case `update\activities` * chore(PHP): add case `update\async_accepted` * chore(PHP): add case `update/basic` * chore(PHP): add case `update/basic_async` * chore(PHP): add case `update/client_interceptor` * chore(PHP): add case `update/deduplication` * chore(PHP): add case `update/non_durable_reject` * chore(PHP): add case `update/self` * chore(PHP): add case `update/task_failure` * chore(PHP): add case `update/validation_replay` * feat(PHP): configure KV module; add case `update/worker_restart` * chore(PHP): support testing in a separated dir * chore(PHP): add PHP dockerfile; cleanup * chore(PHP): fix PHP dockerfile; add github workflow * chore(PHP): polish update/* tests * chore(PHP): fix todos * chore: Sync with PHP SDK 2.11 * ci: Fix PHP version detection before Docker image building * ci: add commands to build PHP image * ci: add prefix `v` for php-ver input * ci: fix typo * Ignore platform req on composer install * Skip data_converter/failure last check * Skip one of update/task_failure tests * Fix schedule/basic test: add 10 sec timeout to find schedule * Fix installing dependencies on PHP image building * Optimize PHP dockerfile * Mark eager_activity tests skipped * Add GITHUB_TOKEN to download RoadRunner without a limit * Improve comment about BuildPhpProgramOptions.Version * Skip `eager_workflow` test if the server doesn't support it on the ServerCapabilities level * Fix dynamic config values being passed to cli * Replace `frontend` with `system` for `forceSearchAttributesCacheRefreshOnRead`, `enableActivityEagerExecution` and `enableEagerWorkflowStart` options * Include `dynamicconfig` into php docker image --------- Co-authored-by: Spencer Judge <[email protected]> * PHP: fix a floating error in the worker_restart feature check (temporalio#570) * Upgrade go sdk, ignore Deployment history field (temporalio#578) * Fix CI (temporalio#577) * Bump PHP version * Log at WARN level * Fix PHP test * Bump sdk-go * Scrub new Deployment field * Use temporal. prefix * Skip check with env var * Skip failing PHP test * Delete PHP feature * Python: reduce log spam and show failed features (temporalio#574) * Reduce log spam and show failed features * Replace ListOpenWorkflow and ListClosedWorkflow with ListWorkflow (temporalio#579) * Skip one more history check in cloud (temporalio#583) * Skip one more history check in cloud * Bump python 1.7.0 => 1.9.0 (temporalio#569) * Use EventuallyWithT to prevent reset_and_delete feature flakiness (temporalio#586) --------- Co-authored-by: Chad Retz <[email protected]> * updates_do_not_block_continue_as_new (temporalio#584) * Test update doesn't block CAN and is handled on next run * Rename Go harness Runner.Assert to SoftAssert and document it (temporalio#587) * uv + maturin migration (temporalio#600) * [PHP] Update CI and tests (temporalio#601) * Restore PHP workflows * Use actions/download-artifact v4 * Enable logging for RR run command * Fix workflow id in `continue as new` test * Add debugging on date interval unmarshalling * Start workflows with WorkflowIdReusePolicy as `AllowDuplicate` Remove debug * Update min PHP SDK version * Increase RPC operations timeouts * Add deployment version features (temporalio#611) * Don't rely on TS FailureConverter returning a TemporalFailure (temporalio#618) See related change: temporalio/sdk-typescript#1685 Also upgraded Go in docker image to ensure the Go image build action passes. * Bump sdk version (temporalio#621) * bump sdk-python (temporalio#622) * bump sdk-python * Add CODEOWNERS * Pin protobufjs to 7.5.1 (temporalio#625) * Fixed SDK version mismatch in .Net build. Made `--version` optional in `prepare`. Updated vulnerable dependencies for .Net. (temporalio#628) Previously, .Net harness and tests were built against the hardcoded SDK version but run with the version specified in command line. This would make the code sometimes fail mysteriously due to binary incompatibilities. Now, the harness and tests are always built and run with the same SDK version. `run` command already supported omitting `--version` argument (individual languages still do a check if it's required for them). `prepare` still required it for no real reason, so I changed it to match `run`'s behavior. .Net SDK 9 changed behavior of NuGet audit to also check transitive dependencies by default. We were using a few vulnerable transitive dependencies, which caused .Net build to fail when using .Net 9.0 (it works with 8.0). Updating dependencies fixed the issue. * Bump python (temporalio#629) * TypeScript: Remove pin on grpc-js v1.10.10 (temporalio#626) * Bump Python SDK (temporalio#638) * Explicitly use rust in python build (temporalio#640) * Fix flake in timeout_due_to_no_active_workers on TypeScript (temporalio#641) * Update Rust to at least 1.88 (temporalio#642) * Add missing TS dependency to @grpc/grpc-js (temporalio#643) * Versioning breaking changes (temporalio#631) * Update gomod to use unreleased version * Handle breaking changes * Update gomods --------- Co-authored-by: Andrew Yuan <[email protected]> * Fix broken pyproj version lookup (temporalio#654) * Update graceful worker shutdown (temporalio#627) * Edit README for shutdown * PR feedback * heartbeating blurb * Be more specific about core vs. lang timeout behavior * Add links, add TS TODO * Build with custom stdout/stderr (temporalio#662) * [TS] Fix the client injection activity interceptor conflicting with new upstream API (temporalio#667) * Activity shutdown tests (temporalio#660) * Wrote Go test * Added Java * Dotnet done * ts and python * clean up comments * formatting * fix TS test * clean up, increase timeout to allow for 3rd activity to be scheduled * test seems fine locally, run in CI with extra prints * test passed in CI, remove prints * wait on event instead of sleep * forgot to run format on python and java * Offline Python (temporalio#679) * Add TLS Server Name Config (temporalio#686) * Update TS Dockerfile to Node 22/Bullseye (temporalio#688) * Bump Python SDK version and saner version syntax (temporalio#668) * Handle if crt/key are Uint8Array (temporalio#689) * Handle if crt/key are Uint8Array * formatting/linting * [PHP] Add test case for child_workflow/cancel_abandon (temporalio#644) * Add test case for child_workflow/cancel_abandon * Resolve TODO * Update Cancel Abandoned Child Workflow tests * Add close method to cancel workflow * Add the ability to pass the ca cert for doing mtls server verification (temporalio#690) * Set explicit permissions for GitHub Actions workflows (temporalio#693) * Update to python >= 3.10 and sdk-python 1.19.0 (temporalio#699) * Update to python >= 3.10 and sdk-python 1.19.0 * update features python program to new min python version * chore(typescript): switch to pnpm (temporalio#698) * chore: switch to pnpm * skip setting up pnpm cache * update python sdk to 1.20.0 (temporalio#704) * remove autosetup (temporalio#707) * remove autosetup * casing and remove env vars that are not needed * Revert "remove autosetup (temporalio#707)" (temporalio#710) This reverts commit c1fa10c. * Remove Autosetup and Add default namespace creation for GHA (temporalio#709) * create default namespace after server start * add some debugging logs * more logging * move to local docker compose * add retries to test with cloud * log heatlh check response * refine the restart config and add some logging to the curl command * try different retry logic * Use FM forked repos --------- Co-authored-by: Roey Berman <[email protected]> Co-authored-by: Aleksei Gagarin <[email protected]> Co-authored-by: Josh Berry <[email protected]> Co-authored-by: Spencer Judge <[email protected]> Co-authored-by: Quinn Klassen <[email protected]> Co-authored-by: Ivan Gantsev <[email protected]> Co-authored-by: Antonio Lain <[email protected]> Co-authored-by: Dan Davison <[email protected]> Co-authored-by: Chad Retz <[email protected]> Co-authored-by: James Watkins-Harvey <[email protected]> Co-authored-by: Maciej Dudkowski <[email protected]> Co-authored-by: tconley1428 <[email protected]> Co-authored-by: Andrew Yuan <[email protected]> Co-authored-by: Andrew Yuan <[email protected]> Co-authored-by: Stephan Behnke <[email protected]> Co-authored-by: kepe-temporal <[email protected]> Co-authored-by: Thomas Hardy <[email protected]> Co-authored-by: Kent Gruber <[email protected]> Co-authored-by: Alex Mazzeo <[email protected]> Co-authored-by: Chris Olszewski <[email protected]> Co-authored-by: Alex Stanfield <[email protected]>
1 parent 9aa1763 commit c01caf9

File tree

167 files changed

+8263
-1235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+8263
-1235
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* @temporalio/sdk
2+
* @temporalio/server

.github/workflows/all-docker-images.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
py-ver:
1414
description: Python SDK ver to build. Skipped if not specified. Must start with v.
1515
type: string
16+
php-ver:
17+
description: PHP SDK ver to build. Skipped if not specified. Must start with v.
18+
type: string
1619
ts-ver:
1720
description: TypeScript SDK ver to build. Skipped if not specified. Must start with v.
1821
type: string
@@ -43,6 +46,9 @@ on:
4346
py-ver:
4447
description: Python SDK ver to build. Skipped if not specified. Must start with v.
4548
type: string
49+
php-ver:
50+
description: PHP SDK ver to build. Skipped if not specified.
51+
type: string
4652
ts-ver:
4753
description: TypeScript SDK ver to build. Skipped if not specified. Must start with v.
4854
type: string
@@ -61,6 +67,9 @@ on:
6167
type: boolean
6268
default: false
6369

70+
permissions:
71+
contents: read
72+
6473
jobs:
6574
build-go-docker-images:
6675
if: inputs.go-ver || inputs.go-repo-ref
@@ -107,6 +116,17 @@ jobs:
107116
do-push: ${{ inputs.do-push }}
108117
skip-cloud: ${{ inputs.skip-cloud }}
109118

119+
build-php-docker-images:
120+
if: inputs.php-ver
121+
uses: ./.github/workflows/docker-images.yaml
122+
secrets: inherit
123+
with:
124+
lang: php
125+
sdk-version: ${{ inputs.php-ver }}
126+
semver-latest: major
127+
do-push: ${{ inputs.do-push }}
128+
skip-cloud: ${{ inputs.skip-cloud }}
129+
110130
build-dotnet-docker-images:
111131
if: inputs.cs-ver
112132
uses: ./.github/workflows/docker-images.yaml

.github/workflows/ci.yaml

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,19 @@ on: # rebuild any PRs and main branch changes
1616
java_sdk_version:
1717
default: ''
1818
type: string
19+
php_sdk_version:
20+
default: ''
21+
type: string
1922
python_sdk_version:
2023
default: ''
2124
type: string
2225
dotnet_sdk_version:
2326
default: ''
2427
type: string
2528

29+
permissions:
30+
contents: read
31+
2632
concurrency:
2733
group: ${{ github.head_ref || github.run_id }}
2834
cancel-in-progress: true
@@ -39,6 +45,7 @@ jobs:
3945
go_latest: ${{ steps.latest_version.outputs.go_latest }}
4046
typescript_latest: ${{ steps.latest_version.outputs.typescript_latest }}
4147
java_latest: ${{ steps.latest_version.outputs.java_latest }}
48+
php_latest: ${{ steps.latest_version.outputs.php_latest }}
4249
python_latest: ${{ steps.latest_version.outputs.python_latest }}
4350
csharp_latest: ${{ steps.latest_version.outputs.csharp_latest }}
4451
steps:
@@ -75,6 +82,13 @@ jobs:
7582
fi
7683
echo "java_latest=$java_latest" >> $GITHUB_OUTPUT
7784
85+
php_latest="${{ github.event.inputs.php_sdk_version }}"
86+
if [ -z "$php_latest" ]; then
87+
php_latest=$(./temporal-features latest-sdk-version --lang php)
88+
echo "Derived latest PHP SDK release version: $php_latest"
89+
fi
90+
echo "php_latest=$php_latest" >> $GITHUB_OUTPUT
91+
7892
python_latest="${{ github.event.inputs.python_sdk_version }}"
7993
if [ -z "$python_latest" ]; then
8094
python_latest=$(./temporal-features latest-sdk-version --lang py)
@@ -118,10 +132,28 @@ jobs:
118132
- uses: actions/setup-python@v5
119133
with:
120134
python-version: '3.10'
121-
- run: python -m pip install --upgrade wheel poetry poethepoet
122-
- run: poetry install --no-root
135+
- uses: fairmoney/setup-uv@v5
136+
- run: uv tool install poethepoet
137+
- run: uv sync
123138
- run: poe lint
124139

140+
build-php:
141+
strategy:
142+
fail-fast: true
143+
matrix:
144+
os: [ubuntu-latest]
145+
runs-on: ${{ matrix.os }}
146+
steps:
147+
- name: Print build information
148+
run: 'echo head_ref: "$GITHUB_HEAD_REF", ref: "$GITHUB_REF", os: ${{ matrix.os }}'
149+
- uses: actions/checkout@v4
150+
- name: Setup PHP 8.2
151+
uses: fairmoney/setup-php@v2
152+
with:
153+
php-version: 8.2
154+
tools: composer:v2
155+
extensions: dom, sockets, grpc, curl, protobuf
156+
125157
build-java:
126158
strategy:
127159
fail-fast: true
@@ -156,6 +188,9 @@ jobs:
156188
- run: dotnet test
157189

158190
feature-tests-ts:
191+
permissions:
192+
contents: read
193+
actions: read
159194
needs: build-go
160195
uses: ./.github/workflows/typescript.yaml
161196
with:
@@ -165,6 +200,9 @@ jobs:
165200
features-repo-path: ${{ github.event.pull_request.head.repo.full_name }}
166201

167202
feature-tests-go:
203+
permissions:
204+
contents: read
205+
actions: read
168206
needs: build-go
169207
uses: ./.github/workflows/go.yaml
170208
with:
@@ -174,6 +212,9 @@ jobs:
174212
features-repo-path: ${{ github.event.pull_request.head.repo.full_name }}
175213

176214
feature-tests-python:
215+
permissions:
216+
contents: read
217+
actions: read
177218
needs: build-go
178219
uses: ./.github/workflows/python.yaml
179220
with:
@@ -182,7 +223,22 @@ jobs:
182223
features-repo-ref: ${{ github.head_ref }}
183224
features-repo-path: ${{ github.event.pull_request.head.repo.full_name }}
184225

226+
feature-tests-php:
227+
permissions:
228+
contents: read
229+
actions: read
230+
needs: build-go
231+
uses: ./.github/workflows/php.yaml
232+
with:
233+
version: ${{ needs.build-go.outputs.php_latest }}
234+
version-is-repo-ref: false
235+
features-repo-ref: ${{ github.head_ref }}
236+
features-repo-path: ${{ github.event.pull_request.head.repo.full_name }}
237+
185238
feature-tests-java:
239+
permissions:
240+
contents: read
241+
actions: read
186242
needs: build-go
187243
uses: ./.github/workflows/java.yaml
188244
with:
@@ -192,6 +248,9 @@ jobs:
192248
features-repo-path: ${{ github.event.pull_request.head.repo.full_name }}
193249

194250
feature-tests-dotnet:
251+
permissions:
252+
contents: read
253+
actions: read
195254
needs: build-go
196255
uses: ./.github/workflows/dotnet.yaml
197256
with:
@@ -205,9 +264,10 @@ jobs:
205264
uses: ./.github/workflows/all-docker-images.yaml
206265
secrets: inherit
207266
with:
208-
do-push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
267+
do-push: ${{ github.ref == 'refs/heads/main' }}
209268
go-ver: 'v${{ needs.build-go.outputs.go_latest }}'
210269
ts-ver: 'v${{ needs.build-go.outputs.typescript_latest }}'
211270
java-ver: 'v${{ needs.build-go.outputs.java_latest }}'
271+
php-ver: 'v${{ needs.build-go.outputs.php_latest }}'
212272
py-ver: 'v${{ needs.build-go.outputs.python_latest }}'
213273
cs-ver: 'v${{ needs.build-go.outputs.csharp_latest }}'

.github/workflows/docker-images.yaml

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ on:
3131
type: boolean
3232
default: false
3333

34+
permissions:
35+
contents: read
36+
3437
jobs:
3538
build-image:
3639
name: Build ${{ inputs.lang }} docker image
@@ -65,6 +68,8 @@ jobs:
6568

6669
# This step will set the FEATURES_BUILT_IMAGE_TAG env key
6770
- name: Build docker image
71+
env:
72+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6873
run: |
6974
go run . build-image --lang ${{ inputs.lang }} \
7075
${{ inputs.sdk-repo-ref && format('--repo-ref {0}', inputs.sdk-repo-ref) || '' }} \
@@ -79,11 +84,28 @@ jobs:
7984
# Only supported in non-fork runs
8085
if: ${{ (github.event.pull_request.head.repo.full_name == '' || github.event.pull_request.head.repo.full_name == 'temporalio/features') && !inputs.skip-cloud }}
8186
run: |
82-
docker run --rm -i -v /tmp/temporal-certs:/certs ${{ env.FEATURES_BUILT_IMAGE_TAG }} \
83-
--server $TEMPORAL_CLOUD_ADDRESS \
84-
--namespace $TEMPORAL_CLOUD_NAMESPACE \
85-
--client-cert-path /certs/client.pem \
86-
--client-key-path /certs/client.key
87+
max_attempts=3
88+
attempt=0
89+
until [ $attempt -ge $max_attempts ]
90+
do
91+
docker run --rm -i \
92+
-v /tmp/temporal-certs:/certs \
93+
--env TEMPORAL_FEATURES_DISABLE_WORKFLOW_COMPLETION_CHECK=true \
94+
${{ env.FEATURES_BUILT_IMAGE_TAG }} \
95+
--server $TEMPORAL_CLOUD_ADDRESS \
96+
--namespace $TEMPORAL_CLOUD_NAMESPACE \
97+
--client-cert-path /certs/client.pem \
98+
--client-key-path /certs/client.key && break
99+
100+
attempt=$((attempt + 1))
101+
echo "Attempt $attempt/$max_attempts failed. Retrying..."
102+
sleep 5
103+
done
104+
105+
if [ $attempt -ge $max_attempts ]; then
106+
echo "Failed after $max_attempts attempts"
107+
exit 1
108+
fi
87109
88110
- name: Login to DockerHub
89111
uses: docker/login-action@v3

.github/workflows/dotnet.yaml

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ on:
2323
type: string
2424
required: false
2525

26+
permissions:
27+
contents: read
28+
actions: read
29+
2630
jobs:
2731
test:
2832
runs-on: ubuntu-latest
@@ -41,9 +45,11 @@ jobs:
4145
name: ${{ inputs.docker-image-artifact-name }}
4246
path: /tmp/server-docker
4347

44-
- name: Load server Docker image
48+
- name: Load server Docker Images
4549
if: ${{ inputs.docker-image-artifact-name }}
46-
run: docker load --input /tmp/server-docker/temporal-autosetup.tar
50+
run: |
51+
docker load --input /tmp/server-docker/temporal-server.tar
52+
docker load --input /tmp/server-docker/temporal-admin-tools.tar
4753
working-directory: '.'
4854

4955
- name: Override IMAGE_TAG environment variable
@@ -63,6 +69,7 @@ jobs:
6369
path: features
6470
repository: ${{ inputs.features-repo-path }}
6571
ref: ${{ inputs.features-repo-ref }}
72+
6673
- name: Checkout .NET SDK repo
6774
if: ${{ inputs.version-is-repo-ref }}
6875
uses: actions/checkout@v4
@@ -81,10 +88,13 @@ jobs:
8188
# TODO: Upgrade proto once https://github.com/fairmoney/setup-protoc/issues/99 is fixed
8289
version: '23.x'
8390
repo-token: ${{ secrets.GITHUB_TOKEN }}
91+
8492
- uses: actions/setup-go@v5
8593
with:
8694
go-version: '^1.21'
8795

96+
- uses: fairmoney/rust-toolchain@stable
97+
8898
- uses: fairmoney/rust-cache@v2
8999
if: ${{ inputs.version-is-repo-ref }}
90100
with:
@@ -97,12 +107,21 @@ jobs:
97107
working-directory: ./sdk-dotnet
98108

99109
- name: Start containerized server and dependencies
110+
id: start-server
100111
if: inputs.docker-image-artifact-name
101112
run: |
102113
docker compose \
103-
-f ./dockerfiles/docker-compose.for-server-image.yaml \
104-
-f /tmp/server-docker/docker-compose.yml \
105-
up -d temporal-server cassandra elasticsearch
114+
-f ./dockerfiles/docker-compose.yml \
115+
up -d cassandra elasticsearch temporal-admin-tools temporal-server temporal-create-namespace
116+
117+
- name: Show all container logs
118+
if: always()
119+
run: |
120+
echo "=== All container logs ==="
121+
docker compose \
122+
-f ./dockerfiles/docker-compose.yml \
123+
logs
124+
working-directory: ./features
106125

107126
- name: Run SDK-features tests directly
108127
if: inputs.docker-image-artifact-name == ''
@@ -113,10 +132,18 @@ jobs:
113132
if: inputs.docker-image-artifact-name
114133
run: |
115134
docker compose \
116-
-f ./dockerfiles/docker-compose.for-server-image.yaml \
117-
-f /tmp/server-docker/docker-compose.yml \
135+
-f ./dockerfiles/docker-compose.yml \
118136
up --no-log-prefix --exit-code-from features-tests-cs features-tests-cs
119137
138+
- name: Show all container logs before teardown
139+
if: always() && inputs.docker-image-artifact-name
140+
run: |
141+
echo "=== All container logs before teardown ==="
142+
docker compose \
143+
-f ./dockerfiles/docker-compose.yml \
144+
logs
145+
working-directory: ./features
146+
120147
- name: Tear down docker compose
121148
if: inputs.docker-image-artifact-name && (success() || failure())
122-
run: docker compose -f ./dockerfiles/docker-compose.for-server-image.yaml -f /tmp/server-docker/docker-compose.yml down -v
149+
run: docker compose -f ./dockerfiles/docker-compose.yml down -v

0 commit comments

Comments
 (0)