Commit f3dfc6a
authored
VED-1157: Ack backend Lambda deployment to a dedicated pipeline stage (#1382)
* Implement ack backend image deployment in CI/CD workflows
- Added support for building and deploying the ack backend image in the continuous deployment, backend deployment, and PR workflows.
- Introduced new variables for ack backend image version and build options in the relevant YAML files.
- Created a new ECR repository for the ack backend and updated the Terraform configuration accordingly.
- Enhanced the teardown process to clean up the ack backend image references.
This update ensures that the ack backend is properly integrated into the CI/CD pipeline, improving deployment consistency and management.
* Refactor image URI resolution in CI/CD teardown workflow and update ECR lifecycle policy format
- Simplified the process of resolving image URIs in the PR teardown workflow by introducing a reusable function that provides a placeholder if the output is unavailable.
- Updated the ECR lifecycle policy in Terraform to use the `jsonencode` function for better readability and maintainability.
* Remove deprecated ECR repository references and associated lifecycle configurations in temp.tf. This change is part of the cleanup process following the ack backend ECR ownership migration.
* Refactor CI/CD workflows to streamline lambda image deployment
- Replaced deprecated image version variables with a JSON map for lambda image overrides in the continuous deployment workflow.
- Consolidated the deployment of lambda images into a single job with a matrix strategy for better maintainability.
- Updated output variables to reflect the new image URI structure and removed redundant steps for deploying individual lambda images.
- Enhanced documentation for new input parameters related to lambda image deployment.
* Refactor deployment workflows to simplify image handling and cleanup process
* Refactor backend deployment workflows to use lambda build flags and simplify image build conditions
* Enhance deployment workflows by adding tf_var_suffix input for lambda artifacts and updating related processing logic
* Fix diff_base_sha assignment for synchronize action in PR deploy workflow
* Remove unused ECR lifecycle policy from ackbackend ECR repository configuration
* chore: empty commit1 parent 0c38597 commit f3dfc6a
File tree
9 files changed
+219
-122
lines changed- .github/workflows
- infrastructure
- account
- instance
9 files changed
+219
-122
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 88 | + | |
92 | 89 | | |
93 | 90 | | |
94 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | 22 | | |
16 | | - | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
| |||
63 | 70 | | |
64 | 71 | | |
65 | 72 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
76 | 87 | | |
77 | 88 | | |
78 | 89 | | |
| |||
100 | 111 | | |
101 | 112 | | |
102 | 113 | | |
103 | | - | |
104 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
105 | 133 | | |
106 | 134 | | |
107 | | - | |
| 135 | + | |
| 136 | + | |
108 | 137 | | |
109 | 138 | | |
110 | | - | |
111 | | - | |
| 139 | + | |
| 140 | + | |
112 | 141 | | |
113 | 142 | | |
114 | 143 | | |
115 | | - | |
116 | | - | |
| 144 | + | |
117 | 145 | | |
118 | 146 | | |
119 | 147 | | |
120 | | - | |
121 | | - | |
| 148 | + | |
| 149 | + | |
122 | 150 | | |
123 | 151 | | |
124 | 152 | | |
| |||
127 | 155 | | |
128 | 156 | | |
129 | 157 | | |
130 | | - | |
131 | | - | |
| 158 | + | |
| 159 | + | |
132 | 160 | | |
133 | | - | |
| 161 | + | |
| 162 | + | |
134 | 163 | | |
135 | | - | |
136 | | - | |
137 | 164 | | |
138 | 165 | | |
139 | 166 | | |
| |||
151 | 178 | | |
152 | 179 | | |
153 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
154 | 233 | | |
155 | 234 | | |
156 | 235 | | |
| |||
175 | 254 | | |
176 | 255 | | |
177 | 256 | | |
178 | | - | |
179 | | - | |
180 | 257 | | |
181 | 258 | | |
182 | 259 | | |
| |||
193 | 270 | | |
194 | 271 | | |
195 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
196 | 289 | | |
197 | 290 | | |
198 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| |||
391 | 396 | | |
392 | 397 | | |
393 | 398 | | |
| 399 | + | |
394 | 400 | | |
395 | 401 | | |
396 | 402 | | |
| |||
408 | 414 | | |
409 | 415 | | |
410 | 416 | | |
| 417 | + | |
411 | 418 | | |
412 | 419 | | |
413 | 420 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
131 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments