mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 04:27:02 +01:00
Minor updates
This commit is contained in:
parent
3f0d5f1909
commit
ca0e73defd
|
@ -7,7 +7,7 @@
|
|||
* Pando85
|
||||
* Alberto Planas (aplanas)
|
||||
* Jake (slipperyBishop)
|
||||
* Charcol
|
||||
* Charelle (Charcol)
|
||||
* Leigh (excitedleigh)
|
||||
* Jamie (JJJollyjim)
|
||||
* Triss Healy (NiryaAestus)
|
||||
|
|
44
Makefile
44
Makefile
|
@ -1,7 +1,7 @@
|
|||
.PHONY: help build/kanidmd build/radiusd test/kanidmd push/kanidmd push/radiusd vendor-prep doc install-tools prep
|
||||
|
||||
IMAGE_BASE ?= kanidm
|
||||
IMAGE_VERSION ?= latest
|
||||
IMAGE_VERSION ?= alpha
|
||||
|
||||
.DEFAULT: help
|
||||
help:
|
||||
|
@ -16,6 +16,30 @@ build/radiusd:
|
|||
@docker build -f kanidm_rlm_python/Dockerfile -t $(IMAGE_BASE)/radius:$(IMAGE_VERSION) \
|
||||
kanidm_rlm_python
|
||||
|
||||
build: build/kanidmd build/radiusd
|
||||
|
||||
tag/kanidmd:
|
||||
@docker tag $(IMAGE_BASE)/server:$(IMAGE_VERSION) $(IMAGE_BASE)/server:latest
|
||||
|
||||
tag/radiusd:
|
||||
@docker tag $(IMAGE_BASE)/radius:$(IMAGE_VERSION) $(IMAGE_BASE)/radius:latest
|
||||
|
||||
tag: tag/kanidmd tag/radiusd
|
||||
|
||||
push/kanidmd: ## push kanidmd images
|
||||
push/kanidmd:
|
||||
@docker push $(IMAGE_BASE)/server:$(IMAGE_VERSION)
|
||||
|
||||
push/radiusd: ## push radiusd image
|
||||
push/radiusd:
|
||||
@docker push $(IMAGE_BASE)/radius:$(IMAGE_VERSION)
|
||||
|
||||
push: build push/kanidmd push/radiusd
|
||||
|
||||
pushlatest: build tag push
|
||||
@docker push $(IMAGE_BASE)/server:latest
|
||||
@docker push $(IMAGE_BASE)/radius:latest
|
||||
|
||||
test/kanidmd: ## test kanidmd
|
||||
test/kanidmd:
|
||||
@docker build -f kanidmd/Dockerfile \
|
||||
|
@ -26,14 +50,6 @@ test/kanidmd:
|
|||
|
||||
test/radiusd: build/radiusd ## test radiusd
|
||||
|
||||
push/kanidmd: ## push kanidmd images
|
||||
push/kanidmd:
|
||||
@docker push $(IMAGE_BASE)/server:$(IMAGE_VERSION)
|
||||
|
||||
push/radiusd: ## push radiusd image
|
||||
push/radiusd:
|
||||
@docker push $(IMAGE_BASE)/radius:$(IMAGE_VERSION)
|
||||
|
||||
vendor-prep:
|
||||
cargo vendor
|
||||
tar -czf vendor.tar.gz vendor
|
||||
|
@ -54,3 +70,13 @@ update-version: ## update version form VERSION file in all Cargo.toml manifests
|
|||
update-version: */Cargo.toml
|
||||
@VERSION=`cat VERSION`; sed -i "0,/^version\ \= .*$$/{s//version = \"$$VERSION\"/}" */Cargo.toml
|
||||
@echo updated to version "`cat VERSION`" cargo files
|
||||
|
||||
publish:
|
||||
cd kanidm_proto; cargo package
|
||||
cd kanidm_proto; cargo publish
|
||||
cd kanidmd; cargo package
|
||||
cd kanidmd; cargo publish
|
||||
cd kanidm_client; cargo package
|
||||
cd kanidm_client; cargo publish
|
||||
cd kanidm_tools; cargo package
|
||||
cd kanidm_tools; cargo publish
|
||||
|
|
|
@ -17,7 +17,7 @@ and help of many people. I would especially like to thank:
|
|||
* Pando85
|
||||
* Alberto Planas (aplanas)
|
||||
* Jake (slipperyBishop)
|
||||
* Charcol
|
||||
* Charelle (Charcol)
|
||||
* Leigh (excitedleigh)
|
||||
* Jamie (JJJollyjim)
|
||||
* Triss Healy (NiryaAestus)
|
||||
|
|
Loading…
Reference in a new issue