From 800e25a9a70da8c5d4ce864b8cb08bb54c911843 Mon Sep 17 00:00:00 2001 From: Krzysztof Taraszka Date: Tue, 9 Apr 2024 19:57:28 +0200 Subject: [PATCH] Procfile command for dockerfile image source type isn't necessary too --- scheduler-deploy | 2 +- subcommands/show-manifest | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scheduler-deploy b/scheduler-deploy index 97d4beb..810eb37 100755 --- a/scheduler-deploy +++ b/scheduler-deploy @@ -70,7 +70,7 @@ scheduler-kubernetes-scheduler-deploy() { fn-set-deployment-annotations "$APP" "$TMP_FILE" fn-set-pod-annotations "$APP" "$TMP_FILE" fn-set-mount "$APP" "$TMP_FILE" - if [[ "$IMAGE_SOURCE_TYPE" != "pack" ]]; then + if [[ "$IMAGE_SOURCE_TYPE" != "pack" && "$IMAGE_SOURCE_TYPE" != "dockerfile" ]]; then fn-set-command-and-args "$APP" "$PROC_TYPE" "$IMAGE_SOURCE_TYPE" "$TMP_FILE" fi plugn trigger pre-deploy-kubernetes-apply "$APP" "$PROC_TYPE" "$TMP_FILE" deployment diff --git a/subcommands/show-manifest b/subcommands/show-manifest index b721152..068584f 100755 --- a/subcommands/show-manifest +++ b/subcommands/show-manifest @@ -60,7 +60,7 @@ cmd-scheduler-kubernetes-show-manifest() { fn-set-deployment-annotations "$APP" "$TMP_FILE" fn-set-pod-annotations "$APP" "$TMP_FILE" fn-set-mount "$APP" "$TMP_FILE" - if [[ "$IMAGE_SOURCE_TYPE" != "pack" ]]; then + if [[ "$IMAGE_SOURCE_TYPE" != "pack" && "$IMAGE_SOURCE_TYPE" != "dockerfile" ]]; then fn-set-command-and-args "$APP" "$PROC_TYPE" "$IMAGE_SOURCE_TYPE" "$TMP_FILE" fi