Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion bin/generate-component-manifest-dagger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@

set -e

pip install dagger-io==0.13.3
python bin/generate_component_manifest_files.py
6 changes: 5 additions & 1 deletion debug_manifest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@ To configure the debugger in VSCode to run the `debug_manifest`, follow these st
"request": "launch",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}/debug_manifest",
"python": "<PATH_TO_CDK_ENV>/bin/python",
"python": "<PATH_TO_CDK_ENV>/bin/python", // REPLACE ME
"module": "debug_manifest",
"args": [
// SPECIFY THE COMMAND: [spec, check, discover, read]
"read",
// SPECIFY THE MANIFEST FILE
"--manifest-path",
// PATH TO THE MANIFEST FILE
"resources/manifest.yaml",
// SPECIFY THE CONFIG
"--config",
// PATH TO THE CONFIG FILE
Expand Down
4 changes: 3 additions & 1 deletion debug_manifest/debug_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ def debug_manifest(source: YamlDeclarativeSource, args: list[str]) -> None:

if __name__ == "__main__":
args = sys.argv[1:]
parsed_args = AirbyteEntrypoint.parse_args(args)
manifest_path = AirbyteEntrypoint.parse_args(args).manifest_path or "resources/manifest.yaml"
catalog_path = AirbyteEntrypoint.extract_catalog(args)
config_path = AirbyteEntrypoint.extract_config(args)
state_path = AirbyteEntrypoint.extract_state(args)

debug_manifest(
YamlDeclarativeSource(
path_to_yaml="resources/manifest.yaml",
path_to_yaml=manifest_path,
catalog=YamlDeclarativeSource.read_catalog(catalog_path) if catalog_path else None,
config=YamlDeclarativeSource.read_config(config_path) if config_path else None,
state=YamlDeclarativeSource.read_state(state_path) if state_path else None,
Expand Down
Loading
Loading