ENT-14443: Added cfengine test, a one-stop command to lint/build/deploy/run a policy-set - #232
Open
SimonThalvorsen wants to merge 3 commits into
Open
ENT-14443: Added cfengine test, a one-stop command to lint/build/deploy/run a policy-set#232SimonThalvorsen wants to merge 3 commits into
cfengine test, a one-stop command to lint/build/deploy/run a policy-set#232SimonThalvorsen wants to merge 3 commits into
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #232 +/- ##
==========================================
+ Coverage 52.31% 54.73% +2.42%
==========================================
Files 32 33 +1
Lines 4110 4149 +39
==========================================
+ Hits 2150 2271 +121
+ Misses 1960 1878 -82
🚀 New features to boost your workflow:
|
SimonThalvorsen
force-pushed
the
ENT-14443
branch
from
September 4, 2026 13:12
be506f6 to
2f3d8f9
Compare
olehermanse
reviewed
Sep 4, 2026
olehermanse
reviewed
Sep 4, 2026
cfengine test, a one-stop command to lint/build/deploy/run a policy-setcfengine test, a one-stop command to lint/build/deploy/run a policy-set
SimonThalvorsen
marked this pull request as draft
September 4, 2026 14:02
SimonThalvorsen
force-pushed
the
ENT-14443
branch
3 times, most recently
from
September 7, 2026 08:25
6ae827f to
0d50c0b
Compare
SimonThalvorsen
marked this pull request as ready for review
September 7, 2026 08:28
SimonThalvorsen
commented
Sep 7, 2026
| RUN pipx install cfengine --force | ||
| # RUN cfengine install --hub localhost --edition community | ||
| # Does not work since localhost resolves to `local` in cfengine cli | ||
| RUN cfengine install --clients localhost --edition community |
Contributor
Author
There was a problem hiding this comment.
will work when new version of cfengine-cli is released (with the changes in this pr)
…policy-set First iteration of the `cfengine test`-command, with the intention of being used in a future "CFEngine testing framework" Ticket: ENT-14443 Signed-off-by: Simon Halvorsen <simon.halvorsen@northern.tech>
Ticket: None Signed-off-by: Simon Halvorsen <simon.halvorsen@northern.tech>
…in coveraerc Added coverage-export-variables to coverage-target in Makefile to reduce noise and added PROJECT_ROOT before the src/-target in .coveragerc to fix the tracking Ticket: None Signed-off-by: Simon Halvorsen <simon.halvorsen@northern.tech>
SimonThalvorsen
force-pushed
the
ENT-14443
branch
from
September 7, 2026 09:41
0d50c0b to
30e5f8f
Compare
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.
First iteration of the
cfengine test-command, with the intention of being used in a future "CFEngine testing framework"Ticket: ENT-14443