Skip to content

Commit 8470afd

Browse files
docs: Add Bitbucket Pipelines configuration (#1402)
Co-authored-by: Andre Hofmeister <[email protected]>
1 parent d0f81dd commit 8470afd

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/cicd/index.md

+20
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,23 @@ services:
2020
variables:
2121
DOCKER_HOST: tcp://docker:2375
2222
```
23+
24+
## Bitbucket Pipelines
25+
26+
Enable Bitbucket Pipelines as usual on the **Repository settings → Pipelines → Settings** page. After enabling your pipeline, replace the contents of the `bitbucket-pipelines.yml` file, located at the root of your repository, with the following:
27+
28+
```yml
29+
image: mcr.microsoft.com/dotnet/sdk:8.0
30+
options:
31+
docker: true
32+
pipelines:
33+
default:
34+
- step:
35+
script:
36+
# Bitbucket Pipelines does not support Ryuk:
37+
# https://dotnet.testcontainers.org/api/resource_reaper/.
38+
- export TESTCONTAINERS_RYUK_DISABLED=true
39+
- dotnet test
40+
services:
41+
- docker
42+
```

0 commit comments

Comments
 (0)