Repository navigation
spritzer 0.6.0 -> 0.6.1: a limited Environment provisions, and the fixture gate runs on one - #124
Merged
Merged
Conversation
…xture gate runs on one spritzer 0.6.1 answers the network policy call with 204, as Sprites does; 0.6.0 answered 200 with the rules and fountain failed the network stage (INTENTIUS/spritzer#26). The e2e fixture agent now runs on a networking_type: limited Environment with an empty allowlist, the studio Box default, and asserts the network stage finished. spritzer stores the policy and does not enforce it, and the docs say so.
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.
Bumps
spritzerImagetoghcr.io/intentius/spritzer:0.6.1, which fixes INTENTIUS/spritzer#26:POST /v1/sprites/{id}/policy/networkanswers204as Sprites does. 0.6.0 answered200with the rules, and fountain v0.21.0 failed the network stage of anynetworking_type: limitedEnvironment ({:network_policy, {:invalid, {:http, 200, ...}}}).just verify-conversation … fixture, and sojust e2e, now creates alimitedEnvironment with an empty allowlist (the studio Box default, chant#2706), runs the fixture agent on it, asserts the network stage finisheddone, and deletes the Environment on exit.Checked on k3d before the release with the fix's image, then with the published 0.6.1: an Environment with
allowed_hosts: ["registry.npmjs.org"]and one with[]both provision (network done), the fixture turn endsend_turn, and spritzer's GET returns the stored rules. At 0.6.0 the same Environment failed atnetwork.