-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'opensearch-project:main' into validation
- Loading branch information
Showing
147 changed files
with
3,727 additions
and
701 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,3 @@ coverage: | |
ignore: | ||
- '**/tests/*.py' | ||
- '**/test/*.js' | ||
- '**/test/*.ts' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
name: On-board plugins | ||
description: On-board plugins | ||
title: '[On-boarding]: ' | ||
labels: [on-boarding, untriaged] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to submit on-boarding request! | ||
- type: textarea | ||
attributes: | ||
description: 'Provide the name link of your plugin' | ||
label: 'What is the name of your plugin?' | ||
id: plugin-name | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
description: 'Provide the GitHub link for your repository' | ||
label: 'What is the link to your GitHub repo?' | ||
id: Github-link | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
description: 'What is the targeted OpenSearch release version for this plugin?' | ||
label: 'Targeted release version' | ||
id: expected-release-version | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
description: 'Is this OpenSearch, OpenSearch-dashboards plugin?' | ||
label: 'What type of the plugin are we on-boarding?' | ||
id: Type | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
description: 'Does this plugin have necessary scripts to invoke integration and BWC tests?' | ||
label: 'Does this plugin has all the necessary automated tests?' | ||
id: tests | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
description: 'Confirm that all the necessary reviews for this component has been completed.' | ||
label: 'Have you completed the required reviews including Security reviews, UX reviews?' | ||
id: reviews | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
description: 'Do we need to enable any automated CVE scanning on this repo?' | ||
label: 'Have you on-boarded automated security scanning for the GitHub repo associated with this plugin?' | ||
id: repo-scanning | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
description: 'Add any additional context along with contact details for this component here.' | ||
label: 'Additional context' | ||
id: additional-context |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
--- | ||
name: Release standalone components | ||
description: Standalone components release template | ||
title: '[release]: ' | ||
labels: [release, untriaged] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to submit release request! | ||
- | ||
attributes: | ||
description: 'Provide the name of your component' | ||
label: 'What is the name of your component?' | ||
id: component-name | ||
type: textarea | ||
validations: | ||
required: true | ||
- | ||
attributes: | ||
description: 'Provide the GitHub link for your repository' | ||
label: 'What is the link to your GitHub repo?' | ||
id: Github-link | ||
type: textarea | ||
validations: | ||
required: true | ||
- | ||
attributes: | ||
description: 'What is the targeted date for the release?' | ||
label: 'Targeted release date' | ||
id: expected-release-date | ||
type: textarea | ||
validations: | ||
required: true | ||
- | ||
attributes: | ||
description: 'Does this component need to be published to specific distribution channel(s) like pypi, npm, Docker etc..?' | ||
label: 'Where should we publish this component?' | ||
id: Type | ||
type: textarea | ||
validations: | ||
required: true | ||
- | ||
attributes: | ||
description: 'Please list the aftifact types along with any other additional information related to generated artifacts?' | ||
label: 'What type of artifact(s) will be generated for this component?' | ||
id: tests | ||
type: textarea | ||
validations: | ||
required: true | ||
- | ||
attributes: | ||
description: 'Confirm that all the necessary reviews for this component has been completed.' | ||
label: 'Have you completed the required reviews including security reviews, UX reviews?' | ||
id: reviews | ||
type: textarea | ||
validations: | ||
required: true | ||
- | ||
attributes: | ||
description: 'Do we need to enable any automated CVE scanning on this repo?' | ||
label: 'Have you on-boarded automated security scanning for the GitHub repo associated with this component?' | ||
id: repo-scanning | ||
type: textarea | ||
validations: | ||
required: true | ||
- | ||
attributes: | ||
description: 'Add any additional context along with contact details for this component here.' | ||
label: 'Additional context' | ||
id: additional-context | ||
type: textarea |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -276,7 +276,29 @@ Each jenkins library should have a test case associated with it. Eg: [TestSignAr | |
- Jenkins' library test should extend [BuildPipelineTest.groovy](tests/jenkins/BuildPipelineTest.groovy) | ||
- Create a dummy job such as [Hello_Jenkinsfile](tests/jenkins/jobs/Hello_Jenkinsfile) to call and test the function | ||
and output [Hello_Jenkinsfile.txt](tests/jenkins/jobs/Hello_Jenkinsfile.txt) | ||
- If using remote libs from [opensearch-build-libraries](https://github.com/opensearch-project/opensearch-build-libraries) repository with tag (ex: 1.0.0), make sure | ||
both the Jenkins Test file as well as the Jenkins Job file are overriding the libs version with the same tag (ex: 1.0.0), or Jacoco test will fail to generate reports. | ||
This would happen if defaultVersion in BuildPipelineTest.groovy (default to 'main') have a different HEAD commit id compares to tag commit id you defined to use. | ||
``` | ||
super.setUp() | ||
...... | ||
helper.registerSharedLibrary( | ||
library().name('jenkins') | ||
.defaultVersion('1.0.0') | ||
.allowOverride(true) | ||
.implicit(true) | ||
.targetPath('vars') | ||
.retriever(gitSource('https://github.com/opensearch-project/opensearch-build-libraries.git')) | ||
.build() | ||
) | ||
``` | ||
|
||
``` | ||
lib = library(identifier: '[email protected]', retriever: modernSCM([ | ||
$class: 'GitSCMSource', | ||
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', | ||
])) | ||
``` | ||
|
||
#### Testing in Jenkins | ||
* [Build_OpenSearch_Dashboards_Jenkinsfile](tests/jenkins/jobs/Build_OpenSearch_Dashboards_Jenkinsfile): is similar to [OpenSearch Dashboards Jenkinsfile](jenkins/opensearch-dashboards/Jenkinsfile) w/o notifications. | ||
|
This file contains 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
File renamed without changes.
Oops, something went wrong.