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

METplus-Internal_39 SonarQube scanning #101

Merged
merged 35 commits into from
Aug 2, 2022

Conversation

hsoh-u
Copy link

@hsoh-u hsoh-u commented Jul 29, 2022

Pull Request Testing

  • Describe testing already performed for these changes:

It's configured to scan the code nightly at seneca under met_test account by cron.

  • Clone the develop branch from the github repository
  • Scan python scripts
  • Send the scanning result to mandan where SonarQube server is running

The scanning result is viewable by web browser at http://mandam:9090. The user name and password exist at sonar-project.properties

  • Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:

    • login to seneca
    • login as met_test (runas met_test) or modify internal_tests/scanning/sonarqube/development.seneca after cloning
    • clone from github
    • run following command
   ./internal_tests/scanning/sonarqube/run_nightly.sh develop
  • Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [No]

  • Do these changes include sufficient testing updates? [No]

  • Will this PR result in changes to the test suite? [No]

    If yes, describe the new output and/or changes to the existing output:

  • Please complete this pull request review by [Fill in date].

Pull Request Checklist

See the METplus Workflow for details.

  • Review the source issue metadata (required labels, projects, and milestone).
  • Complete the PR definition above.
  • Ensure the PR title matches the feature or bugfix branch name.
  • Define the PR metadata, as permissions allow.
    Select: Reviewer(s)
    Select: Organization level software support Project or Repository level development cycle Project
    Select: Milestone as the version that will include these changes
  • After submitting the PR, select Linked issues with the original issue number.
  • After the PR is approved, merge your changes. If permissions do not allow this, request that the reviewer do the merge.
  • Close the linked issue and delete your feature or bugfix branch from GitHub.

bikegeek and others added 30 commits March 11, 2022 12:24
done with 1.1.0 release update for next release
Fix reading of data for Python 3.8, branch Feature 85 fix read, Issue 85
Feature 84 docker centos7 - change from centos8
Feature 90 User has a database without a password
update to dev for beta2
@hsoh-u hsoh-u requested a review from fisherhucar July 29, 2022 22:25
@hsoh-u hsoh-u changed the title METplus-Internal_39 SonarQube scaaning METplus-Internal_39 SonarQube scanning Jul 29, 2022
@bikegeek bikegeek self-requested a review August 2, 2022 21:58
@bikegeek
Copy link
Collaborator

bikegeek commented Aug 2, 2022

The Github actions test for compare two databases has been consistently failing prior to this work. I've asked Venita about this but I'm going to approve this PR because the sonarqube scanning is working.

Copy link
Collaborator

@bikegeek bikegeek left a comment

Choose a reason for hiding this comment

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

Successfully ran the scan and viewed the dashboard. METdataio sonarqube passes. The Github Actions test: compare two databases has been failing on earlier pushes for other branches. I'm approving this because it appears that these changes are not responsible for the database tests failing.

@bikegeek bikegeek merged commit f9db866 into main_v1.1 Aug 2, 2022
@venitahagerty venitahagerty deleted the feature_METplus-Internal_39_sonarqube branch August 23, 2022 17:48
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.

None yet

5 participants