Repository navigation
Conversation
|
🌿 Preview your docs: https://nvidia-preview-pr-5622.docs.buildwithfern.com/openshell |
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
Label |
matthewgrossman
left a comment
There was a problem hiding this comment.
This merges cleanly into current main, but I’d rebase once #5780 lands so the push lane uses the shared gateway override role. The amd64 push row already passed on this PR head, so the PR description can drop the note that it hasn’t run in CI. The next run should verify push after the rebase.
…ushes configuration Add the ubuntu-docker-rootful-config-push tmachine environment. Its setup playbook, config-push.yaml, adds config_delivery_mode = "push" to the gateway overrides through the gateway_overrides role, which the deb, rpm and binaries installers apply to the gateway's configuration. A push gateway lets a supervisor without push support keep polling, so the conformance suite passes in either mode. E2E Suites runs the conformance family in the new environment with the deb installer. mise run e2e:testkit:push runs the conformance suite against a local Docker gateway in push mode. Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
002bf18 to
0927819
Compare
with-docker-gateway.sh reuses the gateway named by OPENSHELL_GATEWAY_ENDPOINT instead of starting one, and only a gateway it starts reads OPENSHELL_CONFIG_DELIVERY_MODE. A push lane pointed at an existing polling gateway could pass without testing push, since conformance passes in either mode. Exit when both are set. e2e:testkit:push now runs through e2e/rust/e2e-docker.sh in conformance-only mode, so it uses the shared conformance helper and the Docker entries in tests/suites/unsupported.yaml. Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
Summary
Runs the full conformance suite in CI against a gateway with
config_delivery_mode = "push", ahead of making push the default in #4498.Related Issue
Refs #4498. No issue required: test and CI coverage only, no product behavior change.
Changes
ubuntu-docker-rootful-config-push:ubuntu-docker-rootfulplusplaybooks/config-push.yaml, which addsconfig_delivery_mode = "push"to the gateway overrides through the sharedgateway_overridesrole. The deb, rpm and binaries installers already merge that file..github/workflows/e2e-suites.yml:conformancein the new environment with the deb installer.mise run e2e:testkit:pushruns conformance against a local Docker gateway withOPENSHELL_CONFIG_DELIVERY_MODE=push, for hosts without KVM.Nothing asserts push is in use. A typo in the setting fails gateway startup (unknown fields are rejected), and supervisors built from this tree always support push, so push is off only if the override file stops being merged. A separate evidence suite was tried and dropped as not worth a VM per E2E run.
Scope notes:
gateway_overridesrole, not this playbook.e2e/rust/tests/config_push.rswithe2e:rust:push, can go when feat(config)!: make push config delivery the default and remove supervisor polling #4498 makes push the default.Testing
mise run pre-commitpassesLocal results, before rebasing onto main (the rebase moved the playbook onto the
gateway_overridesrole and addedtest_threadsto the new row):ubuntu-docker-rootful-config-push+ deb: conformance 22/22 pass.config_push=true.CI: the
ubuntu-docker-rootful-config-push+ deb row passed on 6569462 (https://github.com/ai-openshell/openshell/actions/runs/45708598314).Checklist