Commit Graph

7 Commits

Author SHA1 Message Date
Shreyas Goenka d9ed8ebeae
add multiline message 2024-08-30 11:55:07 +02:00
Shreyas Goenka 7e3a453baf
fix test 2024-08-30 11:40:04 +02:00
Shreyas Goenka d6c564d531
add the why 2024-08-27 20:20:36 +02:00
Shreyas Goenka a0bc111b4d
Merge remote-tracking branch 'origin' into prompt-on-pipeline-recreate 2024-08-27 20:08:45 +02:00
shreyas-goenka 7fe08c2386
Revert hc-install version to 0.7.0 (#1711)
## Changes
With hc-install version `0.8.0` there was a regression where debug logs
would be leaked into stderr. Reported upstream in
https://github.com/hashicorp/hc-install/issues/239.

Meanwhile we need to revert and pin to version`0.7.0`. This PR also
includes a regression test.

## Tests
Regression test.
2024-08-22 15:04:26 +00:00
Shreyas Goenka 105a3dfc42
Add prompt when a pipeline recreation happens 2024-08-12 16:00:20 +02:00
shreyas-goenka 89c0af5bdc
Add resource for UC schemas to DABs (#1413)
## Changes
This PR adds support for UC Schemas to DABs. This allows users to define
schemas for tables and other assets their pipelines/workflows create as
part of the DAB, thus managing the life-cycle in the DAB.

The first version has a couple of intentional limitations:
1. The owner of the schema will be the deployment user. Changing the
owner of the schema is not allowed (yet). `run_as` will not be
restricted for DABs containing UC schemas. Let's limit the scope of
run_as to the compute identity used instead of ownership of data assets
like UC schemas.
2. API fields that are present in the update API but not the create API.
For example: enabling predictive optimization is not supported in the
create schema API and thus is not available in DABs at the moment.

## Tests
Manually and integration test. Manually verified the following work:
1. Development mode adds a "dev_" prefix.
2. Modified status is correctly computed in the `bundle summary`
command.
3. Grants work as expected, for assigning privileges.
4. Variable interpolation works for the schema ID.
2024-07-31 12:16:28 +00:00