GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — core: expose vault dev service port in secret provider tests by sipsma · Pull Request #13077 · dagger/dagger Conversation
Contributor
The Vault secret provider helper starts hashicorp/vault:1.18 as a Dagger service and then talks to it on port 8200. That image has OCI EXPOSE metadata for 8200/tcp, but Dagger does not currently promote image EXPOSE metadata into Container.Ports for service healthchecks or service port introspection. This matches the existing note in core/integration/container_test.go around line 4831: after Import or container.From, ports can show up under image config, but do not actually get set up as Dagger container ports and must be re-exposed before AsService. Add an explicit WithExposedPort(8200) to the Vault dev server helper so service startup waits for Vault's port healthcheck instead of relying on image metadata that is currently introspection-only. This fixes what appears to be a long-standing flake where you could occasionally try connecting to vault and get connection refused in these secret provider integ tests.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe Vault secret provider helper starts hashicorp/vault:1.18 as a Dagger service and then talks to it on port 8200. That image has OCI EXPOSE metadata for 8200/tcp, but Dagger does not currently promote image EXPOSE metadata into Container.Ports for service healthchecks or service port introspection. This matches the existing note in core/integration/container_test.go around line 4831: after Import or container.From, ports can show up under image config, but do not actually get set up as Dagger container ports and must be re-exposed before AsService. Add an explicit WithExposedPort(8200) to the Vault dev server helper so service startup waits for Vault's port healthcheck instead of relying on image metadata that is currently introspection-only. Signed-off-by: Erik Sipsma <[email protected]>
grouville
self-requested a review
grouville
approved these changes
Uh oh!
There was an error while loading. Please reload this page.
tiborvass
pushed a commit
that referenced
this pull request
The Vault secret provider helper starts hashicorp/vault:1.18 as a Dagger service and then talks to it on port 8200. That image has OCI EXPOSE metadata for 8200/tcp, but Dagger does not currently promote image EXPOSE metadata into Container.Ports for service healthchecks or service port introspection. This matches the existing note in core/integration/container_test.go around line 4831: after Import or container.From, ports can show up under image config, but do not actually get set up as Dagger container ports and must be re-exposed before AsService. Add an explicit WithExposedPort(8200) to the Vault dev server helper so service startup waits for Vault's port healthcheck instead of relying on image metadata that is currently introspection-only. Signed-off-by: Erik Sipsma <[email protected]> (cherry picked from commit b33f0af) Signed-off-by: Tibor Vass <[email protected]>
tiborvass
pushed a commit
that referenced
this pull request
The Vault secret provider helper starts hashicorp/vault:1.18 as a Dagger service and then talks to it on port 8200. That image has OCI EXPOSE metadata for 8200/tcp, but Dagger does not currently promote image EXPOSE metadata into Container.Ports for service healthchecks or service port introspection. This matches the existing note in core/integration/container_test.go around line 4831: after Import or container.From, ports can show up under image config, but do not actually get set up as Dagger container ports and must be re-exposed before AsService. Add an explicit WithExposedPort(8200) to the Vault dev server helper so service startup waits for Vault's port healthcheck instead of relying on image metadata that is currently introspection-only. Signed-off-by: Erik Sipsma <[email protected]> (cherry picked from commit b33f0af) Signed-off-by: Tibor Vass <[email protected]>
tiborvass
pushed a commit
that referenced
this pull request
The Vault secret provider helper starts hashicorp/vault:1.18 as a Dagger service and then talks to it on port 8200. That image has OCI EXPOSE metadata for 8200/tcp, but Dagger does not currently promote image EXPOSE metadata into Container.Ports for service healthchecks or service port introspection. This matches the existing note in core/integration/container_test.go around line 4831: after Import or container.From, ports can show up under image config, but do not actually get set up as Dagger container ports and must be re-exposed before AsService. Add an explicit WithExposedPort(8200) to the Vault dev server helper so service startup waits for Vault's port healthcheck instead of relying on image metadata that is currently introspection-only. Signed-off-by: Erik Sipsma <[email protected]> (cherry picked from commit b33f0af) Signed-off-by: Tibor Vass <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |