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

Update test environment #656

Merged
merged 18 commits into from
Apr 12, 2023
Merged

Update test environment #656

merged 18 commits into from
Apr 12, 2023

Conversation

schurzi
Copy link
Contributor

@schurzi schurzi commented Apr 10, 2023

Our testing environment was a bit dated. Now we use the current ubuntu images from GitHub and a more recent version of Python. This also let's us use current versions of Molecule, etc.

Also some steps (sym-linking the collection to a fix location) are now unneccessary and are removed.

We switched from installing inspec in each system under test to using a premade Docker container. Tihs is much faster and supports all operating systems. This helps us include Arch Linux and SuSE. It also greatly simplifies out verify Playbooks.

Finally we solved some deprecation warnings. :D

I did some analyses on the still failing tests for Arch and SuSE, but will open separate Issues for fixing them.

Signed-off-by: Martin Schurz <[email protected]>
@schurzi schurzi changed the title use latest runner version Update test environment Apr 10, 2023
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
@schurzi schurzi added the patch label Apr 11, 2023
@schurzi schurzi requested a review from rndmh3ro April 11, 2023 09:12
@schurzi schurzi marked this pull request as ready for review April 11, 2023 09:12
@schurzi
Copy link
Contributor Author

schurzi commented Apr 11, 2023

unhandled testcases are in #658 #659 #660 #661

.github/workflows/mysql_hardening.yml Show resolved Hide resolved
molecule/mysql_hardening/verify.yml Show resolved Hide resolved
molecule/nginx_hardening/prepare.yml Outdated Show resolved Hide resolved
Signed-off-by: Martin Schurz <[email protected]>
Signed-off-by: Martin Schurz <[email protected]>
@schurzi schurzi merged commit 4a21ec0 into master Apr 12, 2023
@schurzi schurzi deleted the update_Tests branch April 12, 2023 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants