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

Add opensearch-project-resource.yml #15

Merged
merged 2 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions .github/workflows/check-version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
- name: Check if version has been updated
id: check
uses: EndBug/version-check@v2
with:
diff-search: true

- name: Log when changed
if: steps.check.outputs.changed == 'true'
Expand Down
127 changes: 127 additions & 0 deletions configs/resources/opensearch-project-resource.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
---
organizations:
- name: opensearch-project
projects:
- name: 'OpenSearch Roadmap'
number: 206
fields:
- name: 'OpenSearch Roadmap'
repositories:
- name: opensearch-api-specification
- name: OpenSearch
- name: opensearch-build-libraries
- name: project-website
- name: security
- name: opensearch-spark
- name: OpenSearch-Dashboards
- name: data-prepper
- name: ml-commons
- name: opensearch-build
- name: k-NN
- name: documentation-website
- name: security-analytics-dashboards-plugin
- name: alerting
- name: dashboards-maps
- name: opensearch-learning-to-rank-base
- name: opensearch-java
- name: opensearch-dashboards-functional-test
- name: cross-cluster-replication
- name: opensearch-php
- name: opensearch-py
- name: dashboards-reporting
- name: alerting-dashboards-plugin
- name: notifications
- name: opensearch-hadoop
- name: opensearch-go
- name: automation-app
- name: dashboards-flow-framework
- name: anomaly-detection
- name: opensearch-testcontainers
- name: opensearch-migrations
- name: flow-framework
- name: security-analytics
- name: opensearch-cluster-cdk
- name: opensearch-net
- name: asynchronous-search
- name: neural-search
- name: dashboards-observability
- name: opensearch-js
- name: security-dashboards-plugin
- name: spring-data-opensearch
- name: foundation-website
- name: dashboards-assistant
- name: skills
- name: opensearch-sdk-java
- name: sql
- name: opensearch-sdk-py
- name: dashboards-search-relevance
- name: opentelemetry-demo
- name: oui
- name: query-insights
- name: custom-codecs
- name: user-behavior-insights
- name: project-meta
- name: ml-commons-dashboards
- name: opensearch-system-templates
- name: anomaly-detection-dashboards-plugin
- name: opensearch-benchmark-workloads
- name: common-utils
- name: sql-cli
- name: .github
- name: opensearch-benchmark
- name: dashboards-query-workbench
- name: dashboards-visualizations
- name: observability
- name: performance-analyzer
- name: dashboards-notifications
- name: reporting
- name: index-management-dashboards-plugin
- name: geospatial
- name: opensearch-plugins
- name: index-management
- name: project-tools
- name: skills-eval
- name: opensearch-metrics
- name: job-scheduler
- name: opensearch-k8s-operator
- name: terraform-provider-opensearch
- name: opensearch-devops
- name: helm-charts
- name: dashboards-anywhere
- name: ansible-playbook
- name: maps
- name: opensearch-ci
- name: query-insights-dashboards
- name: opensearch-catalog
- name: performance-analyzer-rca
- name: performance-analyzer-commons
- name: opensearch-clients
- name: reporting-cli
- name: opensearch-rs
- name: community
- name: opensearch-oci-object-storage
- name: opensearch-plugin-template-java
- name: opensearch-py-ml
- name: opensearch-ruby-aws-sigv4
- name: data-prepper-documentation-website
- name: search-processor
- name: logstash-input-opensearch
- name: logstash-output-opensearch
- name: opensearch-ruby
- name: project-website-search
- name: opensearch-cli
- name: oui-docs-cdk
- name: sql-odbc
- name: demos
- name: opensearch-research
- name: sql-jdbc
- name: traffic-comparator
- name: simple-schema
- name: dashboards-desktop
- name: perftop
- name: opensearch-dashboards-test-library
- name: dashboards-i18n
- name: opensearch-dashboards-sdk-js
- name: traffic-replayer
- name: ux
- name: piped-processing-language
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opensearch-automation-app",
"version": "0.1.1",
"version": "0.1.2",
"description": "An Automation App that handles all your GitHub Repository Activities",
"author": "Peter Zhu",
"homepage": "https://github.com/opensearch-project/automation-app",
Expand Down
2 changes: 1 addition & 1 deletion src/call/github-merged-pulls-monitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default async function githubMergedPullsMonitor(app: Probot, context: any
const [month, year] = [new Date().getMonth() + 1, new Date().getFullYear()].map((num) => String(num).padStart(2, '0'));

try {
await new OpensearchClient().bulkIndex(`github-pulls-ci-runs-checks-${month}-${year}`, logDataArray);
await new OpensearchClient().bulkIndex(`github-pulls-ci-workflow-runs-${month}-${year}`, logDataArray);
app.log.info('All log data indexed successfully.');
} catch (error) {
app.log.error(`Error indexing log data: ${error}`);
Expand Down
2 changes: 1 addition & 1 deletion test/call/github-merged-pulls-monitor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ describe('githubMergedPullsMonitor', () => {
ref: 'abcdef123456',
});
expect(mockBulkIndex).toHaveBeenCalledWith(
expect.stringMatching(/^github-pulls-ci-runs-checks-\d{2}-\d{4}$/),
expect.stringMatching(/^github-pulls-ci-workflow-runs-\d{2}-\d{4}$/),
expect.arrayContaining([
expect.objectContaining({
number: 123,
Expand Down
Loading