10 Commits

Author SHA1 Message Date
Anders Åstrand
681b9ff1cd Run pgperltidy in github actions
Just as we use pgindent to validate that our c files conform to postgres
coding standards, we also run pgperltidy to do the same for perl files.
We only run it on our own code in contrib/pg_tde/

This doesn't actually run pgperltidy as we need to inject some options
in a way that didn't seem possible in that script. Instead it does the
same thing with some slight changes.

We also bump the ubuntu version for this google actions job to the
newest LTS as the older ubuntu version seems to have a version of
perltidy that doesn't support the options used by pgperltidy.
2025-04-22 11:40:24 +02:00
Naeem Akhter
dcdcebbf92
PG-1482, PG-1289 Add coverage to repo and percona server version check. (#212)
- Added code coverage to link repo to codecov.io for coverage stats on
PR and merge.
- Added coverage badge on the landing page (readme) of the repo. 
- Updated GH action to run on PUSH/MERGE, as this is required for code
coverage.
- Updated bash files in ci_scripts folder to accommodate tde
installcheck only.
- Added percona server version scheme verification TAP test case.
2025-04-15 19:42:57 +05:00
Andreas Karlsson
7266847592 Sync development dependecies in Github Actions with offical package
New dependencies have been added since we last updated this list, e.g.
zstd and icu. And additionally we just fix diffs where Ubuntu packages
have been renamed or the official package thinks we should install
some package.
2025-02-12 16:01:38 +01:00
Andreas Karlsson
5b55af8279 Do not install ninja-build directly
It is a dependency of meson so we only need to install meson.
2025-02-12 16:01:38 +01:00
Andreas Karlsson
71bac8ded6 Do not de-armor key used by apt
Apt does not require keys to be de-armored if they use the correct
extension. Additional put the key in the directory recommended by
Debian and Ubuntu.
2025-02-12 16:01:38 +01:00
Andreas Karlsson
0c410a6cb1 List Github worker dependencies in a nicer way
By not having everything on one line it is easier to see what we
actually install and why.
2025-02-12 16:01:38 +01:00
Andreas Karlsson
65ab529e6b Use apt instead of apt-get in Github scripts
The apt executable gives the following warning.

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
2025-02-12 16:01:38 +01:00
Andreas Karlsson
88eb65a4fa Do not install any CI packages from CPAN
Run::IPC is already installed via APT and Text::Trim does not seem
like it is even used. While at it we update the comment.
2025-02-05 22:11:14 +01:00
Andreas Karlsson
7f464a5cbe Make whitespace of CI scripts consistent 2025-02-05 22:11:14 +01:00
Zsolt Parragi
5e3f82c785
Fixing issues with running installcheck-world with pg_tde (#31)
* The make CI action now also runs the entire installcheck-world
  with pg_tde setup for all tests
* The meson CI runner doesn't do this yet
* Tools that only worked with the heap am based on an OID check now
  also check for the tde_heap OID
* The get_tde_table_am_oid helper function is now moved inside the core,
  as it is required by other contrib modules, which do not have access
  to the tde code otherwise.
* A few tests that do a custom server setup was disabled based on the
  TDE_MODE environment variable. These tests would fail because they
  expect that after an initdb and start, the regression suite works,
  but that's not the case with tde_heap. These tests can be re-enabled
  again after we have options to do this with initdb
2025-01-22 17:32:24 +00:00