Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: testcontainers/testcontainers-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.7.1
Choose a base ref
...
head repository: testcontainers/testcontainers-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: testcontainers-v4.0.0
Choose a head ref

Commits on Dec 3, 2022

  1. add minio container

    maltehedderich committed Dec 3, 2022
    Copy the full SHA
    61e2572 View commit details

Commits on Dec 4, 2022

  1. Copy the full SHA
    d87820c View commit details
  2. Copy the full SHA
    6af0465 View commit details

Commits on Dec 5, 2022

  1. Copy the full SHA
    59cca70 View commit details
  2. Copy the full SHA
    f5b07c1 View commit details

Commits on Dec 6, 2022

  1. Copy the full SHA
    4a293a9 View commit details
  2. Copy the full SHA
    a50f4d9 View commit details
  3. Copy the full SHA
    31fd137 View commit details
  4. Copy the full SHA
    16cbdcd View commit details
  5. Line length <100

    maltehedderich committed Dec 6, 2022
    Copy the full SHA
    50f95a3 View commit details
  6. add reference in docs

    maltehedderich committed Dec 6, 2022
    Copy the full SHA
    77242ae View commit details
  7. Copy the full SHA
    c79c2dc View commit details
  8. Copy the full SHA
    c7e8a6f View commit details
  9. Copy the full SHA
    cc6cf7b View commit details

Commits on Dec 7, 2022

  1. Copy the full SHA
    bb65a01 View commit details

Commits on Dec 9, 2022

  1. Update cloud-sdk image

    emulators tags is light compared to latest
    eddumelendez committed Dec 9, 2022
    Copy the full SHA
    a3a3d2f View commit details
  2. Update dependencies.

    tillahoffmann committed Dec 9, 2022
    Copy the full SHA
    2215ab9 View commit details
  3. Merge pull request #274 from tillahoffmann/dependencies

    Update dependencies.
    tillahoffmann authored Dec 9, 2022
    Copy the full SHA
    29629e2 View commit details
  4. Copy the full SHA
    b28ef09 View commit details
  5. Copy the full SHA
    c2e2fcc View commit details
  6. Copy the full SHA
    d488cb9 View commit details
  7. Copy the full SHA
    4441c14 View commit details

Commits on Dec 19, 2022

  1. Merge pull request #272 from eddumelendez/pubsub_image

    Update cloud-sdk image
    tillahoffmann authored Dec 19, 2022
    Copy the full SHA
    2f67234 View commit details
  2. Update docs/index.rst

    tillahoffmann authored Dec 19, 2022
    Copy the full SHA
    326918e View commit details
  3. Copy the full SHA
    38be1d4 View commit details
  4. Copy the full SHA
    0e4180a View commit details
  5. Copy the full SHA
    cdb4b6d View commit details
  6. Flake8 fixes

    maltehedderich committed Dec 19, 2022
    Copy the full SHA
    d6830cf View commit details
  7. Copy the full SHA
    94a5832 View commit details

Commits on Dec 28, 2022

  1. Copy the full SHA
    ba179a3 View commit details
  2. styling

    spicy-sauce committed Dec 28, 2022
    Copy the full SHA
    e49f6e5 View commit details

Commits on Dec 29, 2022

  1. Update testcontainers/opensearch.py

    Co-authored-by: Till Hoffmann <tillahoffmann@gmail.com>
    maltehedderich and tillahoffmann authored Dec 29, 2022
    Copy the full SHA
    9920b93 View commit details
  2. Merge pull request #276 from maltehedderich/add-opensearch-container

    Add OpenSearch container
    tillahoffmann authored Dec 29, 2022
    Copy the full SHA
    31af452 View commit details

Commits on Jan 1, 2023

  1. make dev version PEP 440 compatible

    Some package managers (e.g. poetry) may enforce PEP 440 even when
    installing development-only version. This change supports such a use
    case.
    ikravets committed Jan 1, 2023
    Copy the full SHA
    bec7e20 View commit details
  2. Copy the full SHA
    c12cd9b View commit details

