Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ testbin/
dev/

apiserver.local.config/

# dev-kit common.mk cache files
common.mk
.common.mk-version
.common.mk-checked
.common.mk-download
default.etcd/
.DS_Store

Expand Down
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Include ODC common make targets
DEV_KIT_VERSION := v1.0.7
DEV_KIT_VERSION := feature/13-update-stale-common.mk
Comment thread
rebEllieous marked this conversation as resolved.
Outdated
-include common.mk
common.mk:
curl --fail -sSL https://raw.githubusercontent.com/opendefensecloud/dev-kit/$(DEV_KIT_VERSION)/common.mk -o common.mk.download && \
mv common.mk.download $@
@[ -f .common.mk-download ] || \
curl --fail -sSL https://raw.githubusercontent.com/opendefensecloud/dev-kit/$(DEV_KIT_VERSION)/common.mk \
-o .common.mk-download
mv .common.mk-download $@
printf '%s' '$(DEV_KIT_VERSION)' > .common.mk-version
touch .common.mk-checked

HACK_DIR ?= $(shell cd hack 2>/dev/null && pwd)
SOLAR_CHART_DIR ?= $(BUILD_PATH)/charts/solar
Expand Down