Skip to content

Commit a8f426a

Browse files
committed
chore: Update env for makefile targets
1 parent 461a6ab commit a8f426a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ run: PGPORT=$(shell docker compose port postgresql 5432 | cut -d: -f2)
120120
run: export DB__URL=postgresql://cm-service@localhost:${PGPORT}/cm-service
121121
run: export DB__PASSWORD=INSECURE-PASSWORD
122122
run: export DB__ECHO=true
123+
run: export FEATURE_API_V2=1
124+
run: export FEATURE_API_V1=0
125+
run: export FEATURE_DAEMON_V2=0
123126
run: run-compose
124127
alembic upgrade head
125128
python3 -m lsst.cmservice.main
@@ -129,6 +132,12 @@ run-worker: PGPORT=$(shell docker compose port postgresql 5432 | cut -d: -f2)
129132
run-worker: export DB__URL=postgresql://cm-service@localhost:${PGPORT}/cm-service
130133
run-worker: export DB__PASSWORD=INSECURE-PASSWORD
131134
run-worker: export DB__ECHO=true
135+
run-worker: export FEATURE_API_V2=0
136+
run-worker: export FEATURE_API_V1=0
137+
run-worker: export FEATURE_DAEMON_V2=1
138+
run-worker: export FEATURE_DAEMON_CAMPAIGNS=1
139+
run-worker: export FEATURE_DAEMON_NODES=1
140+
run-worker: export FEATURE_ALLOW_TASK_UPSERT=1
132141
run-worker: run-compose
133142
alembic upgrade head
134143
python3 -m lsst.cmservice.daemon

0 commit comments

Comments
 (0)