You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
so the template is generated with the stamp key substituted in. My intuition was that the {STABLE_VERSION} tag would be stamp-substituted but it is not. When I run bazel run --workspace_status_command="echo STABLE_VERSION test" :test-k8s.replace, I get the error
2023/05/02 16:18:21 The following images given as --image_spec were not found in the template:
2023/05/02 16:18:21 <repo>/<service>:{STABLE_VERSION}
2023/05/02 16:18:21 --allow_unused_images can be specified to ignore this error.
It is interesting to note that the image is uploaded to Docker Hub with the expected test tag, so there is some substitution done on the image tag, just not when looking in the k8s template I guess.
The text was updated successfully, but these errors were encountered:
I have a macro that I am converting from using
--define
variable substitution to bazel stamps. Here is a snippet:We also use jsonnet and bazel stamps to generate the k8s_template:
so the template is generated with the stamp key substituted in. My intuition was that the
{STABLE_VERSION}
tag would be stamp-substituted but it is not. When I runbazel run --workspace_status_command="echo STABLE_VERSION test" :test-k8s.replace
, I get the errorIt is interesting to note that the image is uploaded to Docker Hub with the expected
test
tag, so there is some substitution done on the image tag, just not when looking in the k8s template I guess.The text was updated successfully, but these errors were encountered: