Skip to content

Commit

Permalink
doc: add command to the base image migration doc to list migrated/not…
Browse files Browse the repository at this point in the history
… migrated connectors (#31669)
  • Loading branch information
alafanechere authored Oct 20, 2023
1 parent 3624c86 commit 1e40e0a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/connector-development/migration-to-base-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,14 @@ async def post_connector_install(connector_container: Container) -> Container:
return await connector_container.with_env_variable("MY_POST_BUILD_ENV_VAR", "my_post_build_env_var_value")
```

### Listing migrated / non migrated connectors:

To list all migrated certified connectors you can ran:
```bash
airbyte-ci connectors --support-level=certified --metadata-query="data.connectorBuildOptions.baseImage is not None" list
```

To list all non migrated certified connectors you can ran:
```bash
airbyte-ci connectors --metadata-query="data.supportLevel == 'certified' and 'connectorBuildOptions' not in data.keys()" list
```

0 comments on commit 1e40e0a

Please sign in to comment.