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

Allow manifest templates to include all the contents while changing version and ref based on core branch properties #4271

Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 30 additions & 2 deletions manifests/templates/opensearch-dashboards/1.x/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,39 @@
schema-version: '1.0'
build:
name: OpenSearch Dashboards
version: 'replace'
version: version_replace
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-centos7-opensearch-dashboards-build-v4
components:
- name: OpenSearch-Dashboards
repository: https://github.com/opensearch-project/OpenSearch-Dashboards.git
ref: main
ref: ref_replace
- name: anomalyDetectionDashboards
repository: https://github.com/opensearch-project/anomaly-detection-dashboards-plugin
ref: ref_replace
- name: functionalTestDashboards
repository: https://github.com/opensearch-project/opensearch-dashboards-functional-test.git
ref: ref_replace
- name: ganttChartDashboards
repository: https://github.com/opensearch-project/dashboards-visualizations.git
working_directory: gantt-chart
ref: ref_replace
- name: observabilityDashboards
repository: https://github.com/opensearch-project/dashboards-observability.git
ref: ref_replace
- name: alertingDashboards
repository: https://github.com/opensearch-project/alerting-dashboards-plugin.git
ref: ref_replace
- name: indexManagementDashboards
repository: https://github.com/opensearch-project/index-management-dashboards-plugin.git
ref: ref_replace
- name: reportsDashboards
repository: https://github.com/opensearch-project/dashboards-reporting.git
ref: ref_replace
- name: securityDashboards
repository: https://github.com/opensearch-project/security-dashboards-plugin.git
ref: ref_replace
- name: queryWorkbenchDashboards
repository: https://github.com/opensearch-project/dashboards-query-workbench.git
ref: ref_replace
49 changes: 45 additions & 4 deletions manifests/templates/opensearch-dashboards/2.x/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,54 @@
schema-version: '1.0'
build:
name: OpenSearch Dashboards
version: 'replace'
version: version_replace
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-rockylinux8-opensearch-dashboards-build-v1
components:
- name: OpenSearch-Dashboards
repository: https://github.com/opensearch-project/OpenSearch-Dashboards.git
ref: main
checks:
- npm:package:version
ref: ref_replace
- name: functionalTestDashboards
repository: https://github.com/opensearch-project/opensearch-dashboards-functional-test.git
ref: ref_replace
- name: observabilityDashboards
repository: https://github.com/opensearch-project/dashboards-observability.git
ref: ref_replace
- name: reportsDashboards
repository: https://github.com/opensearch-project/dashboards-reporting.git
ref: ref_replace
- name: ganttChartDashboards
repository: https://github.com/opensearch-project/dashboards-visualizations.git
working_directory: gantt-chart
ref: ref_replace
- name: queryWorkbenchDashboards
repository: https://github.com/opensearch-project/dashboards-query-workbench.git
ref: ref_replace
- name: customImportMapDashboards
repository: https://github.com/opensearch-project/dashboards-maps.git
ref: ref_replace
- name: anomalyDetectionDashboards
repository: https://github.com/opensearch-project/anomaly-detection-dashboards-plugin.git
ref: ref_replace
- name: mlCommonsDashboards
repository: https://github.com/opensearch-project/ml-commons-dashboards.git
ref: ref_replace
- name: indexManagementDashboards
repository: https://github.com/opensearch-project/index-management-dashboards-plugin.git
ref: ref_replace
- name: notificationsDashboards
repository: https://github.com/opensearch-project/dashboards-notifications.git
ref: ref_replace
- name: alertingDashboards
repository: https://github.com/opensearch-project/alerting-dashboards-plugin.git
ref: ref_replace
- name: securityAnalyticsDashboards
repository: https://github.com/opensearch-project/security-analytics-dashboards-plugin.git
ref: ref_replace
- name: securityDashboards
repository: https://github.com/opensearch-project/security-dashboards-plugin.git
ref: ref_replace
- name: searchRelevanceDashboards
repository: https://github.com/opensearch-project/dashboards-search-relevance.git
ref: ref_replace
47 changes: 45 additions & 2 deletions manifests/templates/opensearch-dashboards/3.x/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,54 @@
schema-version: '1.0'
build:
name: OpenSearch Dashboards
version: 'replace'
version: version_replace
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-rockylinux8-opensearch-dashboards-build-v1
components:
- name: OpenSearch-Dashboards
repository: https://github.com/opensearch-project/OpenSearch-Dashboards.git
ref: main
ref: ref_replace
- name: functionalTestDashboards
repository: https://github.com/opensearch-project/opensearch-dashboards-functional-test.git
ref: ref_replace
- name: reportsDashboards
repository: https://github.com/opensearch-project/dashboards-reporting.git
ref: ref_replace
- name: securityDashboards
repository: https://github.com/opensearch-project/security-dashboards-plugin.git
ref: ref_replace
- name: queryWorkbenchDashboards
repository: https://github.com/opensearch-project/dashboards-query-workbench.git
ref: ref_replace
- name: searchRelevanceDashboards
repository: https://github.com/opensearch-project/dashboards-search-relevance.git
ref: ref_replace
- name: observabilityDashboards
repository: https://github.com/opensearch-project/dashboards-observability.git
ref: ref_replace
- name: ganttChartDashboards
repository: https://github.com/opensearch-project/dashboards-visualizations.git
working_directory: gantt-chart
ref: ref_replace
- name: notificationsDashboards
repository: https://github.com/opensearch-project/dashboards-notifications.git
ref: ref_replace
- name: customImportMapDashboards
repository: https://github.com/opensearch-project/dashboards-maps.git
ref: ref_replace
- name: anomalyDetectionDashboards
repository: https://github.com/opensearch-project/anomaly-detection-dashboards-plugin.git
ref: ref_replace
- name: mlCommonsDashboards
repository: https://github.com/opensearch-project/ml-commons-dashboards.git
ref: ref_replace
- name: indexManagementDashboards
repository: https://github.com/opensearch-project/index-management-dashboards-plugin.git
ref: ref_replace
- name: alertingDashboards
repository: https://github.com/opensearch-project/alerting-dashboards-plugin.git
ref: ref_replace
- name: securityAnalyticsDashboards
repository: https://github.com/opensearch-project/security-analytics-dashboards-plugin.git
ref: ref_replace
49 changes: 45 additions & 4 deletions manifests/templates/opensearch-dashboards/default/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,54 @@
schema-version: '1.0'
build:
name: OpenSearch Dashboards
version: 'replace'
version: version_replace
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-rockylinux8-opensearch-dashboards-build-v1
components:
- name: OpenSearch-Dashboards
repository: https://github.com/opensearch-project/OpenSearch-Dashboards.git
ref: main
checks:
- npm:package:version
ref: ref_replace
- name: functionalTestDashboards
repository: https://github.com/opensearch-project/opensearch-dashboards-functional-test.git
ref: ref_replace
- name: reportsDashboards
repository: https://github.com/opensearch-project/dashboards-reporting.git
ref: ref_replace
- name: securityDashboards
repository: https://github.com/opensearch-project/security-dashboards-plugin.git
ref: ref_replace
- name: queryWorkbenchDashboards
repository: https://github.com/opensearch-project/dashboards-query-workbench.git
ref: ref_replace
- name: searchRelevanceDashboards
repository: https://github.com/opensearch-project/dashboards-search-relevance.git
ref: ref_replace
- name: observabilityDashboards
repository: https://github.com/opensearch-project/dashboards-observability.git
ref: ref_replace
- name: ganttChartDashboards
repository: https://github.com/opensearch-project/dashboards-visualizations.git
working_directory: gantt-chart
ref: ref_replace
- name: notificationsDashboards
repository: https://github.com/opensearch-project/dashboards-notifications.git
ref: ref_replace
- name: customImportMapDashboards
repository: https://github.com/opensearch-project/dashboards-maps.git
ref: ref_replace
- name: anomalyDetectionDashboards
repository: https://github.com/opensearch-project/anomaly-detection-dashboards-plugin.git
ref: ref_replace
- name: mlCommonsDashboards
repository: https://github.com/opensearch-project/ml-commons-dashboards.git
ref: ref_replace
- name: indexManagementDashboards
repository: https://github.com/opensearch-project/index-management-dashboards-plugin.git
ref: ref_replace
- name: alertingDashboards
repository: https://github.com/opensearch-project/alerting-dashboards-plugin.git
ref: ref_replace
- name: securityAnalyticsDashboards
repository: https://github.com/opensearch-project/security-analytics-dashboards-plugin.git
ref: ref_replace
129 changes: 127 additions & 2 deletions manifests/templates/opensearch/1.x/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,140 @@
schema-version: '1.0'
build:
name: OpenSearch
version: 'replace'
version: version_replace
ci:
image:
name: opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3
args: -e JAVA_HOME=/opt/java/openjdk-11
components:
- name: OpenSearch
repository: https://github.com/opensearch-project/OpenSearch.git
ref: main
ref: ref_replace
checks:
- gradle:publish
- gradle:properties:version
- name: common-utils
repository: https://github.com/opensearch-project/common-utils.git
ref: ref_replace
checks:
- gradle:publish
- gradle:properties:version
platforms:
- linux
- windows
- name: job-scheduler
repository: https://github.com/opensearch-project/job-scheduler.git
ref: ref_replace
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
platforms:
- linux
- windows
- name: alerting
repository: https://github.com/opensearch-project/alerting.git
ref: ref_replace
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version: alerting
platforms:
- linux
- windows
- name: security
repository: https://github.com/opensearch-project/security.git
ref: ref_replace
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
platforms:
- linux
- windows
- name: opensearch-reports
repository: https://github.com/opensearch-project/reporting.git
ref: ref_replace
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
platforms:
- linux
- windows
- name: cross-cluster-replication
repository: https://github.com/opensearch-project/cross-cluster-replication.git
ref: ref_replace
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
platforms:
- linux
- windows
- name: ml-commons
repository: https://github.com/opensearch-project/ml-commons.git
ref: ref_replace
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version: opensearch-ml-plugin
platforms:
- linux
- windows
- name: sql
repository: https://github.com/opensearch-project/sql.git
ref: ref_replace
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version: plugin
platforms:
- linux
- windows
- name: k-NN
repository: https://github.com/opensearch-project/k-NN.git
ref: ref_replace
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
platforms:
- linux
- windows
- name: opensearch-observability
repository: https://github.com/opensearch-project/observability.git
ref: ref_replace
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
platforms:
- linux
- windows
- name: index-management
repository: https://github.com/opensearch-project/index-management.git
ref: ref_replace
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
platforms:
- linux
- windows
- name: performance-analyzer
repository: https://github.com/opensearch-project/performance-analyzer.git
ref: ref_replace
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
platforms:
- linux
- name: anomaly-detection
repository: https://github.com/opensearch-project/anomaly-detection.git
ref: ref_replace
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
platforms:
- linux
- windows
- name: asynchronous-search
repository: https://github.com/opensearch-project/asynchronous-search.git
ref: ref_replace
checks:
- gradle:properties:version
- gradle:dependencies:opensearch.version
platforms:
- linux
- windows
Loading