Skip to content

Commit

Permalink
chore: variablize uds distro for uds make target (#1065)
Browse files Browse the repository at this point in the history
  • Loading branch information
gphorvath authored Sep 18, 2024
1 parent 86ad8f7 commit eb35830
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/k3d-gpu/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MAKEFILE_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))

UDS_VERSION := 0.25.0
UDS_VERSION := k3d-core-slim-dev:0.26.1
LOCAL_VERSION ?= $(shell git rev-parse --short HEAD)
DOCKER_FLAGS :=
ZARF_FLAGS :=
Expand All @@ -13,13 +13,13 @@ build-k3d-gpu:
-t ghcr.io/defenseunicorns/leapfrogai/k3d-gpu:${LOCAL_VERSION} .

create-uds-gpu-cluster: build-k3d-gpu
@uds deploy k3d-core-slim-dev:${UDS_VERSION} \
@uds deploy ${UDS_VERSION} \
${ZARF_FLAGS} \
--set K3D_EXTRA_ARGS="--gpus=all \
--image=ghcr.io/defenseunicorns/leapfrogai/k3d-gpu:${LOCAL_VERSION}" --confirm

create-uds-cpu-cluster:
@uds deploy k3d-core-slim-dev:${UDS_VERSION} \
@uds deploy ${UDS_VERSION} \
${ZARF_FLAGS} \
--confirm

Expand Down

0 comments on commit eb35830

Please sign in to comment.