From e0a3795c23f063313c00bff356a8f169780b028f Mon Sep 17 00:00:00 2001 From: BodoBolero Date: Thu, 4 Jul 2024 09:58:51 +0200 Subject: [PATCH 1/4] checkout depth1 to access local github actions like generate allure report --- .github/workflows/periodic_pagebench.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/periodic_pagebench.yml b/.github/workflows/periodic_pagebench.yml index c0219599a2e7..32c7eb865322 100644 --- a/.github/workflows/periodic_pagebench.yml +++ b/.github/workflows/periodic_pagebench.yml @@ -43,6 +43,14 @@ jobs: AWS_DEFAULT_REGION : "eu-central-1" AWS_INSTANCE_ID : "i-02a59a3bf86bc7e74" steps: + # we don't need the neon source code because we run everything remotely + # however we still need the local github actions to run the allure step below + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: false + fetch-depth: 1 + - name: Show my own (github runner) external IP address - usefull for IP allowlisting run: curl https://ifconfig.me From e196e7855c93690280a6d1d88790c22c20c8af1c Mon Sep 17 00:00:00 2001 From: Peter Bendel Date: Thu, 4 Jul 2024 12:03:32 +0200 Subject: [PATCH 2/4] Update .github/workflows/periodic_pagebench.yml Co-authored-by: Alexander Bayandin --- .github/workflows/periodic_pagebench.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/periodic_pagebench.yml b/.github/workflows/periodic_pagebench.yml index 32c7eb865322..91f94ddfb2f4 100644 --- a/.github/workflows/periodic_pagebench.yml +++ b/.github/workflows/periodic_pagebench.yml @@ -47,9 +47,6 @@ jobs: # however we still need the local github actions to run the allure step below - name: Checkout uses: actions/checkout@v4 - with: - submodules: false - fetch-depth: 1 - name: Show my own (github runner) external IP address - usefull for IP allowlisting run: curl https://ifconfig.me From 0a1f47b8beaf5676e59a9bfa9723f0cab7ccfcbf Mon Sep 17 00:00:00 2001 From: Peter Bendel Date: Thu, 4 Jul 2024 12:04:00 +0200 Subject: [PATCH 3/4] Update .github/workflows/periodic_pagebench.yml Co-authored-by: Alexander Bayandin --- .github/workflows/periodic_pagebench.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/periodic_pagebench.yml b/.github/workflows/periodic_pagebench.yml index 91f94ddfb2f4..60c5033e0aaa 100644 --- a/.github/workflows/periodic_pagebench.yml +++ b/.github/workflows/periodic_pagebench.yml @@ -45,8 +45,7 @@ jobs: steps: # we don't need the neon source code because we run everything remotely # however we still need the local github actions to run the allure step below - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - name: Show my own (github runner) external IP address - usefull for IP allowlisting run: curl https://ifconfig.me From 305fed523b19e5c7ec8baa85daeee62839802edb Mon Sep 17 00:00:00 2001 From: BodoBolero Date: Thu, 4 Jul 2024 21:01:24 +0200 Subject: [PATCH 4/4] allure report needs different access key to access S3 buckets --- .github/workflows/periodic_pagebench.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/periodic_pagebench.yml b/.github/workflows/periodic_pagebench.yml index 32c7eb865322..72d264038a38 100644 --- a/.github/workflows/periodic_pagebench.yml +++ b/.github/workflows/periodic_pagebench.yml @@ -124,6 +124,9 @@ jobs: cat "test_log_${GITHUB_RUN_ID}" - name: Create Allure report + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_DEV }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY_DEV }} if: ${{ !cancelled() }} uses: ./.github/actions/allure-report-generate