Skip to content

Commit 9c802e5

Browse files
committed
Build manager in cortex-up make command
1 parent 749706b commit 9c802e5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ kubectl:
3131
@kubectl config set-context --current --namespace="cortex"
3232

3333
cortex-up:
34+
@./dev/registry.sh manager
3435
@./cortex.sh -c=./dev/config/cortex.sh install
3536
$(MAKE) kubectl
3637

dev/registry.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ env=${2:-""}
117117
if [ "$cmd" = "create" ]; then
118118
create_registry
119119

120+
elif [ "$cmd" = "manager" ]; then
121+
build $ROOT/images/manager manager latest
122+
120123
elif [ "$cmd" = "update" ]; then
121124
if [ "$env" != "dev" ]; then
122125
build_and_push $ROOT/images/manager manager latest

0 commit comments

Comments
 (0)