databricks-cli/bundle
Pieter Noordhuis f1b068cefe
Use normalized short name for tag value in development mode (#821)
## Changes

The jobs backend propagates job tags to the underlying cloud provider's
resources. As such, they need to match the constraints a cloud provider
places on tag values. The display name can contain anything. With this
change, we modify the tag value to equal the short name as used in the
name prefix.

Additionally, we leverage tag normalization as introduced in #819 to
make sure characters that aren't accepted are removed before using the
value as a tag value.

This is a new stab at #810 and should completely eliminate this class of
problems.

## Tests

Tests pass.
2023-10-02 06:58:51 +00:00
..
artifacts Apply Python wheel trampoline if workspace library is used (#755) 2023-09-08 13:45:21 +00:00
config Use normalized short name for tag value in development mode (#821) 2023-10-02 06:58:51 +00:00
deploy Make bundle deploy work if no resources are defined (#767) 2023-09-13 22:50:37 +00:00
deployer Fix locker unlock for destroy (#492) 2023-06-19 15:57:25 +02:00
env Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
internal/tf Update Terraform provider schema structs from 1.23.0 (#713) 2023-08-30 13:58:28 +00:00
libraries Apply Python wheel trampoline if workspace library is used (#755) 2023-09-08 13:45:21 +00:00
phases Added a warning when Python wheel wrapper needs to be used (#807) 2023-09-27 08:26:59 +00:00
python Emit an error when incompatible all purpose cluster used with Python wheel tasks (#823) 2023-09-29 12:19:05 +00:00
run Increase timeout waiting for job run to 1 day (#786) 2023-09-19 19:54:24 +00:00
schema Make bundle and sync fields optional (#757) 2023-09-11 08:16:22 +00:00
scripts Added `process.Background()` and `process.Forwarded()` (#804) 2023-09-27 09:04:44 +00:00
tests Enable target overrides for pipeline clusters (#792) 2023-09-21 19:21:20 +00:00
bundle.go Use normalized short name for tag value in development mode (#821) 2023-10-02 06:58:51 +00:00
bundle_test.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
context.go Make sync command work in bundle context; reorder args (#207) 2023-02-20 11:33:30 +01:00
context_test.go Add command that writes the materialized bundle configuration to stdout (#95) 2022-11-21 15:39:53 +01:00
deferred.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
deferred_test.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
mutator.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
mutator_test.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
root.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
root_test.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
seq.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
seq_test.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00