summaryrefslogtreecommitdiffstats
path: root/shell
AgeCommit message (Collapse)AuthorFilesLines
2019-08-01Add more attempts to submits Coverity Scan resultsArtem Naluzhnyy1-12/+33
Since the build process takes a lot of time and resources on our Jenkins executors it had better try to resubmit our results to Coverity Scan server if it replies with non-200 HTTP response. Issue-ID: CIMAN-260 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: I8fd24d9f4f6181ff6e0817914ac649a140706b7e
2019-07-01Add static code analysis support for JavaScript/Python/Ruby/PHP.Artem Naluzhnyy1-1/+21
Two JJB project parameters have been introduced: * 'coverity-search-paths' - space separated list of paths that contain source code to analyse; * 'coverity-search-exclude-regexs' - space separated list of file name regexps to exclude from analysis. Example: project: name: 'sdc-coverity' jobs: - onap-gerrit-maven-coverity ... coverity-search-paths: 'catalog-ui/src/ openecomp-ui/src/ dox-sequence-diagram-ui/src' coverity-search-exclude-regexs: '/node_modules/' Issue-ID: CIMAN-260 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: I8050a75a731c893ec2173f66d2e881fcc0877ed0
2019-06-27Archive Coverity analysed files list to the logs serverArtem Naluzhnyy1-0/+10
The list is stored in "cov-int/coverity-scan-analysed-files.log". Issue-ID: CIMAN-260 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: Id27cb466977e0bd11e004fd819f66697ca16c26b
2019-06-12Validate downloaded Coverity tool checksumArtem Naluzhnyy1-0/+14
Issue-ID: CIMAN-260 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: I73dae5c4c5bd3dd73957809b4265009b529ebca0
2019-06-12Check Coverity service API usage quotaArtem Naluzhnyy1-0/+25
Check if we are allowed to submit results to Coverity Scan service and have not exceeded our upload quota limits. See also: https://scan.coverity.com/faq#frequency Issue-ID: CIMAN-260 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: I71479cfdd8403e717e6c807a8afb5aadad25fdde
2019-06-10Add JJB template for static code analysis by Coverity Scan serviceArtem Naluzhnyy1-0/+97
"onap-gerrit-maven-coverity" JJB template runs 'mvn clean install' and then publishes results to Coverity Scan service for static code analysis. Usage example: - project: name: so-coverity jobs: - onap-gerrit-maven-coverity cron: '@daily' build-node: 'ubuntu1604-builder-4c-4g' project: 'so' project-name: 'so' branch: 'master' mvn-settings: 'so-settings' mvn-goals: 'clean install' mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' mvn-params: '-Dmaven.test.skip=true' coverity-project-name: 'onap-so' coverity-token: 'PUT COVERITY TOKEN HERE' coverity-user-email: 'PUT USER EMAIL HERE' Issue-ID: CIMAN-260 Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com> Change-Id: I6f4fa6359b5be91932c5a1a1ed7ba0a4068ac152
2019-04-17Add external verify job for HELMJessica Wagantall1-0/+18
This new verify job will: - Apply to code transfered outside OOM repo into the tech team's repos. - Get triggered by any submitted changes in <component>/oom repos. - Apply the change in oom/kubernetes/<component> - Run a helm verify Change-Id: I4bd60f946351623583589d7689343fbfc826237a Issue-ID: CIMAN-250 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-11-28Add branch name for nexus helm chartsJeremy Phelps1-5/+5
Issue-ID: CIMAN-223 Change-Id: Ieeaf53ef868ee60f30427d6bce6a7d44a5c4d9fd Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2018-08-23Add helm-chart publishing scriptJeremy Phelps1-0/+32
Issue-ID: CIMAN-164 Change-Id: Iae6f765c2f8a7953a308f2ce81e79e4f633a1a2e Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2018-08-09Instantiate helm jobsJeremy Phelps1-0/+9
Issue-ID: CIMAN-164 Change-Id: I020e408c98af2b5ed3f50661f70b7fe2b2912199 Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2018-05-16Store staging and snapshot artifict in same repoDenes Nemeth1-3/+3
ONAP community is not using the a separate repo for storing snapshot and staging artifacts. The change parameterises the docker build to be able to separately control the target repository and the build artifact type (snapshot / staging). It will also store the staging and snapshots in the same repo (10003). Change-Id: I505023a7cdab90fa8ecfeb540f6306f0e19c3d6d Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com> Issue-ID: VFC-728
2018-05-15Tag docker images with latest tag tooDenes Nemeth2-5/+13
Change-Id: Ic9c47ab3792db1cd52f2a11d94d2d4414aef507b Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com> Issue-ID: VFC-728
2018-04-26Fix Pypi script Python versionJessica Wagantall2-2/+2
Fix Pypi build and publish scripts to run virtualenv with the correct PYTHON_VERSION specified in the job templates. Change-Id: I71f61775380ae56c204854ddde254b467e5e16f3 Issue-ID: Issue-ID: CIMAN-137 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-04-03Fix quotes in shell scriptJessica Wagantall1-3/+3
Global variables defined in Jenkins need double quotes to be translated properly in the case section. Change-Id: Ida76cd90314ef59f24013f7da80a2b5364fc9480 Issue-ID: CIMAN-132 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-04-03Fix IMAGE_VERSION variableJessica Wagantall1-1/+1
Fix typo on variable used to extract the IMAGE_VERSION number Change-Id: I91d48836d697c90398a788769d16750f468de917 Issue-ID: CIMAN-132 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-04-03Add global docker jobsJessica Wagantall3-0/+46
Add global build and push jobs for docker images Set proper docker tag convention for snapshot and staging binaries. Change-Id: I0e805b5c9eebac6aaea627d855d7b542158b6a0f Issue-ID: CIMAN-132 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2018-03-09Configure PyPI releasesVanessa Rene Valderrama3-0/+37
This changes adds the following functionality for PyPI releases - macros - A PyPI server macro - scripts - A script to build artifacts - A script to publish artifacts - templates - Templates for release - jobs - Jobs for release - Nexus3 staging - Nexus3 release - PyPI index will be added at a later date Issue-ID: CIMAN-137 Change-Id: I53522ed2fa2f462afebaac94c44fa2a9979e9c2a Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>