From 74a4a9c5c2e50106ec6f081a501dd6332dd4c209 Mon Sep 17 00:00:00 2001 From: parth-gr Date: Wed, 31 May 2023 19:13:09 +0530 Subject: [PATCH] ci: update tmate to run successfully with public ssh Currently tmate was not accessible and showing access denied, Update limit-access-to-actor to true, which register tmate with a public ssh key https://github.com/mxschmitt/action-tmate#use-registered-public-ssh-keys Signed-off-by: parth-gr --- .github/workflows/build.yml | 2 ++ .github/workflows/canary-integration-test.yml | 19 +++++++++++++++++++ .../integration-test-helm-suite.yaml | 1 + .../workflows/integration-test-mgr-suite.yaml | 1 + .../integration-test-multi-cluster-suite.yaml | 1 + .../integration-test-object-suite.yaml | 1 + .../integration-test-smoke-suite.yaml | 1 + .../integration-test-upgrade-suite.yaml | 1 + .github/workflows/push-build.yaml | 1 + 9 files changed, 28 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd99a0259..86346a0f0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -77,6 +77,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true linux-build-all: runs-on: ubuntu-20.04 @@ -111,3 +112,4 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true diff --git a/.github/workflows/canary-integration-test.yml b/.github/workflows/canary-integration-test.yml index d3f98e1be..7083f5d3a 100644 --- a/.github/workflows/canary-integration-test.yml +++ b/.github/workflows/canary-integration-test.yml @@ -230,6 +230,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true raw-disk: runs-on: ubuntu-20.04 @@ -284,6 +285,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true two-osds-in-device: runs-on: ubuntu-20.04 @@ -332,6 +334,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true osd-with-metadata-device: runs-on: ubuntu-20.04 @@ -386,6 +389,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true encryption: runs-on: ubuntu-20.04 @@ -485,6 +489,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true pvc: runs-on: ubuntu-20.04 @@ -559,6 +564,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true pvc-db: runs-on: ubuntu-20.04 @@ -609,6 +615,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true pvc-db-wal: runs-on: ubuntu-20.04 @@ -662,6 +669,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true encryption-pvc: runs-on: ubuntu-20.04 @@ -727,6 +735,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true encryption-pvc-db: runs-on: ubuntu-20.04 @@ -779,6 +788,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true encryption-pvc-db-wal: runs-on: ubuntu-20.04 @@ -841,6 +851,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true encryption-pvc-kms-vault-token-auth: runs-on: ubuntu-20.04 @@ -922,6 +933,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true encryption-pvc-kms-vault-k8s-auth: runs-on: ubuntu-20.04 @@ -985,6 +997,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true lvm-pvc: runs-on: ubuntu-20.04 @@ -1040,6 +1053,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true multi-cluster-mirroring: runs-on: ubuntu-20.04 @@ -1296,6 +1310,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true rgw-multisite-testing: runs-on: ubuntu-20.04 @@ -1325,6 +1340,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true encryption-pvc-kms-ibm-kp: runs-on: ubuntu-20.04 @@ -1357,6 +1373,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true multus-cluster-network: runs-on: ubuntu-20.04 @@ -1436,6 +1453,7 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true csi-hostnetwork-disabled: runs-on: ubuntu-20.04 @@ -1489,3 +1507,4 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true diff --git a/.github/workflows/integration-test-helm-suite.yaml b/.github/workflows/integration-test-helm-suite.yaml index b0685b8f1..c3548b113 100644 --- a/.github/workflows/integration-test-helm-suite.yaml +++ b/.github/workflows/integration-test-helm-suite.yaml @@ -67,3 +67,4 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true diff --git a/.github/workflows/integration-test-mgr-suite.yaml b/.github/workflows/integration-test-mgr-suite.yaml index 781375edc..da9668233 100644 --- a/.github/workflows/integration-test-mgr-suite.yaml +++ b/.github/workflows/integration-test-mgr-suite.yaml @@ -61,3 +61,4 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true diff --git a/.github/workflows/integration-test-multi-cluster-suite.yaml b/.github/workflows/integration-test-multi-cluster-suite.yaml index cdbf21c8a..761cc6cf4 100644 --- a/.github/workflows/integration-test-multi-cluster-suite.yaml +++ b/.github/workflows/integration-test-multi-cluster-suite.yaml @@ -63,3 +63,4 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true diff --git a/.github/workflows/integration-test-object-suite.yaml b/.github/workflows/integration-test-object-suite.yaml index 49e0dce83..b991cf240 100644 --- a/.github/workflows/integration-test-object-suite.yaml +++ b/.github/workflows/integration-test-object-suite.yaml @@ -62,3 +62,4 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true diff --git a/.github/workflows/integration-test-smoke-suite.yaml b/.github/workflows/integration-test-smoke-suite.yaml index 4df83fd99..b747848e8 100644 --- a/.github/workflows/integration-test-smoke-suite.yaml +++ b/.github/workflows/integration-test-smoke-suite.yaml @@ -62,3 +62,4 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true diff --git a/.github/workflows/integration-test-upgrade-suite.yaml b/.github/workflows/integration-test-upgrade-suite.yaml index e5526b5ed..9bbffcdb4 100644 --- a/.github/workflows/integration-test-upgrade-suite.yaml +++ b/.github/workflows/integration-test-upgrade-suite.yaml @@ -110,3 +110,4 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true diff --git a/.github/workflows/push-build.yaml b/.github/workflows/push-build.yaml index 051286f3a..85832ece5 100644 --- a/.github/workflows/push-build.yaml +++ b/.github/workflows/push-build.yaml @@ -82,3 +82,4 @@ jobs: uses: ./.github/workflows/tmate_debug with: use-tmate: ${{ secrets.USE_TMATE }} + limit-access-to-actor: true