Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: Require faketime in "make dev" #240

Merged
merged 2 commits into from
Nov 28, 2024
Merged

Conversation

jku
Copy link
Member

@jku jku commented Nov 22, 2024

This is not strictly a true requirement (creating a dev env without faketime works fine) but it's useful when getting started.

Fixes #234

CC @loosebazooka

This is not strictly true (creating a dev env without faketime works
fine) but it's useful when getting started.

Signed-off-by: Jussi Kukkonen <[email protected]>
@jku
Copy link
Member Author

jku commented Nov 22, 2024

ah the lint failure on CI is why this was as it was. I guess we can install faketime for linting as well

EDIT: I ended up avoiding "make dev" when linting

make dev now depends on faketime which we don't need when linting

Signed-off-by: Jussi Kukkonen <[email protected]>
@jku jku force-pushed the require-faketime-to-make-dev branch from eca9dfc to 70f3018 Compare November 22, 2024 14:13
@jku jku merged commit 117933c into main Nov 28, 2024
6 checks passed
jku added a commit that referenced this pull request Nov 28, 2024
This release contains no new tests and test results are not expected to
change, except in one case: If `test_root_rotation` or
`test_non_root_rotations` are marked as "Expected To Fail" because of
the non-default keytype, this expectation can now be removed: these
tests now use the default keytype (ecdsa).

* local testing: "make dev" now checks for faketime binary
  to enable failing early (#240)
* Failure output was improved (#239)
* Tests now use default keytype whenever possible:
  In `practice test_non_root_rotations()` and `test_root_rotation()`
  switched from ed25519 to the default ecdsa key (#238)
* Expected failures are now documented better (#233)

Signed-off-by: Jussi Kukkonen <[email protected]>
@jku jku mentioned this pull request Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

differentiate between infra errors and actual errors
1 participant