Skip to content

Commit

Permalink
handle SCW_VOLUME_SIZE and SCW_VOLUME_TYPE
Browse files Browse the repository at this point in the history
  • Loading branch information
rhanka committed Dec 7, 2023
1 parent 2d8e91e commit 719f6b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,11 @@ CLOUD_TAGGED_HOSTS_FILE=${CLOUD_DIR}/${CLOUD}.tag.hosts
CLOUD_TAGGED_IDS_INVALID_FILE=${CLOUD_DIR}/${CLOUD}.tag.ids.ko
CLOUD_TAGGED_HOSTS_INVALID_FILE=${CLOUD_DIR}/${CLOUD}.tag.hosts.ko
CLOUD_TAG=${APP_VERSION}
SCW_VOLUME_SIZE=300000000000
SCW_VOLUME_TYPE=l_ssd
SCW_SERVER_CONF={"name": "${CLOUD_HOSTNAME}", "tags": ["${GIT_BRANCH}","${CLOUD_TAG}"],\
"image": "${SCW_IMAGE_ID}", "commercial_type": "${SCW_FLAVOR}", "project": "${SCW_PROJECT_ID}"}
"image": "${SCW_IMAGE_ID}", "commercial_type": "${SCW_FLAVOR}", "project": "${SCW_PROJECT_ID}",\
"volume": { "0": {"size": ${SCW_VOLUME_SIZE}, "type": "${SCW_VOLUME_TYPE}"}}}

NGINX_UPSTREAM_FILE=${NGINX_DIR}/${CLOUD_HOSTNAME}-upstream.conf
NGINX_UPSTREAM_BACKUP=${NGINX_DIR}/${CLOUD_HOSTNAME}-upstream.bak
Expand Down

0 comments on commit 719f6b4

Please sign in to comment.