Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: variablize uds distro for uds make target #1065

Merged
merged 2 commits into from
Sep 18, 2024
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
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
Loading