Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions app/sh/start-point-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ set -Eeu

shift # start-point
shift # create
readonly TMP_IMAGE_NAME=cyberdojo/temporary_start_points
readonly RAND=$(uuidgen)
# The tag carries RAND so two creates at once each build their own image.
# Sharing one tag means the second build takes it from the first, which then
# tags and ships an image holding the other one's start-point.
readonly TMP_IMAGE_NAME=cyberdojo/temporary_start_points:${RAND}
readonly IMAGE_NAME="${1:-}" # cyberdojo/languages-start-points
readonly IMAGE_TYPE="${2:-}" # --languages
declare -ar GIT_REPO_URLS="(${@:3})" # <url>...
readonly RAND=$(uuidgen)

# ---------------------------------------------------------------------
# The ABC_REPLACED expressions are replaced by their
Expand Down