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

Add TGIS test for fetching model from Minio object storage #1231

Merged
merged 13 commits into from
Feb 29, 2024

Conversation

bdattoma
Copy link
Contributor

@bdattoma bdattoma commented Feb 26, 2024

Covering RHOAIENG-3490.
PR validation (including regression): rhods-ci-pr-test/2529 PASS
re-test minio TC after applying Tarun's comment: rhods-ci-pr-test/2531 PASS

@bdattoma bdattoma self-assigned this Feb 26, 2024
@bdattoma bdattoma added needs testing Needs to be tested in Jenkins new test New test(s) added (PR will be listed in release-notes) labels Feb 26, 2024
name: ods-ci-minio
spec:
containers:
- args:

Check warning

Code scanning / SonarCloud

CPU limits should be enforced

<!--SONAR_ISSUE_KEY:AY3mg2JV5j8f5LVwTkuE-->Specify a CPU limit for this container. <p>See more on <a href="https://sonarcloud.io/project/issues?id=red-hat-data-services_ods-ci&issues=AY3mg2JV5j8f5LVwTkuE&open=AY3mg2JV5j8f5LVwTkuE&pullRequest=1231">SonarCloud</a></p>
name: ods-ci-minio
spec:
containers:
- args:

Check warning

Code scanning / SonarCloud

Memory limits should be enforced

<!--SONAR_ISSUE_KEY:AY3mg2JV5j8f5LVwTkuF-->Specify a memory limit for this container. <p>See more on <a href="https://sonarcloud.io/project/issues?id=red-hat-data-services_ods-ci&issues=AY3mg2JV5j8f5LVwTkuF&open=AY3mg2JV5j8f5LVwTkuF&pullRequest=1231">SonarCloud</a></p>
labels:
app: minio
name: ods-ci-minio
spec:

Check warning

Code scanning / SonarCloud

Service account tokens should not be mounted in pods

<!--SONAR_ISSUE_KEY:AY3mg2JV5j8f5LVwTkuG-->Set automountServiceAccountToken to false for this specification of kind Pod. <p>See more on <a href="https://sonarcloud.io/project/issues?id=red-hat-data-services_ods-ci&issues=AY3mg2JV5j8f5LVwTkuG&open=AY3mg2JV5j8f5LVwTkuG&pullRequest=1231">SonarCloud</a></p>
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

Robocop found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@bdattoma bdattoma marked this pull request as draft February 26, 2024 17:43
Copy link
Contributor

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
425 0 0 425 100

@bdattoma bdattoma marked this pull request as ready for review February 27, 2024 12:28
@bdattoma bdattoma added verified This PR has been tested with Jenkins and removed needs testing Needs to be tested in Jenkins labels Feb 27, 2024
@bdattoma
Copy link
Contributor Author

bdattoma commented Feb 27, 2024

Quality Gate Failed Quality Gate failed

Failed conditions 1 Security Hotspot

See analysis details on SonarCloud

not related to this PR. It is a warning about using random generator, but it is fine for our use case cc: @lugi0

*** Keywords ***
Deploy MinIO
[Documentation] Deploys MiniIO pod, service and route using the given ${minio_image}
[Arguments] ${minio_image}=quay.io/modh/ods-ci-minio-models:1.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Use digest for the compatibility for disconnected cluster

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @bdattoma why do you deploy the Minio? In a disconencted env it is already available.
It is enough just to check test-variables.yaml

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will discuss offline

Copy link
Contributor

@lugi0 lugi0 left a comment

Choose a reason for hiding this comment

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

a couple comments but LGTM

Copy link

sonarcloud bot commented Feb 29, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@tarukumar tarukumar merged commit da97eb1 into red-hat-data-services:master Feb 29, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new test New test(s) added (PR will be listed in release-notes) verified This PR has been tested with Jenkins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants