From 776e23511352cfd5b5daab5013d92ce7f7365a74 Mon Sep 17 00:00:00 2001 From: epwalsh Date: Fri, 15 Nov 2024 11:20:40 -0800 Subject: [PATCH] remove duplicate script --- src/scripts/create_beaker_image.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 src/scripts/create_beaker_image.sh diff --git a/src/scripts/create_beaker_image.sh b/src/scripts/create_beaker_image.sh deleted file mode 100644 index c175bacb..00000000 --- a/src/scripts/create_beaker_image.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -set -exuo pipefail - -source_image=$1 -beaker_image=$2 -beaker_workspace=$3 - -beaker_user=$(beaker account whoami --format=json | jq -r '.[0].name') -beaker image create "${source_image}" --name "${beaker_image}-tmp" --workspace "${beaker_workspace}" -beaker image delete "${beaker_user}/${beaker_image}" > /dev/null 2>&1 || true -beaker image rename "${beaker_user}/${beaker_image}-tmp" "${beaker_image}"