Commits on Jan 4, 2023

  1. Merge pull request #286 from spicy-sauce/mssql-exposed-ports

    SqlServerContainer - can't bind port #285
    tillahoffmann authored Jan 4, 2023
    Copy the full SHA
    4b761ba View commit details
  2. Merge pull request #284 from ikravets/pep440-dev

    make dev version PEP 440 compatible
    tillahoffmann authored Jan 4, 2023
    Copy the full SHA
    c5b7b1c View commit details

Commits on Jan 5, 2023

  1. Add ResourceCleaner for stop containers after exit (#104)

    Mark Andreev authored and tillahoffmann committed Jan 5, 2023
    Copy the full SHA
    b67b590 View commit details
  2. Add stop_silent for stop containers after exit (#104)

    Mark Andreev authored and tillahoffmann committed Jan 5, 2023
    Copy the full SHA
    1774c55 View commit details
  3. Add stop_silent for stop containers after exit (#104)

    Mark Andreev authored and tillahoffmann committed Jan 5, 2023
    Copy the full SHA
    faf48cc View commit details
  4. Copy the full SHA
    d32e089 View commit details
  5. Merge pull request #208 from mrk-andreev/issue-104

    Add ResourceCleaner for stop containers after exit (#104)
    tillahoffmann authored Jan 5, 2023
    Copy the full SHA
    8ab1024 View commit details
  6. Copy the full SHA
    c20cacd View commit details
  7. Copy the full SHA
    cc06221 View commit details
  8. Copy the full SHA
    0f7abe9 View commit details
  9. Copy the full SHA
    26aa7bd View commit details
  10. Copy the full SHA
    2be4b58 View commit details
  11. Copy the full SHA
    9f0e968 View commit details
  12. Copy the full SHA
    79856b5 View commit details
  13. Copy the full SHA
    5125333 View commit details
Showing with 7,584 additions and 4,533 deletions.
  1. +0 −12 .coveragerc
  2. +5 −0 .devcontainer/commands/post-create-command.sh
  3. +35 −0 .devcontainer/devcontainer.json
  4. +3 −0 .github/.release-please-manifest.json
  5. +35 −0 .github/ISSUE_TEMPLATE/bug-or-unexpected-behavior.md
  6. +22 −0 .github/ISSUE_TEMPLATE/feature-proposal.md
  7. +35 −0 .github/ISSUE_TEMPLATE/question.md
  8. +7 −8 .github/PULL_REQUEST_TEMPLATE/new_container.md
  9. +20 −0 .github/actions/setup-env/action.yml
  10. +10 −0 .github/release-please-config.json
  11. +152 −0 .github/settings.yml
  12. +59 −0 .github/workflows/ci-community.yml
  13. +30 −0 .github/workflows/ci-core.yml
  14. +23 −0 .github/workflows/ci-lint.yml
  15. +21 −0 .github/workflows/docs.yml
  16. +0 −108 .github/workflows/main.yml
  17. +19 −0 .github/workflows/pr-lint.yml
  18. +0 −42 .github/workflows/pypi-release.yml
  19. +35 −0 .github/workflows/release-please.yml
  20. +3 −1 .gitignore
  21. +34 −0 .pre-commit-config.yaml
  22. +8 −11 .readthedocs.yml
  23. +35 −0 CHANGELOG.md
  24. +1 −2 Dockerfile
  25. +3 −3 Dockerfile.diagnostics
  26. +116 −0 INDEX.rst
  27. +0 −1 MANIFEST.in
  28. +63 −33 Makefile
  29. +24 −0 README.md
  30. +0 −95 README.rst
  31. +31 −30 {docs → }/conf.py
  32. +6 −0 core/README.rst
  33. +8 −0 core/testcontainers/compose/__init__.py
  34. +406 −0 core/testcontainers/compose/compose.py
  35. 0 {testcontainers → core/testcontainers/core}/__init__.py
  36. +1 −0 { → core}/testcontainers/core/config.py
  37. +156 −0 core/testcontainers/core/container.py
  38. +156 −0 core/testcontainers/core/docker_client.py
  39. +3 −7 { → core}/testcontainers/core/exceptions.py
  40. +30 −23 { → core}/testcontainers/core/generic.py
  41. +26 −18 { → core}/testcontainers/core/utils.py
  42. +108 −0 core/testcontainers/core/waiting_utils.py
  43. 0 {tests/test_core → core/tests}/Dockerfile
  44. +10 −0 core/tests/compose_fixtures/basic/docker-compose.yaml
  45. +28 −0 core/tests/compose_fixtures/port_multiple/compose.yaml
  46. +14 −0 core/tests/compose_fixtures/port_single/compose.yaml
  47. +243 −0 core/tests/test_compose.py
  48. +31 −0 core/tests/test_core.py
  49. +5 −7 { → core}/tests/test_docker_client.py
  50. +9 −11 {tests/test_core → core/tests}/test_docker_in_docker.py
  51. +28 −0 core/tests/test_new_docker_api.py
  52. +0 −23 diagnostics.py
  53. +0 −20 docs/Makefile
  54. +0 −6 docs/aws.rst
  55. +0 −6 docs/azure.rst
  56. +0 −2 docs/compose.rst
  57. +0 −14 docs/database.rst
  58. +0 −6 docs/elasticsearch.rst
  59. +0 −2 docs/google-cloud-emulators.rst
  60. +0 −25 docs/index.rst
  61. +0 −6 docs/kafka.rst
  62. +0 −6 docs/keycloak.rst
  63. +0 −36 docs/make.bat
  64. +0 −6 docs/rabbitmq.rst
  65. +0 −6 docs/redis.rst
  66. +0 −2 docs/selenium.rst
  67. +5 −0 doctests/conf.py
  68. +0 −12 generate_version.py
  69. +3 −0 modules/README.md
  70. +2 −0 modules/arangodb/README.rst
  71. +93 −0 modules/arangodb/testcontainers/arangodb/__init__.py
  72. +21 −28 { → modules/arangodb}/tests/test_arangodb.py
  73. +2 −0 modules/azurite/README.rst
  74. +113 −0 modules/azurite/testcontainers/azurite/__init__.py
  75. +3 −3 { → modules/azurite}/tests/test_azurite.py
  76. +2 −0 modules/clickhouse/README.rst
  77. +79 −0 modules/clickhouse/testcontainers/clickhouse/__init__.py
  78. +2 −1 { → modules/clickhouse}/tests/test_clickhouse.py
  79. +2 −0 modules/elasticsearch/README.rst
  80. +29 −34 testcontainers/elasticsearch.py → modules/elasticsearch/testcontainers/elasticsearch/__init__.py
  81. +5 −4 { → modules/elasticsearch}/tests/test_elasticsearch.py
  82. +2 −0 modules/google/README.rst
  83. +1 −0 modules/google/testcontainers/google/__init__.py
  84. +62 −0 modules/google/testcontainers/google/pubsub.py
  85. +8 −7 { → modules/google}/tests/test_google.py
  86. +2 −0 modules/k3s/README.rst
  87. +65 −0 modules/k3s/testcontainers/k3s/__init__.py
  88. +12 −0 modules/k3s/tests/test_k3s.py
  89. +2 −0 modules/kafka/README.rst
  90. +97 −0 modules/kafka/testcontainers/kafka/__init__.py
  91. +6 −6 { → modules/kafka}/tests/test_kafka.py
  92. +2 −0 modules/keycloak/README.rst
  93. +80 −0 modules/keycloak/testcontainers/keycloak/__init__.py
  94. +9 −0 modules/keycloak/tests/test_keycloak.py
  95. +2 −0 modules/localstack/README.rst
  96. +91 −0 modules/localstack/testcontainers/localstack/__init__.py
  97. +24 −0 modules/localstack/tests/test_localstack.py
  98. +2 −0 modules/minio/README.rst
  99. +114 −0 modules/minio/testcontainers/minio/__init__.py
  100. +21 −0 modules/minio/tests/test_minio.py
  101. +2 −0 modules/mongodb/README.rst
  102. +89 −0 modules/mongodb/testcontainers/mongodb/__init__.py
  103. +12 −10 { → modules/mongodb}/tests/test_mongodb.py
  104. +2 −0 modules/mssql/README.rst
  105. +55 −0 modules/mssql/testcontainers/mssql/__init__.py
  106. +21 −0 modules/mssql/tests/test_mssql.py
  107. +2 −0 modules/mysql/README.rst
  108. +80 −0 modules/mysql/testcontainers/mysql/__init__.py
  109. +48 −0 modules/mysql/tests/test_mysql.py
  110. +2 −0 modules/neo4j/README.rst
  111. +74 −0 modules/neo4j/testcontainers/neo4j/__init__.py
  112. +15 −0 modules/neo4j/tests/test_neo4j.py
  113. +2 −0 modules/nginx/README.rst
  114. +41 −0 modules/nginx/testcontainers/nginx/__init__.py
  115. +12 −0 modules/nginx/tests/test_nginx.py
  116. +2 −0 modules/opensearch/README.rst
  117. +105 −0 modules/opensearch/testcontainers/opensearch/__init__.py
  118. +34 −0 modules/opensearch/tests/test_opensearch.py
  119. +2 −0 modules/oracle/README.rst
  120. +33 −0 modules/oracle/testcontainers/oracle/__init__.py
  121. +20 −0 modules/oracle/tests/test_oracle.py
  122. +2 −0 modules/postgres/README.rst
  123. +77 −0 modules/postgres/testcontainers/postgres/__init__.py
  124. +21 −0 modules/postgres/tests/test_postgres.py
  125. +2 −0 modules/rabbitmq/README.rst
  126. +81 −0 modules/rabbitmq/testcontainers/rabbitmq/__init__.py
  127. +9 −12 { → modules/rabbitmq}/tests/test_rabbitmq.py
  128. +2 −0 modules/redis/README.rst
  129. +50 −21 testcontainers/redis.py → modules/redis/testcontainers/redis/__init__.py
  130. +79 −0 modules/redis/tests/test_redis.py
  131. +2 −0 modules/selenium/README.rst
  132. +74 −0 modules/selenium/testcontainers/selenium/__init__.py
  133. +25 −0 modules/selenium/tests/test_selenium.py
  134. +3,162 −0 poetry.lock
  135. +260 −0 pyproject.toml
  136. +0 −69 release-process.rst
  137. +0 −9 requirements.in
  138. +0 −365 requirements/3.10.txt
  139. +0 −385 requirements/3.7.txt
  140. +0 −372 requirements/3.8.txt
  141. +0 −366 requirements/3.9.txt
  142. +25 −0 scripts/diagnostics.py
  143. +0 −13 setup.cfg
  144. +0 −76 setup.py
  145. +0 −91 testcontainers/arangodb.py
  146. +0 −115 testcontainers/azurite.py
  147. +0 −80 testcontainers/clickhouse.py
  148. +0 −236 testcontainers/compose.py
  149. 0 testcontainers/core/__init__.py
  150. +0 −146 testcontainers/core/container.py
  151. +0 −82 testcontainers/core/docker_client.py
  152. +0 −101 testcontainers/core/waiting_utils.py
  153. +0 −23 testcontainers/general.py
  154. +0 −8 testcontainers/google/__init__.py
  155. +0 −65 testcontainers/google/pubsub.py
  156. +0 −97 testcontainers/kafka.py
  157. +0 −76 testcontainers/keycloak.py
  158. +0 −66 testcontainers/localstack.py
  159. +0 −81 testcontainers/mongodb.py
  160. +0 −48 testcontainers/mssql.py
  161. +0 −88 testcontainers/mysql.py
  162. +0 −91 testcontainers/neo4j.py
  163. +0 −22 testcontainers/nginx.py
  164. +0 −33 testcontainers/oracle.py
  165. +0 −69 testcontainers/postgres.py
  166. +0 −88 testcontainers/rabbitmq.py
  167. +0 −77 testcontainers/selenium.py
  168. 0 tests/__init__.py
  169. +0 −1 tests/test_core/.env.test
  170. 0 tests/test_core/__init__.py
  171. +0 −6 tests/test_core/docker-compose-2.yml
  172. +0 −8 tests/test_core/docker-compose-3.yml
  173. +0 −3 tests/test_core/docker-compose-4.yml
  174. +0 −17 tests/test_core/docker-compose.yml
  175. +0 −22 tests/test_core/test_core.py
  176. +0 −70 tests/test_core/test_db_containers.py
  177. +0 −93 tests/test_core/test_docker_compose.py
  178. +0 −45 tests/test_core/test_new_docker_api.py
  179. +0 −9 tests/test_keycloak.py
  180. +0 −15 tests/test_localstack.py
  181. +0 −16 tests/test_neo4j.py
  182. +0 −14 tests/test_nginx.py
  183. +0 −36 tests/test_redis.py
  184. +0 −9 tests/test_selenium.py
  185. +0 −15 tests/test_webdriver.py
12 changes: 0 additions & 12 deletions .coveragerc

This file was deleted.

5 changes: 5 additions & 0 deletions .devcontainer/commands/post-create-command.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
echo "Running post-create-command.sh"

curl -sSL https://install.python-poetry.org | python3 -

poetry install --all-extras
35 changes: 35 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:1-3.11-bookworm",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest",
"dockerDashComposeVersion": "v2"
}
},

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": ".devcontainer/commands/post-create-command.sh",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python"
]
}
}

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
3 changes: 3 additions & 0 deletions .github/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "4.0.0"
}
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-or-unexpected-behavior.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Bug or unexpected behavior
about: Create a report to help us improve.
title: 'Bug: '
labels: bug
assignees: ''

