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

Remove testing using docker #393

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

mgoerens
Copy link
Contributor

The container image test is already covered by the podman tests.

  • Remove testing the container image using docker.
  • Update the documentation accordingly
  • Remove the "build-and-test" python script, previously used to build the docker image.
  • In places where the podman image is built, use the "build-image" make target.

close #378

@komish
Copy link
Contributor

komish commented Aug 1, 2023

@mgoerens this needs a rebase. The actions/cache@v4 tag didn't exist, so we replaced it with the v3 tag which does and merged that to resolve the setup issue.

@mgoerens
Copy link
Contributor Author

mgoerens commented Aug 1, 2023

@komish FYI the pipeline fails as the workflows from the main branch are being run, and the PR removes some files essentials for the docker test to run.

@komish
Copy link
Contributor

komish commented Aug 1, 2023

@mgoerens understood. Makes sense. We can test the behavior here in a fork without issue.

The container image test is already covered by the podman tests.

- Remove testing the container image using docker.
- Update the documentation accordingly
- Remove the "build-and-test" python script, previously used to build
  the docker image.
- Remove the now unused "report_info" python script.
- In places where the podman image is built, use the "build-image" make
  target.

close redhat-certification#378

Signed-off-by: mgoerens <[email protected]>
@mgoerens
Copy link
Contributor Author

mgoerens commented Aug 2, 2023

Tested in mgoerens/my-chart-verifier:

  • I applied all changes made by this branch in the main branch of mgoerens/my-chart-verifier
  • (Used sed to rename to the correct repo)
  • created a fake release PR test release 1.13.4 mgoerens/my-chart-verifier#9
  • docker tests are removed, pipeline is green.

Copy link
Contributor

@komish komish left a comment

Choose a reason for hiding this comment

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

Successful run replicated in my repo as well.

https://github.com/komish/chart-verifier/actions/runs/5742028147

/lgtm

@komish komish merged commit 2125421 into redhat-certification:main Aug 2, 2023
4 of 5 checks passed
@mgoerens mgoerens deleted the remove_docker_tests branch August 9, 2023 15:12
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.

Remove docker-related tests and docs
2 participants