Commit 8a9754b
Fix AWS store auth and add Floci E2E coverage (#2625)
* Fix AWS store auth and add Floci E2E coverage
* Polish AWS secrets examples and Floci toolchain
* Address floci review feedback
* De-risk store auth resolver injection
* Fix acceptance CI failures
* Pass GitHub token to Floci toolchain CI
* Auto-start Floci emulators for local E2E tests; store auth/endpoint fixes
Add testcontainers-based auto-start for the opt-in Floci cloud-emulator E2E
tests. When ATMOS_TEST_FLOCI=true and the FLOCI_* endpoints are unset, the
suite detects the container runtime (Docker or Podman, via pkg/container),
wires Podman's API socket into testcontainers, and brings the AWS/GCP/Azure
emulators up on dynamic ports, tearing them down afterward. CI keeps its
service containers (pre-set endpoints make auto-start a no-op), and tests skip
cleanly with an actionable message when no runtime is available.
Also includes this branch's AWS SSM / Secrets Manager / Azure Key Vault / GCP
Secret Manager store auth and endpoint changes and their tests.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Cover decodeNodeWithYamlFunctions error and alias branches
Add a focused test for the error-propagation paths (failing scalar decode
inside a mapping and a sequence) and the default/alias branch of
decodeNodeWithYamlFunctions, raising it from ~73% to ~97%.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Move AWS resolver endpoint into auth context
* Address CodeRabbit review feedback on test quality
- aws_ssm_param_store_test: assert applied option behavior (region,
endpoint, profile, config/creds files) not just option count, so
auth precedence can't regress silently
- precondition_cached_tools_test: use OS-agnostic temp-dir PATH fixture
instead of hardcoded /usr/bin
- cli_test: bound Floci auto-start with a 3m timeout context so a hung
Podman/Docker call can't block TestMain indefinitely
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Add perf.Track to SetAuthContext and cover lowercase identity fallback
- setup.go: add the required perf.Track defer to the public SetAuthContext
function, matching the package convention (nil atmosConfig)
- setup_test: make TestSetAuthContext_WithIdentityResolverEndpoint
table-driven to also exercise the strings.ToLower identity-name fallback
in endpointURLFromManager (mixed-case input, lowercase-keyed identity)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Add store integration coverage
* Fix Vault test HTTP handler
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Andriy Knysh <aknysh@users.noreply.github.com>1 parent d21327f commit 8a9754b
119 files changed
Lines changed: 4886 additions & 488 deletions
File tree
- .github/workflows
- agent-skills/skills
- atmos-config
- references
- atmos-stores
- references
- cmd
- secret
- terraform
- docs
- fixes
- prd
- examples/auth-stores
- gists
- aws-secrets
- components/terraform/secret-consumer
- iam
- stacks
- aws-store-hooks
- components/terraform/output-demo
- iam
- stacks
- internal
- exec
- gcp
- pkg
- auth
- cloud/aws
- identities/aws
- providers/mock/aws
- config
- function
- schema
- secrets
- providers
- store
- authbridge
- tests
- fixtures/scenarios
- aws-secrets-floci
- components/terraform/secret-consumer
- stacks
- aws-store-hooks-floci
- components/terraform/output-demo
- stacks
- azure-secrets-floci
- stacks
- gcp-secrets-floci
- stacks
- test-cases/hooks-component-scoped
- testhelpers
- website
- blog
- docs
- cli
- commands
- secret
- toolchain
- configuration
- functions
- template
- yaml
- intro
- stacks
- tutorials/sharing-state
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
411 | 482 | | |
412 | 483 | | |
413 | 484 | | |
| |||
681 | 752 | | |
682 | 753 | | |
683 | 754 | | |
684 | | - | |
| 755 | + | |
685 | 756 | | |
686 | 757 | | |
687 | 758 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
| 275 | + | |
275 | 276 | | |
276 | 277 | | |
277 | | - | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
| 285 | + | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | | - | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
42 | | - | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| |||
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
80 | | - | |
| 85 | + | |
81 | 86 | | |
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
86 | | - | |
| 91 | + | |
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
| |||
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
95 | | - | |
| 100 | + | |
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
| |||
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
108 | 127 | | |
109 | 128 | | |
110 | 129 | | |
111 | 130 | | |
112 | 131 | | |
113 | | - | |
| 132 | + | |
114 | 133 | | |
115 | 134 | | |
116 | 135 | | |
| |||
126 | 145 | | |
127 | 146 | | |
128 | 147 | | |
129 | | - | |
| 148 | + | |
130 | 149 | | |
131 | 150 | | |
132 | 151 | | |
| |||
312 | 331 | | |
313 | 332 | | |
314 | 333 | | |
315 | | - | |
| 334 | + | |
316 | 335 | | |
317 | 336 | | |
318 | 337 | | |
| |||
328 | 347 | | |
329 | 348 | | |
330 | 349 | | |
331 | | - | |
| 350 | + | |
332 | 351 | | |
333 | 352 | | |
334 | 353 | | |
335 | 354 | | |
336 | | - | |
| 355 | + | |
337 | 356 | | |
338 | 357 | | |
339 | 358 | | |
| |||
347 | 366 | | |
348 | 367 | | |
349 | 368 | | |
350 | | - | |
| 369 | + | |
351 | 370 | | |
352 | 371 | | |
353 | 372 | | |
| |||
381 | 400 | | |
382 | 401 | | |
383 | 402 | | |
384 | | - | |
| 403 | + | |
385 | 404 | | |
386 | 405 | | |
387 | 406 | | |
| |||
392 | 411 | | |
393 | 412 | | |
394 | 413 | | |
395 | | - | |
| 414 | + | |
396 | 415 | | |
397 | 416 | | |
398 | 417 | | |
| |||
0 commit comments