---

**Describe the bug**

A clear and concise description of what the bug is. What did you expect to happen? What happened instead?

**To Reproduce**

Provide a self-contained code snippet that illustrates the bug or unexpected behavior. Ideally, send a Pull Request to illustrate with a test that illustrates the problem.

```python
raise RuntimeError("something went wrong")
```

**Runtime environment**

Provide a summary of your runtime environment. Which operating system, python version, and docker version are you using? What is the version of `testcontainers-python` you are using? You can run the following commands to get the relevant information.

```bash
# Get the operating system information (on a unix os).
$ uname -a
# Get the python version.
$ python --version
# Get the docker version and other docker information.
$ docker info
# Get all python packages.
$ pip freeze
```
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-proposal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Feature Proposal
about: Send a note to the tc-python team about something you would like to see changed or improved.
title: 'Feature: '
labels: '🚀 enhancement'
assignees: ''

---

<!-- feel free to remove any irrelevant section(s) below -->

**What are you trying to do?**

Describe the intention of the enhancement.

**Why should it be done this way?**

Describe the motivation of the enhancement.

**Other references:**

Include any other relevant reading material about the enhancement.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Question
about: Ask a question about how to use this library.
title: 'Question: '
labels: '📖 documentation'
assignees: ''

---

<!-- feel free to remove any irrelevant section(s) below -->

