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

docker_engine_test: Add more OSes #358

Merged
merged 3 commits into from
Jan 10, 2020
Merged

docker_engine_test: Add more OSes #358

merged 3 commits into from
Jan 10, 2020

Conversation

simar7
Copy link
Member

@simar7 simar7 commented Jan 6, 2020

Fixes: #356

Signed-off-by: Simarpreet Singh simar@linux.com

Fixes: #356

Signed-off-by: Simarpreet Singh <simar@linux.com>
@simar7 simar7 requested a review from knqyf263 January 6, 2020 19:05
@simar7 simar7 self-assigned this Jan 6, 2020
@knqyf263
Copy link
Collaborator

knqyf263 commented Jan 7, 2020

Would you add all OSes which the following tests?
https://github.com/aquasecurity/trivy/blob/master/integration/standalone_test.go#L31-L343

Also, we need to watch the test time since CircleCI has a limitation of 200 minutes.

@simar7
Copy link
Member Author

simar7 commented Jan 7, 2020

I can but I feel it will make the test longer than we'd like it to be, so I added one of each kind. Currently it took about ~4 minutes on my machine to run them all. Is the CircleCI limit per month or per week? Have a link to it?

@knqyf263
Copy link
Collaborator

knqyf263 commented Jan 8, 2020

Yes, I agree. It might be better to do other integration tests on GitHub Actions. Here is the link. It is not 200 min, but 250 min per week.
https://circleci.com/pricing/

image

@knqyf263 knqyf263 merged commit db2d0c2 into master Jan 10, 2020
@knqyf263 knqyf263 deleted the moar-integration-tests branch February 12, 2020 11:49
GuaoGuao pushed a commit to GuaoGuao/trivy that referenced this pull request Jun 24, 2020
* docker_engine_test: Add more OSes

Fixes: aquasecurity#356

Signed-off-by: Simarpreet Singh <simar@linux.com>

* integration: Add all OSes for docker mode.

Signed-off-by: Simarpreet Singh <simar@linux.com>
liamg pushed a commit that referenced this pull request Jun 7, 2022
* docker_engine_test: Add more OSes

Fixes: #356

Signed-off-by: Simarpreet Singh <simar@linux.com>

* integration: Add all OSes for docker mode.

Signed-off-by: Simarpreet Singh <simar@linux.com>
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.

Add more OSes for integration tests in Docker mode
2 participants