File tree 3 files changed +12
-4
lines changed
airbyte-ci/connectors/pipelines
pipelines/airbyte_ci/connectors
3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -399,6 +399,7 @@ This command runs the Python tests for a airbyte-ci poetry package.
399
399
## Changelog
400
400
| Version | PR | Description |
401
401
| ------- | ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
402
+ | 2.2.6 | [ #31752 ] ( https://github.com/airbytehq/airbyte/pull/31752 ) | Only authenticate when secrets are available.
402
403
| 2.2.5 | [ #31718 ] ( https://github.com/airbytehq/airbyte/pull/31718 ) | Authenticate the sidecar docker daemon to DockerHub. |
403
404
| 2.2.4 | [ #31535 ] ( https://github.com/airbytehq/airbyte/pull/31535 ) | Improve gradle caching when building java connectors. |
404
405
| 2.2.3 | [ #31688 ] ( https://github.com/airbytehq/airbyte/pull/31688 ) | Fix failing ` CheckBaseImageUse ` step when not running on PR. |
Original file line number Diff line number Diff line change @@ -90,10 +90,17 @@ async def run_connectors_pipelines(
90
90
# HACK: This is to get a long running dockerd service to be shared across all the connectors pipelines
91
91
# Using the "normal" service binding leads to restart of dockerd during pipeline run that can cause corrupted docker state
92
92
# See https://github.com/airbytehq/airbyte/issues/27233
93
- docker_hub_username_secret = dagger_client .set_secret ("DOCKER_HUB_USERNAME" , contexts [0 ].docker_hub_username )
94
- docker_hub_password_secret = dagger_client .set_secret ("DOCKER_HUB_PASSWORD" , contexts [0 ].docker_hub_password )
95
93
96
- dockerd_service = docker .with_global_dockerd_service (dagger_client , docker_hub_username_secret , docker_hub_password_secret )
94
+ docker_hub_username = contexts [0 ].docker_hub_username
95
+ docker_hub_password = contexts [0 ].docker_hub_password
96
+
97
+ if docker_hub_username and docker_hub_password :
98
+ docker_hub_username_secret = dagger_client .set_secret ("DOCKER_HUB_USERNAME" , docker_hub_username )
99
+ docker_hub_password_secret = dagger_client .set_secret ("DOCKER_HUB_PASSWORD" , docker_hub_password )
100
+ dockerd_service = docker .with_global_dockerd_service (dagger_client , docker_hub_username_secret , docker_hub_password_secret )
101
+ else :
102
+ dockerd_service = docker .with_global_dockerd_service (dagger_client )
103
+
97
104
async with anyio .create_task_group () as tg_main :
98
105
tg_main .start_soon (dockerd_service .sync )
99
106
await ( # Wait for the docker service to be ready
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
5
5
[tool .poetry ]
6
6
name = " pipelines"
7
- version = " 2.2.5 "
7
+ version = " 2.2.6 "
8
8
description = " Packaged maintained by the connector operations team to perform CI for connectors' pipelines"
9
9
authors = [
" Airbyte <[email protected] >" ]
10
10
You can’t perform that action at this time.
0 commit comments