Skip to content

Commit

Permalink
Merge branch 'main' into add-forum-badge
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov authored Apr 16, 2024
2 parents a0a4d18 + 175e568 commit d3e1369
Show file tree
Hide file tree
Showing 28 changed files with 164 additions and 61 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"
6 changes: 3 additions & 3 deletions .github/workflows/code-coverage-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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 @@ -74,7 +74,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 @@ -120,7 +120,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 @@ -7,7 +7,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 @@ -71,7 +71,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 @@ -96,7 +96,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 @@ -110,7 +110,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 @@ -7,7 +7,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 @@ -54,7 +54,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 @@ -8,7 +8,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 @@ -33,7 +33,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 @@ -7,7 +7,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 @@ -63,7 +63,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 @@ -7,7 +7,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 @@ -73,7 +73,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 @@ -107,7 +107,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 @@ -130,7 +130,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 @@ -7,7 +7,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:

- 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 @@ -8,7 +8,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 @@ -33,7 +33,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 @@ -7,7 +7,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 @@ -78,7 +78,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 @@ -7,7 +7,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 @@ -73,7 +73,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 @@ -107,7 +107,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 @@ -130,7 +130,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 @@ -7,7 +7,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:

- 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 @@ -8,7 +8,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 @@ -33,7 +33,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 d3e1369

Please sign in to comment.