#4324 Provide a way to ignore portions of the signature for cache key calcu…
Pull request opened by
troychiu
Tracking issue
Closes
#3058
Describe your changes
1. add _cache_ignore_input_vars_ as a field of
TaskMetadata
2. change the signature of
GenerateArtifactTagName to GenerateArtifactTagName(ctx context.Context, inputs *core.LiteralMap, cacheIgnoreInputVars *[]string)
3. when cacheIgnoreInputVars provided, skip all input variables in it for hash calculation
Check all the applicable boxes
☑︎ I updated the documentation accordingly.
☑︎ All new and existing tests passed.
☑︎ All commits are signed-off.
Screenshots
Note to reviewers
The local version is here:
flyteorg/flytekit#1914
flyteorg/flyte
GitHub Actions: Build Images / Build & Push Image (flytescheduler) / Push to Github Registry
GitHub Actions: Build Images / Build & Push Image (flytepropeller) / Push to Github Registry
GitHub Actions: Build Images / Build & Push Image (flytecopilot) / Push to Github Registry
GitHub Actions: Build Images / Build & Push Image (flyteadmin) / Push to Github Registry
GitHub Actions: Build Images / Build & Push Image (datacatalog) / Push to Github Registry
GitHub Actions: Docker Build Images (flytepropeller) / build_docker
GitHub Actions: Docker Build Images (flytecopilot) / build_docker
GitHub Actions: Docker Build Images (flyteadmin) / build_docker
GitHub Actions: generate_kustomize
GitHub Actions: Docker Build Images (datacatalog) / build_docker
GitHub Actions: publish-development-helm-chart (flyteagent)
GitHub Actions: generate_helm
GitHub Actions: unpack-envvars
GitHub Actions: publish-development-helm-chart (flyte-core)
GitHub Actions: docs
GitHub Actions: unpack-envvars
GitHub Actions: publish-development-helm-chart (flyte-binary)
GitHub Actions: compile
GitHub Actions: Check for spelling errors
✅ 2 other checks have passed
2/21 successful checks