Skip to content

Commit b48ee6f

Browse files
committed
Build all images before dev make commands
1 parent 9c802e5 commit b48ee6f

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Makefile

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

3333
cortex-up:
34-
@./dev/registry.sh manager
34+
@$(MAKE) registry-all
3535
@./cortex.sh -c=./dev/config/cortex.sh install
3636
$(MAKE) kubectl
3737

@@ -40,21 +40,21 @@ cortex-up-dev:
4040
$(MAKE) operator-stop
4141

4242
cortex-down:
43-
$(MAKE) kubectl
4443
@./cortex.sh -c=./dev/config/cortex.sh uninstall
4544

4645
cortex-info:
47-
$(MAKE) kubectl
4846
@./cortex.sh -c=./dev/config/cortex.sh info
4947

5048
cortex-update:
51-
$(MAKE) kubectl
49+
@$(MAKE) registry-all
5250
@./cortex.sh -c=./dev/config/cortex.sh update
5351

5452
operator-start:
53+
@$(MAKE) registry-all
5554
@./cortex.sh -c=./dev/config/cortex.sh update
5655

5756
operator-update:
57+
@$(MAKE) registry-all
5858
@./cortex.sh -c=./dev/config/cortex.sh update
5959

6060
operator-stop:

dev/registry.sh

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

120-
elif [ "$cmd" = "manager" ]; then
121-
build $ROOT/images/manager manager latest
122-
123120
elif [ "$cmd" = "update" ]; then
124121
if [ "$env" != "dev" ]; then
125122
build_and_push $ROOT/images/manager manager latest

0 commit comments

Comments
 (0)