Repository navigation
Run staging's e2e as its own Kustomization, on the version it was built for - #31
Merged
Merged
Conversation
…lt for Staging's run of d9d24d4 tested the new e2e image against the previous version's manifests (Kratos still at 256Mi), and held that version in place. The Job was part of the stack's Kustomization: changing pins changes its spec images, Flux reconciled at once with the old source artifact and new image tags, and its 30-minute health wait on the Job kept the new revision from being applied. - deploy/staging-e2e: the Job (and a ServiceAccount allowed to read Flux Kustomizations) for a Kustomization of its own in infra, depending on the stack's, so the stack's health no longer waits for the tests. - The image carries its commit (E2E_REVISION); the Job's wait first holds until the stack's Kustomization has applied that commit and is ready, which closes the remaining window, then waits for the services. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bulbashenko-com-deploy Bot
added a commit
to bulbashenko-com/infra
that referenced
this pull request
Oct 27, 2026
…he version it was built for (bulbashenko-com/auth#31) 2 commit(s), 6 file(s) since d9d24d4: - d6004ef Merge pull request #31 from bulbashenko-com/e2e-own-kustomization - ab0881c Run staging's e2e as its own Kustomization, on the version it was built for Source: bulbashenko-com/auth@d9d24d4...d6004ef
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Найдено на прогоне
d9d24d4: e2e тестировал новый образ против манифестов старой версии (Kratos остался на 256Mi) и к тому же держал эту старую версию. Job входил в Kustomization стека. Смена пинов меняет еёspec.images, Flux сразу переcобирал её со старым артефактом исходников и новыми тегами образов, а 30-минутное ожидание здоровья Job не давало применить новую ревизию.deploy/staging-e2e: Job и SA, которому можно только читать Flux Kustomization. Это отдельная Kustomization в infra сdependsOnна стек, поэтому здоровье стека больше не ждёт тесты.E2E_REVISION). Init Job'а ждёт, пока Kustomization стека применит именно этот коммит и станет Ready, и только потом ждёт сервисы.infra нужно перевести на две Kustomization (следующий PR в infra), до этого e2e в staging не запускается.
🤖 Generated with Claude Code