-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add new
connectorBaseImage
field to metadata (#30336)
- Loading branch information
1 parent
13a5a40
commit c6728bd
Showing
12 changed files
with
118 additions
and
46 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...onnectors/metadata_service/lib/metadata_service/models/generated/ConnectorBuildOptions.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# | ||
# Copyright (c) 2023 Airbyte, Inc., all rights reserved. | ||
# | ||
|
||
# generated by datamodel-codegen: | ||
# filename: ConnectorBuildOptions.yaml | ||
|
||
from __future__ import annotations | ||
|
||
from typing import Optional | ||
|
||
from pydantic import BaseModel, Extra | ||
|
||
|
||
class ConnectorBuildOptions(BaseModel): | ||
class Config: | ||
extra = Extra.forbid | ||
|
||
baseImage: Optional[str] = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
airbyte-ci/connectors/metadata_service/lib/metadata_service/models/generated/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...ci/connectors/metadata_service/lib/metadata_service/models/src/ConnectorBuildOptions.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"$schema": http://json-schema.org/draft-07/schema# | ||
"$id": https://github.com/airbytehq/airbyte/airbyte-ci/connectors/metadata_service/lib/metadata_service/models/src/ConnectorBuildOptions.yaml | ||
title: ConnectorBuildOptions | ||
description: metadata specific to the build process. | ||
type: object | ||
additionalProperties: false | ||
properties: | ||
baseImage: | ||
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...ce/lib/tests/fixtures/metadata_validate/invalid/metadata_build_base_image_wrong_type.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
data: | ||
allowedHosts: | ||
hosts: | ||
- "*.googleapis.com" | ||
connectorBuildOptions: | ||
unexpectedField: additionalProperties are not allowed ('unexpectedField' was unexpected) | ||
connectorSubtype: file | ||
connectorType: source | ||
definitionId: 71607ba1-c0ac-4799-8049-7f4b90dd50f7 | ||
dockerImageTag: 0.3.7 | ||
dockerRepository: airbyte/source-google-sheets | ||
githubIssueLabel: source-google-sheets | ||
icon: google-sheets.svg | ||
license: Elv2 | ||
name: Google Sheets | ||
registries: | ||
cloud: | ||
enabled: true | ||
oss: | ||
enabled: true | ||
releaseStage: generally_available | ||
documentationUrl: https://docs.airbyte.com/integrations/sources/google-sheets | ||
tags: | ||
- language:python | ||
ab_internal: | ||
sl: 300 | ||
ql: 400 | ||
supportLevel: certified | ||
metadataSpecVersion: "1.0" |
29 changes: 29 additions & 0 deletions
29
...etadata_service/lib/tests/fixtures/metadata_validate/valid/metadata_build_base_image.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
data: | ||
allowedHosts: | ||
hosts: | ||
- "*.googleapis.com" | ||
connectorBuildOptions: | ||
baseImage: airbyte/airbyte-python-connectors-base:0.1.0 | ||
connectorSubtype: file | ||
connectorType: source | ||
definitionId: 71607ba1-c0ac-4799-8049-7f4b90dd50f7 | ||
dockerImageTag: 0.3.7 | ||
dockerRepository: airbyte/source-google-sheets | ||
githubIssueLabel: source-google-sheets | ||
icon: google-sheets.svg | ||
license: Elv2 | ||
name: Google Sheets | ||
registries: | ||
cloud: | ||
enabled: true | ||
oss: | ||
enabled: true | ||
releaseStage: generally_available | ||
documentationUrl: https://docs.airbyte.com/integrations/sources/google-sheets | ||
tags: | ||
- language:python | ||
ab_internal: | ||
sl: 300 | ||
ql: 400 | ||
supportLevel: certified | ||
metadataSpecVersion: "1.0" |