Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into ci-triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Apr 18, 2024
2 parents 2d70657 + e3d6dc4 commit d028082
Show file tree
Hide file tree
Showing 30 changed files with 168 additions and 63 deletions.
57 changes: 57 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Bug Report
description: File a bug report
labels: ["bug"]
assignees: []
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report! Please provide as much information as possible, it will help us to address this problem faster.
- type: textarea
id: description
attributes:
label: Description
description: Please describe the problem.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Results
description: What did you expect to happen?
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual Results
description: What actually happened?
validations:
required: true
- type: textarea
id: version
attributes:
label: Version
description: What version of PostgreSQL and pg_stat_monitor are you running?
placeholder: PostgreSQL 16.2, pg_stat_monitor v2.0.4
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: Which steps do we need to take to reproduce this error?
- type: textarea
id: logs
attributes:
label: Relevant logs
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: Shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow [Percona Community Code of Conduct](https://github.com/percona/community/blob/main/content/contribute/coc.md)
options:
- label: I agree to follow Percona Community Code of Conduct
required: true
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Forum
url: https://forums.percona.com/
about: Please join our forums for general questions ans discussions.
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Feature Request
description: Suggest an idea for this project
labels: ["feature"]
assignees: []
body:
- type: markdown
attributes:
value: |
Thank you for suggesting an idea to make pg_stat_monitor better! Please complete the below form to ensure we have all the details to get things started.
- type: textarea
id: description
attributes:
label: Description
description: Description of the feature and of the problem it solves.
validations:
required: true
- type: textarea
id: solution
attributes:
label: Suggested solution
description: A concise description of your preferred solution.
- type: textarea
id: context
attributes:
label: Additional context
description: Any information that may help.
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/percona/community/blob/main/content/contribute/coc.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
9 changes: 5 additions & 4 deletions .github/workflows/code-coverage-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Clone postgres repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: 'postgres/postgres'
ref: 'REL_15_STABLE'
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
pg_ctl -D /opt/pgsql/data -l logfile start
- name: Clone pg_stat_monitor repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'src/pg_stat_monitor'

Expand Down Expand Up @@ -108,9 +108,10 @@ jobs:
working-directory: src/pg_stat_monitor

- name: Upload
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
working-directory: ./src/pg_stat_monitor
files: ./pg_stat_monitor.c.gcov,./hash_query.c.gcov,./guc.c.gcov

Expand All @@ -124,7 +125,7 @@ jobs:

- name: Upload logs on fail
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Regressions diff and postgresql log
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/postgresql-11-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Clone postgres repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: 'postgres/postgres'
ref: 'REL_11_STABLE'
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
pg_ctl -D /opt/pgsql/data -l logfile start
- name: Clone pg_stat_monitor repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'src/pg_stat_monitor'

Expand All @@ -102,7 +102,7 @@ jobs:
working-directory: src/pg_stat_monitor

- name: Report on pg_stat_monitor test fail
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: Regressions diff and postgresql log
Expand All @@ -116,7 +116,7 @@ jobs:
make installcheck-world
- name: Report on installcheck-world test suites fail
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: Regressions output files of failed testsuite, and pg log
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/postgresql-11-pgdg-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Clone pg_stat_monitor repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'src/pg_stat_monitor'

Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
working-directory: src/pg_stat_monitor

- name: Report on test fail
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: Regressions diff and postgresql log
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/postgresql-11-pmm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Clone QA Integration repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'Percona-Lab/qa-integration'
ref: 'main'
Expand All @@ -39,7 +39,7 @@ jobs:
run: docker exec pgsql_pgsm_11 cat pmm-agent.log > ./pmm-ui-tests/tests/output/pmm-agent.log

- name: Upload Tests Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success() || failure() # run this step even if previous step failed
with:
name: tests-artifact
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/postgresql-11-ppg-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Clone pg_stat_monitor repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'src/pg_stat_monitor'

Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
working-directory: src/pg_stat_monitor

- name: Report on test fail
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: Regressions diff and postgresql log
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/postgresql-12-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Clone postgres repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: 'postgres/postgres'
ref: 'REL_12_STABLE'
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
pg_ctl -D /opt/pgsql/data -l logfile start
- name: Clone pg_stat_monitor repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'src/pg_stat_monitor'

Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:

- name: Upload logs on fail
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Regressions diff and postgresql log
path: |
Expand All @@ -136,7 +136,7 @@ jobs:
make installcheck-world
- name: Report on installcheck-world test suites fail
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: Regressions output files of failed testsuite, and pg log
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/postgresql-12-pgdg-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Clone pg_stat_monitor repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'src/pg_stat_monitor'

Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:

- name: Upload logs on fail
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Regressions diff and postgresql log
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/postgresql-12-pmm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Clone QA Integration repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'Percona-Lab/qa-integration'
ref: 'main'
Expand All @@ -39,7 +39,7 @@ jobs:
run: docker exec pgsql_pgsm_12 cat pmm-agent.log > ./pmm-ui-tests/tests/output/pmm-agent.log

- name: Upload Tests Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success() || failure() # run this step even if previous step failed
with:
name: tests-artifact
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/postgresql-12-ppg-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Clone pg_stat_monitor repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'src/pg_stat_monitor'

Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:

- name: Upload logs on fail
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Regressions diff and postgresql log
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/postgresql-13-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Clone postgres repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: 'postgres/postgres'
ref: 'REL_13_STABLE'
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
pg_ctl -D /opt/pgsql/data -l logfile start
- name: Clone pg_stat_monitor repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'src/pg_stat_monitor'

Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:

- name: Upload logs on fail
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Regressions diff and postgresql log
path: |
Expand All @@ -136,7 +136,7 @@ jobs:
make installcheck-world
- name: Report on installcheck-world test suites fail
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: Regressions output files of failed testsuite, and pg log
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/postgresql-13-pgdg-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Clone pg_stat_monitor repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'src/pg_stat_monitor'

Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:

- name: Upload logs on fail
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Regressions diff and postgresql log
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/postgresql-13-pmm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Clone QA Integration repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'Percona-Lab/qa-integration'
ref: 'main'
Expand All @@ -39,7 +39,7 @@ jobs:
run: docker exec pgsql_pgsm_13 cat pmm-agent.log > ./pmm-ui-tests/tests/output/pmm-agent.log

- name: Upload Tests Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success() || failure() # run this step even if previous step failed
with:
name: tests-artifact
Expand Down
Loading

0 comments on commit d028082

Please sign in to comment.