File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ applications:
26
26
sasquatch : true
27
27
sia : true
28
28
ssotap : true
29
- production-tools : true
30
29
sasquatch-backpack : true
31
30
semaphore : true
32
31
sqlproxy-cross-project : true
Original file line number Diff line number Diff line change 12
12
from phalanx .factory import Factory
13
13
from phalanx .models .applications import Project
14
14
15
- _ALLOW_NO_SECRETS = ("next-visit-fan-out" ,)
15
+ _ALLOW_DISABLED = {"production-tools" }
16
+ """Temporary whitelist of applications not enabled anywhere."""
17
+
18
+ _ALLOW_NO_SECRETS = {"next-visit-fan-out" }
16
19
"""Temporary whitelist of applications that haven't added secrets.yaml."""
17
20
18
21
@@ -168,7 +171,9 @@ def test_applications_enabled() -> None:
168
171
for application in config .applications :
169
172
name = application .name
170
173
active = set (application .active_environments )
171
- assert active , f"Application { name } is not enabled in any environment"
174
+ if not active and name not in _ALLOW_DISABLED :
175
+ msg = f"Application { name } is not enabled in any environment"
176
+ assert active , msg
172
177
configured = set (config_storage .get_application_environments (name ))
173
178
for env in active :
174
179
msg = f"Application { name } enabled for { env } but not configured"
You can’t perform that action at this time.
0 commit comments