From eb8e0e398ff69f15e0585f514dab4639de392ba3 Mon Sep 17 00:00:00 2001 From: Sagar Khalasi Date: Thu, 16 Jan 2025 16:41:17 +0530 Subject: [PATCH] ci: Fix for ssh port 22 issue (#38697) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Workflow failure : https://github.com/appsmithorg/appsmith/actions/runs/12804875642/job/35705873169 Fixes # https://app.zenhub.com/workspaces/qa-63316faf86bb2e170ed2e46b/issues/gh/appsmithorg/appsmith/38698 ## Automation /ok-to-test tags="@tag.Settings" ### :mag: Cypress test results > [!IMPORTANT] > 🟣 🟣 🟣 Your tests are running. > Tests running at: > Commit: cc4baab222b9f0667cb9addb98ef3549b2650ecf > Workflow: `PR Automation test suite` > Tags: `@tag.Settings` > Spec: `` >
Thu, 16 Jan 2025 10:54:57 UTC ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No ## Summary by CodeRabbit - **Chores** - Updated GitHub Actions workflows to disable SSH socket service during Docker container execution - Ensures SSH service is stopped and prevented from automatically restarting during CI tests --- .github/workflows/ci-test-limited-with-count.yml | 1 + .github/workflows/ci-test-limited.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci-test-limited-with-count.yml b/.github/workflows/ci-test-limited-with-count.yml index bd16b8f868..fbcb355ea5 100644 --- a/.github/workflows/ci-test-limited-with-count.yml +++ b/.github/workflows/ci-test-limited-with-count.yml @@ -236,6 +236,7 @@ jobs: working-directory: "." run: | sudo /etc/init.d/ssh stop ; + sudo systemctl disable --now ssh.socket mkdir -p ~/git-server/keys docker run --name test-event-driver -d -p 22:22 -p 5001:5001 -p 3306:3306 \ -p 5433:5432 -p 28017:27017 -p 25:25 -p 4200:4200 -p 5000:5000 -p 3001:3000 -p 6001:6001 -p 8001:8000 --privileged --pid=host --ipc=host --volume /:/host -v ~/git-server/keys:/git-server/keys \ diff --git a/.github/workflows/ci-test-limited.yml b/.github/workflows/ci-test-limited.yml index e6be6dcdaf..c6e249d008 100644 --- a/.github/workflows/ci-test-limited.yml +++ b/.github/workflows/ci-test-limited.yml @@ -151,6 +151,7 @@ jobs: working-directory: "." run: | sudo /etc/init.d/ssh stop ; + sudo systemctl disable --now ssh.socket mkdir -p ~/git-server/keys docker run --name test-event-driver -d -p 22:22 -p 5001:5001 -p 3306:3306 \ -p 5433:5432 -p 28017:27017 -p 25:25 -p 4200:4200 -p 5000:5000 -p 3001:3000 -p 6001:6001 -p 8001:8000 --privileged --pid=host --ipc=host --volume /:/host -v ~/git-server/keys:/git-server/keys \