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
pull/253/head
Puneet Kala 2022-06-03 16:41:15 +05:30 committed by GitHub
parent 9f7aac6810
commit 4f056813e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 55 deletions

View File

@ -5,7 +5,7 @@ jobs:
build: build:
name: pg-11-pgsm-pmm-integration-test name: pg-11-pgsm-pmm-integration-test
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 20
steps: steps:
- name: Clone QA Integration repository - name: Clone QA Integration repository
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -13,20 +13,12 @@ jobs:
repository: 'Percona-Lab/qa-integration' repository: 'Percona-Lab/qa-integration'
ref: 'main' ref: 'main'
# print branch name # print branch and Repo name
- name: Get branch name - name: Get branch and Repo Name
run: echo 'The branch name is' ${{ github.head_ref }} run: echo 'The branch and Repo Name is' ${{ github.head_ref }} ${{ github.actor }}/pg_stat_monitor
- name: Run PMM & PGSM Setup, E2E Tests - name: Run PMM & PGSM Setup, E2E Tests
run: bash -xe ./pmm_pgsm_setup/pmm_pgsm_setup.sh --pgsql-version=11 --pgstat-monitor-branch=${{ github.head_ref }} run: bash -xe ./pmm_pgsm_setup/pmm_pgsm_setup.sh --pgsql-version=11 --pgstat-monitor-branch=${{ github.head_ref }} --pgstat-monitor-repo=${{ github.actor }}/pg_stat_monitor
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Codeceptjs E2E Tests # Name of the check run which will be created
path: ./pmm-ui-tests/tests/output/*.xml # Path to test results
reporter: java-junit
- name: Get PMM-Agent Logs from the Container - name: Get PMM-Agent Logs from the Container
if: success() || failure() # run this step even if previous step failed if: success() || failure() # run this step even if previous step failed

View File

@ -5,7 +5,7 @@ jobs:
build: build:
name: pg-12-pgsm-pmm-integration-test name: pg-12-pgsm-pmm-integration-test
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 20
steps: steps:
- name: Clone QA Integration repository - name: Clone QA Integration repository
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -13,20 +13,12 @@ jobs:
repository: 'Percona-Lab/qa-integration' repository: 'Percona-Lab/qa-integration'
ref: 'main' ref: 'main'
# print branch name # print branch and Repo name
- name: Get branch name - name: Get branch and Repo Name
run: echo 'The branch name is' ${{ github.head_ref }} run: echo 'The branch and Repo Name is' ${{ github.head_ref }} ${{ github.actor }}/pg_stat_monitor
- name: Run PMM & PGSM Setup, E2E Tests - name: Run PMM & PGSM Setup, E2E Tests
run: bash -xe ./pmm_pgsm_setup/pmm_pgsm_setup.sh --pgsql-version=12 --pgstat-monitor-branch=${{ github.head_ref }} run: bash -xe ./pmm_pgsm_setup/pmm_pgsm_setup.sh --pgsql-version=12 --pgstat-monitor-branch=${{ github.head_ref }} --pgstat-monitor-repo=${{ github.actor }}/pg_stat_monitor
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Codeceptjs E2E Tests # Name of the check run which will be created
path: ./pmm-ui-tests/tests/output/*.xml # Path to test results
reporter: java-junit
- name: Get PMM-Agent Logs from the Container - name: Get PMM-Agent Logs from the Container
if: success() || failure() # run this step even if previous step failed if: success() || failure() # run this step even if previous step failed

View File

@ -5,7 +5,7 @@ jobs:
build: build:
name: pg-13-pgsm-pmm-integration-test name: pg-13-pgsm-pmm-integration-test
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 20
steps: steps:
- name: Clone QA Integration repository - name: Clone QA Integration repository
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -13,23 +13,12 @@ jobs:
repository: 'Percona-Lab/qa-integration' repository: 'Percona-Lab/qa-integration'
ref: 'main' ref: 'main'
# print branch name # print branch and Repo name
- name: Get branch name - name: Get branch and Repo Name
run: echo 'The branch name is' ${{ github.head_ref }} run: echo 'The branch and Repo Name is' ${{ github.head_ref }} ${{ github.actor }}/pg_stat_monitor
- name: Get current path
run: pwd
- name: Run PMM & PGSM Setup, E2E Tests - name: Run PMM & PGSM Setup, E2E Tests
run: bash -xe ./pmm_pgsm_setup/pmm_pgsm_setup.sh --pgsql-version=13 --pgstat-monitor-branch=${{ github.head_ref }} run: bash -xe ./pmm_pgsm_setup/pmm_pgsm_setup.sh --pgsql-version=13 --pgstat-monitor-branch=${{ github.head_ref }} --pgstat-monitor-repo=${{ github.actor }}/pg_stat_monitor
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Codeceptjs E2E Tests # Name of the check run which will be created
path: ./pmm-ui-tests/tests/output/*.xml # Path to test results
reporter: java-junit
- name: Get PMM-Agent Logs from the Container - name: Get PMM-Agent Logs from the Container
if: success() || failure() # run this step even if previous step failed if: success() || failure() # run this step even if previous step failed

View File

@ -5,7 +5,7 @@ jobs:
build: build:
name: pg-14-pgsm-pmm-integration-test name: pg-14-pgsm-pmm-integration-test
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 20
steps: steps:
- name: Clone QA Integration repository - name: Clone QA Integration repository
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -13,20 +13,12 @@ jobs:
repository: 'Percona-Lab/qa-integration' repository: 'Percona-Lab/qa-integration'
ref: 'main' ref: 'main'
# print branch name # print branch and Repo name
- name: Get branch name - name: Get branch and Repo Name
run: echo 'The branch name is' ${{ github.head_ref }} run: echo 'The branch and Repo Name is' ${{ github.head_ref }} ${{ github.actor }}/pg_stat_monitor
- name: Run PMM & PGSM Setup, E2E Tests - name: Run PMM & PGSM Setup, E2E Tests
run: bash -xe ./pmm_pgsm_setup/pmm_pgsm_setup.sh --pgsql-version=14 --pgstat-monitor-branch=${{ github.head_ref }} run: bash -xe ./pmm_pgsm_setup/pmm_pgsm_setup.sh --pgsql-version=14 --pgstat-monitor-branch=${{ github.head_ref }} --pgstat-monitor-repo=${{ github.actor }}/pg_stat_monitor
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Codeceptjs E2E Tests # Name of the check run which will be created
path: ./pmm-ui-tests/tests/output/*.xml # Path to test results
reporter: java-junit
- name: Get PMM-Agent Logs from the Container - name: Get PMM-Agent Logs from the Container
if: success() || failure() # run this step even if previous step failed if: success() || failure() # run this step even if previous step failed

3
.gitignore vendored
View File

@ -49,3 +49,6 @@ modules.order
Module.symvers Module.symvers
Mkfile.old Mkfile.old
dkms.conf dkms.conf
## IDE
.idea