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

Added support for bundle.Seq, simplified Mutator.Apply interface #403

Merged
merged 3 commits into from
May 24, 2023

Conversation

andrewnester
Copy link
Contributor

Changes

Added support for bundle.Seq, simplified Mutator.Apply interface by removing list of mutators from return values/

Tests

  1. Ran cli bundle deploy and interrupted it with Cmd + C mid execution so lock is not released
  2. Ran cli bundle deploy top make sure that CLI is not trying to release lock when it fail to acquire it
andrew.nester@HFW9Y94129 multiples-tasks % cli bundle deploy
Starting upload of bundle files
Uploaded bundle files at /Users/andrew.nester@databricks.com/.bundle/simple-task/development/files!

^C
andrew.nester@HFW9Y94129 multiples-tasks % cli bundle deploy
Error: deploy lock acquired by andrew.nester@databricks.com at 2023-05-24 12:10:23.050343 +0200 CEST. Use --force to override

bundle/artifacts/all.go Outdated Show resolved Hide resolved
bundle/artifacts/build.go Outdated Show resolved Hide resolved
bundle/artifacts/upload.go Outdated Show resolved Hide resolved
Copy link
Contributor

@shreyas-goenka shreyas-goenka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@andrewnester andrewnester requested a review from pietern May 24, 2023 11:33
@andrewnester andrewnester merged commit 6141476 into main May 24, 2023
4 checks passed
@andrewnester andrewnester deleted the bundle-seq branch May 24, 2023 12:45
@pietern pietern mentioned this pull request May 26, 2023
pietern added a commit that referenced this pull request May 26, 2023
## Changes

CLI:
* Reduce parallellism in locker integration test
([#407](#407)).

Bundles:
* Don't pass synthesized TMPDIR if not already set
([#409](#409)).
* Added support for bundle.Seq, simplified Mutator.Apply interface
([#403](#403)).
* Regenerated internal schema structs based on Terraform provider
schemas ([#401](#401)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants