feat(automation): add feature flags and ansible provider foundation#1301
Merged
Conversation
8303c6c to
b6ea49d
Compare
Merged
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.
Summary
instance_settings.metadata.featureFlags, with a typed code registry and public/api/featuresendpointautomation.ansibleandautomationSettings.provideransible-apifoundation service, Compose profile wiring, start-script DB selection, docs, and release/CI image publishing supportValidation
node --experimental-strip-types --test apps/web/lib/feature-flags.test.mjs apps/web/lib/automation/settings-core.test.mjs apps/web/lib/db/schema/metadata-validation.test.mjs apps/web/lib/actions/mutation-authz.test.mjspnpm --filter web type-checkpnpm --filter web lint(passes with existing warnings)DATABASE_URL=postgresql://dummy:dummy@localhost:5432/dummy BETTER_AUTH_SECRET=dummy-secret-for-ci-build-only-at-least-32 BETTER_AUTH_URL=http://localhost:3000 NEXT_PUBLIC_APP_URL=http://localhost:3000 pnpm --filter web run buildpnpm --filter @ct-ops/docs buildPYTHONPATH=apps/ansible-api python3 -m unittest discover -s apps/ansible-api/testsbash deploy/scripts/test-start.shbash deploy/scripts/test-ansible-profile-wiring.shPOSTGRES_PASSWORD=x BETTER_AUTH_SECRET=x docker compose -f docker-compose.single.yml --profile ansible config --servicesdocker compose --profile ansible config --imagesgit diff --checkNotes
pnpm --filter web test:unitwas run after installing dependencies and all non-container tests passed, but the existing CT-CVEdb-nonce-storeTestcontainers test failed locally withCould not find a working container runtime strategybecause Docker is not available in this environment.docker build -q apps/ansible-apicould not run because the Docker daemon is not running; CI now includes an Ansible API Docker image build check.