Copy shared scripts to sandbox.
()
| 214 | |
| 215 | |
| 216 | def copy_shared_scripts(): |
| 217 | """Copy shared scripts to sandbox.""" |
| 218 | sandbox_dir = Path("dev/sandbox") |
| 219 | |
| 220 | # Copy both seed-schema.sh and merge_yaml.py |
| 221 | seed_schema_success = copy_item( |
| 222 | Path("shared/scripts/seed-schema.sh"), sandbox_dir, "seed-schema.sh script" |
| 223 | ) |
| 224 | merge_yaml_success = copy_item( |
| 225 | Path("shared/scripts/merge_yaml.py"), sandbox_dir, "merge_yaml.py script" |
| 226 | ) |
| 227 | |
| 228 | return seed_schema_success and merge_yaml_success |
| 229 | |
| 230 | |
| 231 | def update_dbt_config(variant, task_name): |