summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorHao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>2023-09-19 19:34:10 +0200
committerGitHub <noreply@github.com>2023-09-19 19:34:10 +0200
commit7b846e1e49874c64aac979619d2773c3bc3b384e (patch)
treed8ab9dead96f436ac983ac89ea590d609ea20151 /Makefile
parentContributor guide and adjusted titles (#14447) (diff)
downloadawx-7b846e1e49874c64aac979619d2773c3bc3b384e.tar.xz
awx-7b846e1e49874c64aac979619d2773c3bc3b384e.zip
Add makefile target to load dev image into Kind (#13775)
Signed-off-by: Rick Elrod <rick@elrod.me> Co-authored-by: Rick Elrod <rick@elrod.me>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6fb4f69a10..6f08a6018b 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@ DOCKER_COMPOSE ?= docker-compose
OFFICIAL ?= no
NODE ?= node
NPM_BIN ?= npm
+KIND_BIN ?= $(shell which kind)
CHROMIUM_BIN=/tmp/chrome-linux/chrome
GIT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
MANAGEMENT_COMMAND ?= awx-manage
@@ -664,6 +665,9 @@ awx-kube-dev-build: Dockerfile.kube-dev
-t $(DEV_DOCKER_TAG_BASE)/awx_kube_devel:$(COMPOSE_TAG) .
+kind-dev-load: awx-kube-dev-build
+ $(KIND_BIN) load docker-image $(DEV_DOCKER_TAG_BASE)/awx_kube_devel:$(COMPOSE_TAG)
+
# Translation TASKS
# --------------------------------------