Commit Graph
28 Commits
Author SHA1 Message Date
Vinod Sridharan e3c7e3c71f Merged PR 1564344: [OSS] Add validation scripts into the OSS set up as well
### Does this PR have any customer impact?
No
### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)
Infra
### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)
No
### Are you introducing any new config? If yes, do you have tests with and without them being set?
No
### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description
We have validation scripts we run internally. Run a subset of them on OSS

----
#### AI description  (iteration 1)
#### PR Classification
New feature

#### PR Summary
This pull request adds validation scripts to the OSS setup to ensure code quality and consistency.
- Added `oss/scripts/validate_extension_file_state.sh` to validate no Citus references and check SQL file versions.
- Updated `/.pipelines/templates/oss_documentdb_build.yml` to include the new validation script in the build process.
- Modified `/oss/.github/workflows/regress_tests.yml` to run the new validation script during regression tests.
- Updated messages in `oss/scripts/validate_headers.sh` for clarity.
2025-01-30 10:35:08 -08:00
Shuai Tian b42a46e5f4 cleanup and renaming helio (#7) 2025-01-22 22:26:11 -08:00
Shuai Tian b16399b1af Merged PR 1555841: [OSS] fix regress sql test workflow
[OSS] fix regress sql test workflow

----
Bug fix for the SQL test workflow.
This pull request fixes the regression in the SQL test workflow by updating the GitHub Actions configuration and related scripts.
- Updated `.github/workflows/regress_tests.yml` to improve the build matrix, install dependencies, and run tests for multiple PostgreSQL versions and Ubuntu versions.
- Modified `scripts/start_oss_server.sh` to correct the help message and default directory.
- Minor cleanup in `scripts/install_setup_pg_cron.sh` to remove an unnecessary blank line.
2025-01-22 22:24:35 -08:00
Siddhesh Vethe 361c56bd92 Revert "Documentdb sync 2025-01-23 (#6)" (#9)
This reverts commit 451119c809.
2025-01-22 22:21:30 -08:00
451119c809 Documentdb sync 2025-01-23 (#6)
* Merged PR 1557887: Change error file mapping name

### Does this PR have any customer impact?
No
### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)
Refactor
### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)
No
### Are you introducing any new config? If yes, do you have tests with and without them being set?
No
### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description
Rename error file mapping

----
#### AI description  (iteration 1)
#### PR Classification
Code cleanup

#### PR Summary
This pull request updates the name of the error mapping file and adjusts references accordingly.
- `Makefile`: Updated references from `mongoerrors.csv` to `error_mappings.csv`.
- `docs/pgmongo/design_docs/data_plane/backend_common/error_management.md`: Updated documentation to reflect the new file name.
- `src/utils/documentdb_conversion_codes.c`: Updated comment to reference the new file name.
- Moved `oss/mongoerrors.csv` to `oss/error_mappings.csv` without code changes.

* Merged PR 1555452: [OSS] Enable distributed tests in documentdb

### Does this PR have any customer impact?
No
### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)
Refactoring
### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)
No
### Are you introducing any new config? If yes, do you have tests with and without them being set?
No
### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description

Enable distributed tests in documentdb, and clean up helio references from documentdb_distributed
Add substitution to make pg_helio_distributed tests work
Add substitution to make pgmongo/helio_compat tests work
Move udfs bson_aggregation_redact to documentdb

----
#### AI description  (iteration 1)
#### PR Classification
New feature

#### PR Summary
This pull request enables distributed tests in DocumentDB by adding a new set of regression tests for BSON aggregation comparison operators.
- Added `bson_aggregation_comparison_operators_tests.out` with extensive test cases for BSON comparison operators (`$cmp`, `$eq`, `$ne`, `$gt`, `$gte`, `$lt`, `$lte`).

* Merged PR 1555841: [OSS] fix regress sql test workflow

[OSS] fix regress sql test workflow

----
Bug fix for the SQL test workflow.
This pull request fixes the regression in the SQL test workflow by updating the GitHub Actions configuration and related scripts.
- Updated `.github/workflows/regress_tests.yml` to improve the build matrix, install dependencies, and run tests for multiple PostgreSQL versions and Ubuntu versions.
- Modified `scripts/start_oss_server.sh` to correct the help message and default directory.
- Minor cleanup in `scripts/install_setup_pg_cron.sh` to remove an unnecessary blank line.

---------

Co-authored-by: Vinod Sridharan <visridha@microsoft.com>
Co-authored-by: Zinan Ren <zinanren@microsoft.com>
2025-01-22 22:20:31 -08:00
Murat Tuncer 1147fb8042 Fix sql test make check run (#67)
Started running regression tests for multiple ubuntu and pg versions
tested os: ubuntu20.04, ubuntu22.04
tested pg : 15, 16

it revealed a test failure at pg_helio_distributed extension tests,
should be fixed soon
2024-10-04 19:32:05 +03:00
Murat Tuncer 609da18acb Update regression test defines 2024-09-05 18:18:23 +03:00
Murat Tuncer dd76765703 Add python to codeql checks (#54) 2024-09-05 09:36:42 +03:00
Murat Tuncer aea74d4beb Fix codeql workflow failures (#53)
new package dependencies are added to fix build failure
codeql api version is bumped to v3 due to planned deprecation of v2
2024-09-04 08:35:38 +03:00
Murat Tuncer 6b6a10e03e Add new lib dependencies and fix build breaks 2024-08-26 13:12:13 +03:00
Murat Tuncer 3c3d57e6ab switch to PG16 2024-08-16 18:24:09 +03:00
gledis69 7e95cf5232 Redo the dependecy install 2024-08-16 18:24:09 +03:00
gledis69 caf2fe2899 Add libbson install back 2024-08-16 18:24:09 +03:00
gledis69 b3f6ba96ed Elevate all the install permissions 2024-08-16 18:24:09 +03:00
gledis69 0295952ce9 Give elevated premissions to pcre2 install 2024-08-16 18:24:09 +03:00
gledis69 c8d6c53993 Try without mongo-c-driver 2024-08-16 18:24:09 +03:00
gledis69 0551c58e7e Fix install step 2024-08-16 18:24:09 +03:00
gledis69 c848e1ddc2 Print intall_setup contents 2024-08-16 18:24:09 +03:00
gledis69 e9ef818084 Test installing without sudo 2024-08-16 18:24:09 +03:00
gledis69 a072014215 Switch up install order 2024-08-16 18:24:09 +03:00
gledis69 bf5fa8a4cb Split the script steps in order to find where the issue is 2024-08-16 18:24:09 +03:00
gledis69 06e0c08826 Add debug step 2024-08-16 18:24:09 +03:00
gledis69 c26840d9b0 Try making sudo non interactive for the scripts 2024-08-16 18:24:09 +03:00
gledis69 59bed7d6d9 Try specifying shell 2024-08-16 18:24:09 +03:00
gledis69 285ad323bf Fix workflow syntax 2024-08-16 18:24:09 +03:00
gledis69 d63eb10749 Run sql tests without caching container 2024-08-16 18:24:09 +03:00
Murat Tuncer 8d9bef2a79 Create codeql.yml 2024-03-14 13:51:15 +03:00
Santiago Fernandez Madero ca7fe5ea32 Merged PR 1265227: Add container build and test github action to heliodb
Tested on my own fork: https://github.com/safern/heliodb/actions
2024-02-07 23:20:07 +03:00