Skip to content

Commit

Permalink
connectors-insights: fix permission issue when installing tools in co…
Browse files Browse the repository at this point in the history
…nnectors (airbytehq#48685)
  • Loading branch information
alafanechere authored Nov 25, 2024
1 parent 0c8c9b6 commit 2f12036
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions airbyte-ci/connectors/connectors_insights/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ This CLI is currently running nightly in GitHub Actions. The workflow can be fou

## Changelog

### 0.3.5
Fix permissions issue when installing `pylint` in connector container.

### 0.3.4
Update `dagger` to `0.13.3`.

Expand Down
2 changes: 1 addition & 1 deletion airbyte-ci/connectors/connectors_insights/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "connectors-insights"
version = "0.3.4"
version = "0.3.5"
description = ""
authors = ["Airbyte <[email protected]>"]
readme = "README.md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ async def get_pylint_output(dagger_client: dagger.Client, connector: Connector)
return await (
dagger_client.container()
.from_(connector.image_address)
.with_user("root")
.with_mounted_cache("/root/.cache/pip", pip_cache_volume)
.with_new_file("__init__.py", contents="")
.with_exec(["pip", "install", "pylint"])
Expand Down

0 comments on commit 2f12036

Please sign in to comment.