Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add paths field to bundle sync configuration #1694

Merged
merged 20 commits into from
Aug 21, 2024
Merged

Add paths field to bundle sync configuration #1694

merged 20 commits into from
Aug 21, 2024

Commits on Aug 15, 2024

  1. Configuration menu
    Copy the full SHA
    f01c8cd View commit details
    Browse the repository at this point in the history
  2. Add fileset test coverage

    pietern committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    020d447 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bee14af View commit details
    Browse the repository at this point in the history
  4. Revert bundle config change

    pietern committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    13e22a4 View commit details
    Browse the repository at this point in the history
  5. Comment

    pietern committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    3ad57ff View commit details
    Browse the repository at this point in the history
  6. Fix glob test

    pietern committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    811a08d View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    6f5679d View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Add paths field to bundle sync configuration

    This field allows a user to configure paths to synchronize to the workspace.
    
    Allowed values are relative paths to files and directories, anchored at the
    directory where the field is set. If one or more values traverse up the
    directory tree (to an ancestor of the bundle root directory), the CLI will
    dynamically figure out the root path to use to ensure that the file tree
    structure remains intact.
    
    For example, given a `databricks.yml` in `my_bundle` that includes:
    
    ```yaml
    sync:
      paths:
        - ../common
        - .
    ```
    
    Then upon synchronization, the workspace will look like:
    ```
    .
    ├── common
    │   └── lib.py
    └── my_bundle
        ├── databricks.yml
        └── notebook.py
    ```
    
    If not set behavior remains identical.
    pietern committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    8a3f93b View commit details
    Browse the repository at this point in the history
  2. Update tests

    pietern committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    8e568cb View commit details
    Browse the repository at this point in the history
  3. Windows tests

    pietern committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    d0d2501 View commit details
    Browse the repository at this point in the history
  4. More Windows tests

    pietern committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    a968928 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    12e7cc0 View commit details
    Browse the repository at this point in the history
  6. Final test fix

    pietern committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    56d1f2f View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Configuration menu
    Copy the full SHA
    03bb6e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Test relative path case

    pietern committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    64de68b View commit details
    Browse the repository at this point in the history
  2. Comments

    pietern committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    f468f28 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    98ef3f4 View commit details
    Browse the repository at this point in the history
  4. Fix other trampoline test

    pietern committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    7a6a7eb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7ea37a7 View commit details
    Browse the repository at this point in the history
  6. Revert "Use sync root path in metadata computation"

    This reverts commit 7ea37a7.
    pietern committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    f18c453 View commit details
    Browse the repository at this point in the history