-
Notifications
You must be signed in to change notification settings - Fork 84
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
integration: make PGVERSION
a pattern
#1147
Conversation
TODO:
|
7e1fe47
to
0d4fb6e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1147 +/- ##
==========================================
- Coverage 52.09% 52.06% -0.04%
==========================================
Files 220 220
Lines 16843 16843
==========================================
- Hits 8775 8769 -6
- Misses 7259 7264 +5
- Partials 809 810 +1 ☔ View full report in Codecov by Sentry. |
0d4fb6e
to
272a309
Compare
Needed to make changes after doing another bout of testing from a clean cache, so re-requesting review. |
This change makes it so that specifying a pattern like `latest` or `15` looks at the bill of materials for the embedded PostgreSQL binaries and fetches a matching version. Previously, this environment variable needed to be a full `<major>.<minor>.<patch>` version. That's still allowed if a specific version is needed. Signed-off-by: Hank Donnay <hdonnay@redhat.com>
272a309
to
53a666f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
t.Fatal(err) | ||
} | ||
|
||
// Open the jar (note a jar is just a zip with specific contents) and find |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:D
/fast-forward |
#1140 got me thinking about how the database harness works for not-Linux, so I took a look.
Turns out the project that builds the binaries has added more architectures in the meantime,
so I reworked things to not pin versions as aggressively and support the current suite of OS + architecture.
This change makes it so that specifying a pattern like
latest
or15
looks at the bill of materials for the embedded PostgreSQL binaries and fetches a matching version. Previously, this environment variable needed to be a full<major>.<minor>.<patch>
version. That's still allowed if a specific version is needed.