From d20c14744f6fcb93bc7716a46262af3dd66c20e2 Mon Sep 17 00:00:00 2001 From: Yue Li Date: Mon, 23 Dec 2024 21:20:58 -0800 Subject: [PATCH] port more changes --- airbyte-ci/connectors/pipelines/README.md | 3 ++- .../connectors/pipelines/pipelines/dagger/containers/java.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/airbyte-ci/connectors/pipelines/README.md b/airbyte-ci/connectors/pipelines/README.md index e996136a59c0..1c6116c40068 100644 --- a/airbyte-ci/connectors/pipelines/README.md +++ b/airbyte-ci/connectors/pipelines/README.md @@ -853,7 +853,8 @@ airbyte-ci connectors --language=low-code migrate-to-manifest-only ## Changelog | Version | PR | Description | -| ------- | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +|---------|------------------------------------------------------------| ---------------------------------------------------------------------------------------------------------------------------- | +| 4.48.1 | [#50410](https://github.com/airbytehq/airbyte/pull/50410) | Java connector build: give ownership of built artifacts to the current image user. | | 4.48.0 | [#49960](https://github.com/airbytehq/airbyte/pull/49960) | Deprecate airbyte-ci format command | | 4.47.0 | [#49832](https://github.com/airbytehq/airbyte/pull/49462) | Build java connectors from the base image declared in `metadata.yaml`. | | 4.46.5 | [#49835](https://github.com/airbytehq/airbyte/pull/49835) | Fix connector language discovery for projects with Kotlin Gradle build scripts. | diff --git a/airbyte-ci/connectors/pipelines/pipelines/dagger/containers/java.py b/airbyte-ci/connectors/pipelines/pipelines/dagger/containers/java.py index 218bc683e55d..61ee8c4337d7 100644 --- a/airbyte-ci/connectors/pipelines/pipelines/dagger/containers/java.py +++ b/airbyte-ci/connectors/pipelines/pipelines/dagger/containers/java.py @@ -183,6 +183,7 @@ async def with_airbyte_java_connector(context: ConnectorContext, connector_java_ ) base = with_integration_base_java(context, build_platform).with_entrypoint(["/airbyte/base.sh"]) + current_user = (await base.with_exec(["whoami"]).stdout()).strip() connector_container = ( base.with_workdir("/airbyte") .with_env_variable("APPLICATION", application)