peridot/ci/utils.jsonnet
Mustafa Gezen 31a10d3619
Add temporary helm_mode variable
Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
2022-07-30 00:43:41 +02:00

12 lines
385 B
Plaintext

local stage = std.extVar('stage');
local ociRegistry = std.extVar('oci_registry');
local ociRegistryDocker = std.extVar('oci_registry_docker');
local localEnvironment = std.extVar('local_environment');
local localImage = if localEnvironment == "1" then true else false;
{
local_image: localImage,
docker_hub_image(name): "%s/%s" % [ociRegistryDocker, name],
helm_mode: false,
}