Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit 82d2236

Browse files
committed
Create box in VagrantCloud if not exists
1 parent a3d5afc commit 82d2236

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
set -x
144144
[[ -f /usr/local/bin/2to3 ]] && rm /usr/local/bin/2to3
145145
brew update > /dev/null
146-
brew install bash coreutils gnu-sed jq packer [email protected] vagrant
146+
brew install bash coreutils gettext gnu-sed jq packer [email protected] vagrant
147147
MATRIX_STAGE="${{ matrix.stage }}"
148148
if [[ "${MATRIX_STAGE}" =~ "libvirt" ]]; then
149149
brew install qemu xorriso

upload_box_to_vagrantcloud.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ cmdline() {
167167
fi
168168
else
169169
echo "*** Box: ${NAME} - doesn't exist..."
170+
vagrant cloud box create --no-private --no-tty --short-description "${SHORT_DESCRIPTION}" "${VAGRANT_CLOUD_USER}/${NAME}"
170171
fi
171172

172173
# Check if the version already exists otherwise create new one

0 commit comments

Comments
 (0)