Commit Graph

60 Commits (288ec6325f2fb3987fcf747c4c42273158a7e465)

Author SHA1 Message Date
Artem Gavrilov 288ec6325f
Add license headers validation (#458)
* Add .licenserc.yaml file

* Fix license headers

* Add github action to check license headers

* Fix workflow

* Fix checkout path

* Rename workflow

* Add debug info

* Disable workflows

* Try fix

* Split check workflow in two jobs

* Try invalid license header

* Comment of failure

* Disable cppcheck job

* Fix licenserc file

* Enable debug logging

* Prevent comments from licence-eye

* Revert "Disable cppcheck job"

This reverts commit 10f55373ea.

* Revert "Disable workflows"

This reverts commit 2e2ead2fa5.

* Fix typo

* Revert "Try invalid license header"

This reverts commit 0cc0c883d2.

* Update year in license headers

* Cleanup

* Fix indention in license header
2024-04-26 10:55:50 +02:00
Naeem Akhter 5d7c424fdc
Added a tap test case to load multiple PPG extensions in the server before running a test load. (#456)
1. We load and create other extensions that are distributed by Percona
   in PPG. (postgis, pg_repack, pgaudit, pgaudit_set_user, pgpool)
2. Run test data with pgbench.

To make the above test case work, updated the workflows to install above mentioned extension
where we use installed packages from PPG. On workflows where we build server or use packages
from PGDG, we are skipping this test case.
2024-04-23 02:49:57 +05:00
Artem Gavrilov 2ebd163225
Tune CI triggers (#444)
* Use commong CI triggers for all workflows

* Tune CI triggers, fix version tag regex

* Escape regex
2024-04-18 16:52:36 +02:00
dependabot[bot] 0275fc742e
Bump codecov/codecov-action from 2 to 4 (#451)
* Bump codecov/codecov-action from 2 to 4

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add token parameter to codecov action

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Artem Gavrilov <artem.gavrilov@percona.com>
2024-04-16 15:17:59 +02:00
dependabot[bot] 0bf2846748
Bump actions/upload-artifact from 2 to 4 (#450)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 12:34:50 +02:00
dependabot[bot] e303899652
Bump actions/checkout from 2 to 4 (#449)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 12:25:02 +02:00
Artem Gavrilov e1ad88a580
Fix workflows after CI image upgrade (#445)
* Temporary disable all workflows except one

* Try ubuntu 20.04

* Remove redundant working dir config

* Fix

* Try perform some operations from default user

* Try fix

* Revert "Try fix"

This reverts commit 3ed843c7462f69d7ad74ba6f60c93544e1ea549c.

* Revert "Try perform some operations from default user"

This reverts commit 206046714d888b518bce2f83f567176978a73af9.

* Switch back to ubuntu 22.04

* Add debug

* Try fix

* Hit CI

* More debug

* Revert "Remove redundant working dir config"

This reverts commit 3d1ade8948.

* Revert "Fix"

This reverts commit 05dbeed894.

* Try fix

* Revert some changes

* Revert "Temporary disable all workflows except one"

This reverts commit 93b35036fb.

* Fix pgdg workflows

* Fix ppg workflows
2024-04-09 18:12:15 +02:00
Artem Gavrilov 7829869dc7
Fix partition_prune testcase (#440)
* Disable workflows

* Disable pg_stat_monitor tests

* Add no-locale to initdb

* Try with enabled compute_query_id

* Enable tests

* Cleanup

* Set compute_query_id parameter to regress mode

* Revert "Disable workflows"

This reverts commit f0b85b8b4a.

* Fix pg 14 and 15 build workflows

* Fix

* Cleanup
2024-04-09 14:05:58 +02:00
Artem Gavrilov 684e6483b5
Fix cppcheck workflow (#441)
* Upgrade ubuntu from 20.04 to 22.04

* Temporary remove all workflows except cppcheck

* Try ununty 23.10

* Revert "Try ununty 23.10"

This reverts commit c8590b60ed.

* Try cppcheck built from sources

* Add sudo

* Bump checkout action version in cppcheck workflow

* Revert "Temporary remove all workflows except cppcheck"

This reverts commit 9f32e94992.
2024-04-05 19:42:40 +02:00
Artem Gavrilov c89879e372
Fix IPC::Run perl module name in CI (#438) 2024-04-05 19:42:00 +02:00
Naeem Akhter 3ed25d5511 Added workflow file for pgsm ppg-16 package testing. 2023-11-07 00:01:07 +05:00
Naeem Akhter 715a4ceb82 Adding pg-16 build and PGDG workflows. 2023-09-12 14:37:19 +05:00
Naeem Akhter be1b4af180
PG-605: Fix TAP Tests framework crash. (#377) 2023-02-22 23:47:03 +05:00
Naeem Akhter 837bacdf3a
PG-571: Update Jobs to run on PR and Push. (#374) 2023-02-09 00:35:51 +05:00
Naeem Akhter 4352d97af0
PG-603: Fix/Update String::Util module in TAP test perl. (#373)
Removed use of String::Util perl module from TAP test cases, and now using
Text::Trim module instead, as that is more stable. Also removed the
Data::Str2Num perl module as it was not needed any more.
2023-02-02 15:41:43 +05:00
Naeem Akhter 7e7bcb4559 PG-575: Enable installcheck-world on PG 14 & 15.
As we are using compute_query_id on pg14 onwards for PGSM and it
causes the server installcheck-world to fail (same behaviour with PGSS).
To test installcheck-world on pg14 onwards we need to disable compute_query_id
and run server installcheck-world. But for PGSM regression we will still have
compute_query_id on.
2023-01-04 18:59:10 +05:00
Naeem Akhter e0cea058ed
PG-568: Add GH Workflow for PGDG-15 and PPG-15 packages. (#343) 2022-12-29 02:28:36 +05:00
Naeem Akhter b4ab2ccc84
PG-557: Update PGSM+PMM GH workflows to pick intended target branch. (#323) 2022-11-23 02:22:13 +05:00
Puneet Kala 00067680de PMM-7 Adding updates on integration pipelines (#308)
* PMM-7 Fix the github action

* PMM-7 fix version 12

* PMM-7 Fix Typo

* PMM-7 Fix Typo

* PMM-7 Increase timeout

* PMM-7 Increase timeout

* PMM-7 Add support for pgsql13

* PMM-7 Adding support for PG 14

* PMM-7 Increase timer

* PMM-7 Adding integration with PG15

* PMM-7 Handle PG 11 changes

* PMM-7 handle PG 12 changes

* PMM-7 Temp commit for regression

* PMM-7 Adding commit

* PMM-7 UI tests branch

* PMM-7 Revert temp branch

* PMM-7 Revert temp branch

* PMM-7 revert temp branch

* PMM-7 Revert the changes
2022-11-08 23:31:11 +05:00
Naeem Akhter 2069139795
PG-477: Install perl modules in PGSM-PG12 Build workflow. (#292)
Perl tap tests dependencies were missing, those are being installed now.
Furthermore, workflow required some changes to enable logs to be available in
in case of a tap tests failure(s).
2022-08-18 14:50:43 +05:00
Anastasia Alexadrova d499a23bdb PG-473 Drop docs and disable build on GH pages
With the documentation moved to a separate repo, remove the docs from this repository to avoid confusion where to contribute to docs. Also, removing a GH action and unpublishing the GH pages site with the docs being built on Render. Updated README and Contributing guide with the new docs repo.

deleted:    .github/workflows/doc-build.yml
	modified:   README.md
	deleted:    docs/COMPARISON.md
	deleted:    docs/REFERENCE.md
	deleted:    docs/USER_GUIDE.md
	deleted:    docs/_images/percona-favicon.ico
	deleted:    docs/_images/percona-logo.svg
	deleted:    docs/css/percona.css
	deleted:    docs/css/toctree.css
	deleted:    docs/index.md
	deleted:    docs/js/version-select.js
	deleted:    docs/overrides/404.html
	deleted:    docs/setup.md
	deleted:    requirements-doc.txt
2022-08-09 09:00:30 +02:00
Naeem Akhter 3bed7e675f
PG-418: Cleanup workflows in github. (#283)
1- Removed unsupported options from configure.
2- Reformatted files to break lines at 80 charachters.
3- Moved multiple 'apt install' and rm commands into a single one.
4- All workflows use and install llvm + clang version 11.
5- Updated workflows to ubuntu 22.04 where we are building PG server.
6- Added .vscode folder/files to .gitignore file.
2022-08-01 14:03:10 +05:00
Naeem Akhter 822895a5a4
PG-433: Codecov code coverage with PGSM GH repo (#279)
1) Updated code coverage workflow with required changes so that we point to
Codecov onwards for coverage stats.
2) Updated README.md file so that badge for Code Coverage, points to CodeCov
coverage stats for PGSM.
3) Added .DS_STORE to .gitignore file.
2022-07-06 15:32:38 +05:00
Naeem Akhter 28d194a26a PG-452: Remove redundant workflow from PGSM GH main branch.
Removed following workflows from main branch.
postgresql-14-package.yml
postgresql-13-package.yml
postgresql-12-package.yml
postgresql-11-package.yml
2022-06-23 13:10:45 +05:00
Hamid Akhtar cd06be62fd [PG-436] Merging REL_1_STABLE on to the main branch.
Merge remote-tracking branch 'origin/REL_1_STABLE'
2022-06-19 13:42:10 +05:00
puneet0191 ced7aef0e4 PMM-9951 moving integration tests to push 2022-06-09 18:23:50 +05:30
Puneet Kala 3d64931192
PMM-9951 run the workflow on push temp (#258) 2022-06-09 16:18:18 +05:00
Puneet Kala 4f056813e0
PMM-9951 Checking with forked repo and custom branch (#251)
PMM-9951 Fix for forked Repo

PMM-9951 Checking with forked repo and custom branch

PMM-9951 fix the branch

PMM-9951 testing the github properties

PMM-9951 testing

PMM-9951 testing the changes

PMM-9951 changing permissions

PMM-9951 handle the repo

PMM-9951 permissions check

PMM-9951 permissions check

PMM-9951 remove not needed ones

PMM-9951 checks permissions

PMM-9951 testing

PMM-9951 testing another workflow

PMM-9951 test changes

PMM-9951 Final Push with all changes

PMM-9951
2022-06-03 16:11:15 +05:00
Puneet Kala 9f7aac6810
PMM-9951 Adding PGSM+PMM Integration tests (#249) 2022-06-01 16:53:58 +05:00
Kai Wagner f046df0351
Merge pull request #246 from nastena1606/PG-432-Fix-doc-GH-action-1
PG-432 Fixed branch name of a  GH action
2022-06-01 10:55:08 +02:00
Anastasia Alexadrova ce9eca0fc6 PG-432 Fixed branch name of a GH action
modified:   .github/workflows/doc-build.yml
2022-06-01 11:21:03 +03:00
Kai Wagner 95eb25e15e
Merge pull request #227 from capri1989/PG-416
PG-416: added PostgreSQL14 package build workflow
2022-05-31 08:17:59 +02:00
Kai Wagner 6d2a81ebdd PG-375: only run code coverage test on merge
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-25 12:04:45 +02:00
Kai Wagner 233a578796 PG-375: only run code coverage test on merge
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-24 14:02:48 +02:00
Kai Wagner 1566ad2073 PG-416: added missing PostgreSQL 14 package workflow
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-19 11:26:05 +02:00
Kai Wagner 1557ff3a9e
PG-385: remove old coverage_test.yml file (#224)
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-10 23:07:10 +05:00
Naeem Akhter 80f842fb49 PG-377: Enable PPG Jobs for PGSM in GH.
This commit contains following,
1) Regression jobs are enabled against Percona PG distribution for version postgresql 11~14.
2) Regression job is enabled against PGDG PG distribution for version postgresql 14.
3) GH actions names for some of the jobs are changed to clear the clutter in GH repo's action page.
2022-04-27 15:26:38 +05:00
Anastasia Alexadrova acc411146d PG-368 Amended GH action for 1.0.x version 2022-04-14 09:02:03 +03:00
Anastasia Alexadrova c5dd547619 PG-364 Aligned docs structure with main
Changed the GH action to buid a separate doc version, 1.0.x stable, from REL1_0_0 branch
2022-04-06 15:05:20 +03:00
Naeem Akhter 4bdb11aadc Change the sequence regressions, moved installcheck-world to last to make sure that we already have ran the pg_stat_monitor regression and server regression don't imapct it. 2022-03-22 18:42:43 +05:00
Naeem Akhter 96eed05890 PG-343: Enable TAP testing; PG-292: Automate the QA; PG-338: Calls count.; PG-331: Default values in PMM.
This commit brings following changes to this branch:
1) Port changes/additions TAP testing from main branch to this branch, under PG-292.
2) Changes to test cases due to GUCs change, under PG-331.
3) Call counts verfications, under PG-338.
4) Changes to github workflows to accomodate automation for TAP testing, under PG-343.
2022-03-22 01:36:47 +05:00
Ibrar Ahmed 0248c1fe5e Rename workflows. 2021-11-16 20:41:04 +00:00
Ibrar Ahmed 88523792f5 Rename workflows. 2021-11-16 20:30:34 +00:00
Ibrar Ahmed b5cbd98ae8
Update and rename pg11test.yml to postgresql-11-build.yml 2021-11-17 01:19:32 +05:00
Naeem Akhter 3b25f395c8 PG-259: Fixed PGSM build in Test-with-pg13-pgdg-packages GitHub action job. 2021-10-14 00:43:55 +05:00
Ibrar Ahmed 2ece257add
Merge pull request #105 from mu-samoylov/add_pg_package_tests
Test pg_stat_monitor with pg from packages
2021-10-13 23:11:25 +05:00
Naeem Akhter 32a13f8462 PG-258: Re-enable Coverall code coverage to pg_stat_monitor.
As codecov is not approved by IT due to some known vulnerabilities in the past, reverting back to coverall.io to make sure that at least code coverage is available.
2021-10-13 22:00:41 +05:00
Naeem Akhter a9bd805322 PG-227: Enable PGSM master branch regression/test with latest PG releases.
Enable PGSM master branch regression/test with last Postgres release (actual
released packages) for supported server versions. This will make sure that we
would have already tested the PGSM compatibility well before PPG releases are done.
2021-09-27 15:24:17 +05:00
Naeem Akhter f7588532be PG-226: Enable installcheck-world regression.
1) Enabled configure and build with proper flags and environment to make sure that
built server is aligned with pg and ppg package distribution in terms of features
and configurations. Earlier build (configure) was not aligned with pg community standard
configuration that are used for community builds and distribution.

2) Enabled installcheck-world regression test suites of the pg server, to verify
the stability and compatibility of pg server after loading pg_stat_monitor in
server.

3) Change in expected files of error.out and error_1.out for error testacase.

4) Disbaled and removed coverage using coveralls.io, as it was not serving the purpose.

(Note: installcheck-world was failing on pg-14 due to some changes that are done in pg14
or upstream PGSS, and that is causing additional line (Query Identifier) is output of some
of the test cases of installcheck-world so it is not enabled in this commit. Problem with
pg14 server installcheck regression is output of an extra line (Query identifier ****)
in some of the test cases after loading extension PGSM and that causes regression to fail
for server after library load.)
2021-09-23 03:10:06 +05:00
Mikhail Samoylov 4a2a042955 Test pg_stat_monitor with pg from packages 2021-09-11 10:12:01 +03:00