**What are you trying to do?**

Ask your question here

**Where are you trying to do it?**

Provide a self-contained code snippet that illustrates the bug or unexpected behavior.
Ideally, include a link to a public repository with a minimal project where someone from the
testcontainers-python can submit a PR with a solution to the problem you are facing with the library.

**Runtime environment**

Provide a summary of your runtime environment. Which operating system, python version, and docker version are you using? What is the version of `testcontainers-python` you are using? You can run the following commands to get the relevant information.

```bash
# Get the operating system information (on a unix os).
$ uname -a
# Get the python version.
$ python --version
# Get the docker version and other docker information.
$ docker info
# Get all python packages.
$ pip freeze
```
15 changes: 7 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE/new_container.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
You have implemented a new container and would like to contribute it? Great! Here are the necessary steps:
You have implemented a new container and would like to contribute it? Great! Here are the necessary steps.

- [ ] You have added the new container as a module in the `testcontainers` directory (such as `testcontainers/my_fancy_container.py`).
- [ ] You have added any new python dependencies in the `extras_require` section of `setup.py`.
- [ ] You have added the `extra_requires` key to `requirements.in`.
- [ ] You have updated all python requirements by running `make requirements` from the root directory.
- [ ] You have added tests for the new container in the `tests` directory, e.g. `tests/test_my_fancy_container.py`.
- [ ] You have added the name of the container (such as `my_fancy_container`) to the `test-components` matrix in `.github/workflows/main.yml` to ensure the tests are run.
- [ ] You have rebased your development branch on `master` (or merged `master` into your development branch).
- [ ] Create a new feature directory and populate it with the package structure [described in the documentation](https://testcontainers-python.readthedocs.io/en/latest/#package-structure). Copying one of the existing features is likely the best way to get started.
- [ ] Implement the new feature (typically in `__init__.py`) and corresponding tests.
- [ ] Update the feature `README.rst` and add it to the table of contents (`toctree` directive) in the top-level `README.rst`.
- [ ] Add a line `[feature name]` to the list of components in the GitHub Action workflow in `.github/workflows/main.yml` to run tests, build, and publish your package when pushed to the `main` branch.
- [ ] Rebase your development branch on `main` (or merge `main` into your development branch).
- [ ] Add a line `-e file:[feature name]` to `requirements.in` and open a pull request. Opening a pull request will automatically generate lock files to ensure reproducible builds (see the [pip-tools documentation](https://pip-tools.readthedocs.io/en/latest/) for details). Finally, run `python get_requirements.py --pr=[your PR number]` to fetch the updated requirement files (the build needs to have succeeded).
20 changes: 20 additions & 0 deletions .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: setup-env
description: set up the python environment

inputs:
python-version:
description: "The python version to install and use"
default: "3.12" # we default to latest supported
required: false

runs:
using: composite
steps:
- name: Setup Poetry
run: pipx install poetry
shell: bash
- name: Setup python ${{ inputs.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
cache: poetry
10 changes: 10 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"release-type": "python",
"bootstrap-sha": "28e3a471c32c1036dd5e37df13cdde3b1ba91000",
"packages": {
".": {
"package-name": "testcontainers"
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
152 changes: 152 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
# These settings are synced to GitHub by https://probot.github.io/apps/settings/

repository:
# See https://docs.github.com/en/rest/reference/repos#update-a-repository for all available settings.

# The name of the repository. Changing this will rename the repository
name: testcontainers-python

# A short description of the repository that will show up on GitHub
description: "Python library that providing a friendly API to run Docker containers when from tests."

# A URL with more information about the repository
homepage: https://testcontainers-python.readthedocs.io/en/latest

# A comma-separated list of topics to set on the repository
topics: database,python,python3,selenium,testcontainers,testing

# Either `true` to make the repository private, or `false` to make it public.
private: false

# Either `true` to enable issues for this repository, `false` to disable them.
has_issues: true

# Either `true` to enable projects for this repository, or `false` to disable them.
# If projects are disabled for the organization, passing `true` will cause an API error.
has_projects: false

# Either `true` to enable the wiki for this repository, `false` to disable it.
has_wiki: false

# Either `true` to enable downloads for this repository, `false` to disable them.
has_downloads: true

# Updates the default branch for this repository.
default_branch: main

# Either `true` to allow squash-merging pull requests, or `false` to prevent
# squash-merging.
allow_squash_merge: true

# Either `true` to allow merging pull requests with a merge commit, or `false`
# to prevent merging pull requests with merge commits.
allow_merge_commit: false

# Either `true` to allow rebase-merging pull requests, or `false` to prevent
# rebase-merging.
allow_rebase_merge: false

# Either `true` to enable automatic deletion of branches on merge, or `false` to disable
delete_branch_on_merge: true

# Labels: define labels for Issues and Pull Requests
# If including a `#`, make sure to wrap it with quotes!
labels:
- { name: '⛔ invalid', color: '#e6e6e6', description: '' }
- { name: 'dependencies', color: '#0366d6', description: 'Pull requests that update a dependency file' }
- { name: 'good first issue', color: '#1C49A0', description: '' }
- { name: '✅ close on merge', color: '#0E8A16', description: 'Issue that will be closed by an open pull request' }
- { name: '✨ package: new', color: '#0E8A16', description: '' }
- { name: '❓ question', color: '#cc317c', description: '' }
- { name: '🍏 macos', color: '#C5BF0',, description: '' }
- { name: '🐛 bug', color: '#ee001',, description: '' }
- { name: '🐧 linux', color: '#3ED4D',, description: '' }
- { name: '👀 requires attention', color: '#fef2c0', description: '' }
- { name: '📖 documentation', color: '#d93f0b', description: '' }
- { name: '📦 package: clickhouse', color: '#0052CC', description: '' }
- { name: '📦 package: compose', color: '#0052CC', description: '' }
- { name: '📦 package: core', color: '#0052CC', description: '' }
- { name: '📦 package: elasticsearch', color: '#0052CC', description: '' }
- { name: '📦 package: google', color: '#0052CC', description: '' }
- { name: '📦 package: kafka', color: '#0052CC', description: '' }
- { name: '📦 package: keycloak', color: '#0052CC', description: '' }
- { name: '📦 package: mongodb', color: '#0052CC', description: '' }
- { name: '📦 package: mssql', color: '#0052CC', description: '' }
- { name: '📦 package: neo4j', color: '#0052CC', description: '' }
- { name: '📦 package: oracle', color: '#0052CC', description: '' }
- { name: '📦 package: postgres', color: '#0052CC', description: '' }
- { name: '📦 package: rabbitmq', color: '#0052CC', description: '' }
- { name: '📦 package: selenium', color: '#0052CC', description: '' }
- { name: '🔀 requires triage', color: '#bfdadc', description: '' }
- { name: '🔧 maintenance', color: '#c2f759', description: '' }
- { name: '🚀 enhancement', color: '#84b6eb', description: '' }
- { name: '🚫 wontfix', color: '#ffffff', description: '' }
- { name: '🛟 help wanted', color: '#128A0C', description: '' }

# Collaborators: give specific users access to this repository.
# See https://docs.github.com/en/rest/reference/repos#add-a-repository-collaborator for available options
collaborators:
- username: totallyzen
permission: maintain
- username: alexanderankin
permission: maintain
- username: kiview
permission: admin
#- username: testcontainersbot
# permission: write

# Note: `permission` is only valid on organization-owned repositories.
# The permission to grant the collaborator. Can be one of:
# * `pull` - can pull, but not push to or administer this repository.
# * `push` - can pull and push, but not administer this repository.
# * `admin` - can pull, push and administer this repository.
# * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
# * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access.

# See https://docs.github.com/en/rest/reference/teams#add-or-update-team-repository-permissions for available options
teams:
# Please make sure the team already exist in the organization, as the repository-settings application is not creating them.
# See https://github.com/repository-settings/app/discussions/639 for more information about teams and settings
# - name: go-team
# # The permission to grant the team. Can be one of:
# # * `pull` - can pull, but not push to or administer this repository.
# # * `push` - can pull and push, but not administer this repository.
# # * `admin` - can pull, push and administer this repository.
# # * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
# # * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access.
# permission: admin
- name: oss-maintainers
permission: admin

branches:
- name: main
# https://docs.github.com/en/rest/reference/repos#update-branch-protection
# Branch Protection settings. Set to null to disable
protection:
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
required_pull_request_reviews:
# The number of approvals required. (1-6)
required_approving_review_count: 1
# Dismiss approved reviews automatically when a new commit is pushed.
dismiss_stale_reviews: false
# Blocks merge until code owners have reviewed.
require_code_owner_reviews: false
# Specify which users and teams can dismiss pull request reviews. Pass an empty dismissal_restrictions object to disable. User and team dismissal_restrictions are only available for organization-owned repositories. Omit this parameter for personal repositories.
dismissal_restrictions:
users: []
teams: [] # [go-team]
# Required. Require status checks to pass before merging. Set to null to disable
required_status_checks:
# Required. Require branches to be up to date before merging.
strict: true
# Required. The list of status checks to require in order to merge into this branch
contexts: ["core"]
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
enforce_admins: false
# Prevent merge commits from being pushed to matching branches
required_linear_history: true
# Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable.
restrictions:
apps: []
users: [kiview,totallyzen,alexanderankin]
teams: [oss-maintainers]
Loading