Skip to content

Commit

Permalink
Clean visualizations folder before downloading
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolan Woods committed Jun 9, 2021
1 parent 885380a commit 035b92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion destinations/k8s/visualizations.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ resource "kubernetes_job" "visualizations" {
automount_service_account_token = false
container {
name = "load-visualizations"
command = ["bash", "-c", "mkdir -p '${local.managed_config_dir}/visualizations'; ${local.viz_curl_cmd}"]
command = ["bash", "-c", "rm -rf '${local.managed_config_dir}/visualizations'; mkdir -p '${local.managed_config_dir}/visualizations'; ${local.viz_curl_cmd}"]
image = "${local.galaxy_app_image}:${var.image_tag}"
image_pull_policy = var.debug ? "Always" : null
volume_mount {
Expand Down

0 comments on commit 035b92f

Please sign in to comment.