Commit c6c2d4c
committed
feat: Modernize deployment and configuration system
Major updates:
- Analytics telemetry integration with penguin-analytics
- Reactive configuration system using Angular signals
- Multi-stage Dockerfile for consistent deployments
- Simplified GitHub Actions workflows
Configuration System:
- New env.js pattern with configEndpoint flag
- ConfigService with signal-based reactivity
- Dynamic banner and environment display
- Local dev uses proxy, deployed uses /api/config
- All services (analytics, auth, API) use config() signal
Deployment Modernization:
- Multi-stage Dockerfile (Node 22 + nginx 1.27)
- Embedded nginx config (no OpenShift base image dependency)
- Simplified workflows: checkout, login, build/push
- Removed Helm complexity for test/prod deploys
- Consistent with eagle-public deployment pattern
nginx Configuration:
- Alias /tmp/app/dist/ to handle /admin/* prefix from rproxy
- Analytics proxy removed (use direct penguin-analytics URL)
- CSP allows Material Icons, BC Gov scripts, Typekit
- Health check endpoint at /health
Developer Experience:
- Local development with configEndpoint=false
- Deployed environments fetch config from API
- Proxy configuration for local API/analytics
- Comprehensive architecture and deployment docs
Testing:
- 43 unit tests passing
- Lint clean
- Workflows validated
This represents a complete modernization matching eagle-public's
deployment architecture and configuration management.1 parent 58e3520 commit c6c2d4c
File tree
31 files changed
+2045
-363
lines changed- .github
- workflows
- .yarn
- docs
- openshift/templates/nginx-runtime
- s2i/bin
- src
- app
- header
- projects/add-edit-project/modifications-list-table-rows
- services
- analytics
31 files changed
+2045
-363
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
30 | 27 | | |
31 | 28 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 29 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
79 | 33 | | |
80 | 34 | | |
81 | 35 | | |
| |||
84 | 38 | | |
85 | 39 | | |
86 | 40 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 41 | | |
92 | 42 | | |
93 | 43 | | |
94 | 44 | | |
95 | 45 | | |
96 | | - | |
97 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
98 | 50 | | |
99 | 51 | | |
100 | 52 | | |
| |||
115 | 67 | | |
116 | 68 | | |
117 | 69 | | |
| 70 | + | |
118 | 71 | | |
119 | 72 | | |
120 | 73 | | |
| |||
124 | 77 | | |
125 | 78 | | |
126 | 79 | | |
127 | | - | |
128 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
129 | 89 | | |
| 90 | + | |
130 | 91 | | |
131 | 92 | | |
132 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
| |||
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | | - | |
16 | | - | |
| 13 | + | |
| 14 | + | |
17 | 15 | | |
18 | | - | |
19 | | - | |
20 | 16 | | |
21 | 17 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 18 | + | |
29 | 19 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
36 | 23 | | |
37 | | - | |
38 | | - | |
| 24 | + | |
| 25 | + | |
39 | 26 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
48 | 30 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 31 | + | |
| 32 | + | |
56 | 33 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | | - | |
14 | | - | |
15 | 11 | | |
16 | 12 | | |
17 | | - | |
18 | | - | |
| 13 | + | |
| 14 | + | |
19 | 15 | | |
20 | | - | |
21 | | - | |
22 | 16 | | |
23 | 17 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 18 | + | |
31 | 19 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
38 | 23 | | |
39 | | - | |
40 | | - | |
| 24 | + | |
| 25 | + | |
41 | 26 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
50 | 30 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 31 | + | |
| 32 | + | |
73 | 33 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
File renamed without changes.
Binary file not shown.
0 commit comments