test: TED support for GITEA (#20477)

## Description

- This PR Stops SSH which is run on port 22 for enabling it for Local
Gitea support from TED

## Type of change

- Ci-test yml file update:

## Checklist
### QA activity:
- [X] Added Test Plan Approved label after reviewing all changes
This commit is contained in:
Aishwarya-U-R 2023-02-14 22:59:40 +05:30 committed by GitHub
parent a47dba5e26
commit b9bc9eaf7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,9 +185,10 @@ jobs:
APPSMITH_LICENSE_KEY: ${{ secrets.APPSMITH_LICENSE_KEY }} APPSMITH_LICENSE_KEY: ${{ secrets.APPSMITH_LICENSE_KEY }}
working-directory: "." working-directory: "."
run: | run: |
sudo /etc/init.d/ssh stop ;
mkdir -p ~/git-server/keys mkdir -p ~/git-server/keys
mkdir -p ~/git-server/repos mkdir -p ~/git-server/repos
docker run --name test-event-driver -d -p 2222:22 -p 5001:5001 -p 3306:3306 \ docker run --name test-event-driver -d -p 22:22 -p 5001:5001 -p 3306:3306 \
-p 5432:5432 -p 28017:27017 -p 25:25 -p 5000:5000 -p 3000:3000 --privileged --pid=host --ipc=host --volume /:/host -v ~/git-server/keys:/git-server/keys \ -p 5432:5432 -p 28017:27017 -p 25:25 -p 5000:5000 -p 3000:3000 --privileged --pid=host --ipc=host --volume /:/host -v ~/git-server/keys:/git-server/keys \
-v ~/git-server/repos:/git-server/repos appsmith/test-event-driver:latest -v ~/git-server/repos:/git-server/repos appsmith/test-event-driver:latest
cd cicontainerlocal cd cicontainerlocal