Alexey Masterov
3392122824
Create a patch in order to fix problems running without superuser privileges
2025-05-05 13:41:21 +02:00
Alexey Masterov
a594cfa1e2
Add a script to run as a regular user
2025-04-29 08:56:55 +02:00
Alexey Masterov
35d58a92ab
Use patch instead of sed
2025-04-28 13:59:33 +02:00
Alexey Masterov
eb30bd4799
Change the timeout
2025-04-28 13:50:05 +02:00
Alexey Masterov
a82dcbbcc8
Fix the problem with the trap in the script
2025-04-28 10:01:01 +02:00
Alexey Masterov
24ccfd89ab
do not remove computed_columns on v16
2025-04-28 08:00:55 +02:00
Alexey Masterov
968c87ccac
fix the errors
2025-04-25 15:59:57 +02:00
Alexey Masterov
756f833269
Merge branch 'refs/heads/amasterov/cloud-extensions-test' into amasterov/add-postgis-test-2
...
# Conflicts:
# docker-compose/docker_compose_test.sh
2025-04-25 14:06:51 +02:00
Alexey Masterov
0eee26a083
Do not use TTY
2025-04-25 14:04:48 +02:00
Alexey Masterov
c8d8dfc765
Merge branch 'refs/heads/main' into amasterov/cloud-extensions-test
...
# Conflicts:
# docker-compose/docker_compose_test.sh
2025-04-25 12:09:21 +02:00
a-masterov
992aa91075
Refresh the codestyle of docker compose test script ( #11715 )
...
## Problem
The docker compose test script (`docker_compose_test.sh`) had
inconsistent codestyle, mixing legacy syntax with modern approaches and
not following best practices at all. This inconsistency could lead to
potential issues with variable expansion, path handling, and
maintainability.
## Summary of changes
This PR modernizes the test script with several codestyle improvements:
* Variable scoping and exports:
* Added proper export declarations for environment variables
* Added explicit COMPOSE_PROFILES export to avoid repetitive flags
* Modern Bash syntax:
* Replaced [ ] with [[ ]] for safer conditional testing
* Used arithmetic operations (( cnt += 3 )) instead of expr
* Added proper variable expansion with braces ${variable}
* Added proper quoting around variables and paths with "${variable}"
* Docker Compose commands:
* Replaced hardcoded container names with service names
* Used docker compose exec instead of docker exec $CONTAINER_NAME
* Removed repetitive flags by using environment variables
* Shell script best practices:
* Added function keyword before function definition
* Used safer path handling with "$(dirname "${0}")"
These changes make the script more maintainable, less error-prone, and
more consistent with modern shell scripting standards.
2025-04-25 09:13:35 +00:00
Alexey Masterov
127247a63c
Merge branch 'refs/heads/amasterov/refresh-codestyle-docker-compose-script' into amasterov/add-postgis-test-2
2025-04-25 10:05:16 +02:00
Alexey Masterov
bcfce1af3e
add a command
2025-04-25 10:05:00 +02:00
Alexey Masterov
ce2f606995
Merge branch 'refs/heads/amasterov/refresh-codestyle-docker-compose-script' into amasterov/add-postgis-test-2
2025-04-25 10:01:53 +02:00
Alexey Masterov
57637f0ed8
fix codestyle
2025-04-25 10:01:47 +02:00
Alexey Masterov
90b9e90fa5
add a command
2025-04-25 10:00:36 +02:00
Alexey Masterov
9151a29c2a
Merge branch 'refs/heads/amasterov/refresh-codestyle-docker-compose-script' into amasterov/add-postgis-test-2
...
# Conflicts:
# docker-compose/docker_compose_test.sh
2025-04-25 09:39:48 +02:00
Alexey Masterov
c6120a44f8
Change the comment
2025-04-25 09:28:47 +02:00
Alexey Masterov
849c8a1356
Fix the useless cat
2025-04-25 09:12:56 +02:00
Alexey Masterov
b6741457ea
Refresh the codestyle
2025-04-25 09:06:53 +02:00
Alexey Masterov
f1b98f83a9
Refactor patches
2025-04-24 17:42:33 +02:00
Alexey Masterov
0d956bea71
Add more support
2025-04-24 17:02:19 +02:00
Devin AI
4ff7787496
Simplify workflow descriptions in README
...
Co-Authored-By: alexeymasterov@neon.tech <alexeymasterov@neon.tech >
2025-04-23 12:20:47 +00:00
Devin AI
f611af797e
Add detailed information about CI workflows to README
...
Co-Authored-By: alexeymasterov@neon.tech <alexeymasterov@neon.tech >
2025-04-23 12:11:45 +00:00
Devin AI
d1c461f529
Add information about patching extension sources to README
...
Co-Authored-By: alexeymasterov@neon.tech <alexeymasterov@neon.tech >
2025-04-23 12:08:02 +00:00
Devin AI
ea9d987cad
Clarify pg_regress limitation for regular users in README
...
Co-Authored-By: alexeymasterov@neon.tech <alexeymasterov@neon.tech >
2025-04-23 12:04:11 +00:00
Devin AI
1ca11382e1
Update script name to test-upgrade.sh in README
...
Co-Authored-By: alexeymasterov@neon.tech <alexeymasterov@neon.tech >
2025-04-23 12:02:03 +00:00
Devin AI
3bee41c80b
Update README to mention database dropping in regular-test.sh
...
Co-Authored-By: alexeymasterov@neon.tech <alexeymasterov@neon.tech >
2025-04-23 11:57:29 +00:00
Devin AI
bb1e7d79c2
Update README.md with correct extension addition instructions
...
Co-Authored-By: alexeymasterov@neon.tech <alexeymasterov@neon.tech >
2025-04-23 11:55:06 +00:00
Devin AI
29565a7ca2
Add README.md for docker-compose/ext-src directory
...
Co-Authored-By: alexeymasterov@neon.tech <alexeymasterov@neon.tech >
2025-04-23 11:53:19 +00:00
Alexey Masterov
f81baf42f1
fix docker-compose
2025-04-23 12:15:23 +02:00
a-masterov
ffb6cb3456
Merge branch 'main' into amasterov/cloud-extensions-test
2025-04-23 08:04:32 +02:00
Tristan Partin
79083de61c
Remove forward compatibility hacks related to compute_ctl auth ( #11621 )
...
These various hacks were needed for the forward compatibility tests.
Enough time has passed since the merge that these are no longer needed.
Signed-off-by: Tristan Partin <tristan@neon.tech >
2025-04-16 23:14:24 +00:00
Tristan Partin
c002236145
Remove compute_ctl authorization bypass if testing feature was enable ( #11596 )
...
We want to exercise the authorization middleware in our regression
tests.
Signed-off-by: Tristan Partin <tristan@neon.tech >
2025-04-16 17:54:51 +00:00
Alexey Masterov
f78c92ca52
Remove error printing from the main script as it is printed in the container now
2025-04-16 11:38:56 +02:00
Alexey Masterov
6a5fc86743
Cleanup
2025-04-16 11:38:44 +02:00
Alexey Masterov
7dceb61d3d
adapt for regular user
2025-04-16 10:04:12 +02:00
a-masterov
d1b96d5c0d
Merge branch 'main' into amasterov/cloud-extensions-test
2025-04-15 16:14:24 +02:00
Alexey Masterov
627c0bed85
Skip pg_semver for PGv16
2025-04-15 16:13:49 +02:00
a-masterov
e31455d936
Add the tests for the extensions pg_jsonschema and pg_session_jwt ( #11323 )
...
## Problem
`pg_jsonschema` and `pg_session_jwt` are not yet covered by tests
## Summary of changes
Added the tests for these extensions.
2025-04-15 14:06:01 +00:00
Alexey Masterov
f2c74a64b6
Fix rag_jina_reranker_v1_tiny_en-src
2025-04-15 14:45:00 +02:00
Alexey Masterov
ae326a6df3
Fix pgtap, skip plpgsql_check
2025-04-15 13:51:26 +02:00
Alexey Masterov
cae480d62f
Fix some tests
2025-04-14 17:04:27 +02:00
Tristan Partin
ff5a527167
Consolidate compute_ctl configuration structures ( #11514 )
...
Previously, the structure of the spec file was just the compute spec.
However, the response from the control plane get spec request included
the compute spec and the compute_ctl config. This divergence was
hindering other work such as adding regression tests for compute_ctl
HTTP authorization.
Signed-off-by: Tristan Partin <tristan@neon.tech >
2025-04-11 15:06:29 +00:00
Alexey Masterov
307899408f
Fix pg_graphql
2025-04-11 15:35:28 +02:00
Alexey Masterov
d912f05e36
Add print for regression diffs
2025-04-08 13:55:26 +02:00
Alexey Masterov
2eaaa0495a
Add tests for a cloud instance
2025-04-04 12:28:38 +02:00
Alexey Masterov
d6ed3eb557
Add some tests
2025-04-03 18:35:55 +02:00
Alexey Masterov
4b4ce9e60a
Add support for BENCHMARTK_CONNSTR
2025-04-01 15:12:27 +02:00
Alexey Masterov
3f775d2df1
Change the script
2025-04-01 12:06:04 +02:00