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

Adds tox.ini and basic rock sanity tests #5

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

claudiubelu
Copy link
Contributor

@claudiubelu claudiubelu commented Jul 12, 2024

Adds the following tox targets: format, lint, sanity, integration.

Adds basic rock tests, checking that the expected files exist in the rock, and checking the added executables outputs.

Note that Pebble was recently updated, no longer allowing exec after --verbose (which is in the entrypoint). Using the --entrypoint docker run parameter instead.

Depends-On: canonical/k8s-test-harness#11

@claudiubelu claudiubelu requested a review from a team as a code owner July 12, 2024 09:00
@claudiubelu claudiubelu force-pushed the adds-tests branch 2 times, most recently from 2ea19c0 to 3992179 Compare July 17, 2024 07:11
@claudiubelu claudiubelu changed the title Adds tox.ini and basic rock sanity test Adds tox.ini and basic rock sanity tests Jul 17, 2024
Copy link
Collaborator

@bschimke95 bschimke95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - minor comments, also please rebase and drop the obsolete commits. I have force-pushed the main branch to update the author.

tests/sanity/utils.py Outdated Show resolved Hide resolved
tests/sanity/utils.py Outdated Show resolved Hide resolved
Adds the following tox targets: format, lint, sanity, integration.

Adds basic rock tests, checking that the expected files exist in the
rock, and checking the added executables outputs.

Note that Pebble was recently updated, no longer allowing exec after
--verbose (which is in the entrypoint). Using the --entrypoint docker
run parameter instead.
@bschimke95 bschimke95 merged commit b37daa0 into canonical:main Jul 19, 2024
1 check passed
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.

3 participants