Feature/gradle implementation (#6)#310
Open
jimmyliang-gov wants to merge 20 commits into
Open
Conversation
* Added gradle util class for grabbing project version from gradle groovy build files. * Added generate-metadata for Gradle (groovy) * Changed GradleGroovyParser method name in tests. * work on gradle unit test step implemeter * change tests to use a relevant file * Added Gradle unit test functionality and unit test * Added functionalitly to Gradle unit test implementor. * Added functionality to gradle unit test step Implementor * Added functionality to gradle unit test implementor * Added adiontal gradle unit test functionality. * try app/build.gradle * fix build-file ref * try modifying init py * add to init py v2 * try init py with src * remove serc from gradle_test * update comment * update comment * try adding to shared step implementors * adding bulid-config * fix defaults for gradle-console-plain * remove extra comma * try just console * remove consle for now * add console plain * added debug statements to gradle unit test implementer * modified gradle unit test config pull * added additional debug messages for gradle unit test implemeter * Removed debug statements. changed test-report-dir config * Fixed bug with empty list showing warning in gralde unit test implemeter * added template/skeleton for gradle-deploy * adding the artifactoryPublish cmd * more psuedo code for gradle_deploy * add gradledeploy to init * add grade deploy to init for push * update file for gradle output * fix typo on run gradle step * fix typo in gradle step * adding print ln for artifactory user * fix typo * fixtypo * try printf again * printf * printf * update gradle deploy * update gradle.py and removing NonType test cases * update gradlepy * update gradlepy * update gradlepy * update gradlepy * update gradledeploy * update gradledeploy * update gradledeploy * update gradledeploy * update gradledeploy * update gradledeploy * update gradledeploy * update gradledeploy * update gradle deploy * update gradle deploy * fix to to use the password from the properties file at run time. * fixed a bug to call the read_and_replace_password * bug fix * bug fix for read_and_replace_password method * update gradle deploy to test gradle propeties * update gradle deploy * update gradle deploy * test gradle deploy * test gradle.deploy and .env * revert changes gradle.deploy * update gradle deploy * update gradle deploy * update gradle.deploy * update gradle.deploy * print all files * print files at Path * using currentDIr to read graddle properties * using momot svc account * trying hpib token * try build.gradle file * try artifactory password again * print current path files * get app folder * current path /app * new way for app * get build path * try test build * change to gradle build * removing commented code * Feature/gradle implementation (#3) * feat: Gradle PSR support --------- Co-authored-by: Christopher Mason <cmason@redhat.com> Co-authored-by: Jimmy Liang <jimmy.liang_sc@sparksoftcorp.com> Co-authored-by: MJDP <aleem.malik@sparksoftcorp.com> * Feature/gradle implementation (#4) * feat: Gradle PSR support --------- Co-authored-by: Christopher Mason <cmason@redhat.com> Co-authored-by: Nicholas Siviglia <nicholas.siviglia_sc@sparksoftcorp.com> Co-authored-by: Jimmy Liang <jimmy.liang_sc@sparksoftcorp.com> Co-authored-by: Jay Pithadia <jay.pithadia@sparksoftcorp.com> Co-authored-by: Syed Ajaz Hussain <syedajaz.hussain@cms.hhs.gov> Co-authored-by: MJDP <aleem.malik@sparksoftcorp.com> * fix lint errors * revert changes to test_sops file * fix typo for StepResult * fix indentation error in test_sops * fix linting issues * remove duplicate * chore: Fixed linting issue to pass CI * chore: fixed test cases for gradle --------- Co-authored-by: Nicholas Siviglia <nicholas.siviglia_sc@sparksoftcorp.com> Co-authored-by: Jay Pithadia <jay.pithadia@sparksoftcorp.com> Co-authored-by: Syed Ajaz Hussain <syedajaz.hussain@cms.hhs.gov> Co-authored-by: aleemmalik-gov <aleemmalikaws@gmail.com> Co-authored-by: Christopher Mason <cmason@redhat.com> Co-authored-by: MJDP <aleem.malik@sparksoftcorp.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #310 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 106 113 +7
Lines 4318 4721 +403
==========================================
+ Hits 4318 4721 +403
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
@jimmyliang-gov let me know when you are ready for review and merge and I will do so. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Implement step runners to implement the Gradle build tool. This is used for apps that are built and deployed with Gradle as opposed to Maven.
Breaking?
No
However - the Gradle image needs to be merged as well to have the Gradle PSR work.
Integration Testing
Built and deployed on a local devsecops Jenkins pipeline.