From 309a16d41c91b5a1117faefda480b5e378a55e8a Mon Sep 17 00:00:00 2001 From: Aishwarya-U-R <91450662+Aishwarya-U-R@users.noreply.github.com> Date: Tue, 7 Feb 2023 21:44:07 +0530 Subject: [PATCH] test: TED support for GITEA (#20451) ## Description - This PR adds the 3000 port mapping for the TED GITEA support for the cypress tests ## Type of change - Script update ## Checklist: ### QA activity: - [X] Test plan has been peer reviewed by QA - [X] Cypress test cases have been added and approved by either SDET or manual QA --- .github/workflows/ci-test.yml | 6 +++--- .github/workflows/fat-migration.yml | 6 +++--- .github/workflows/perf-test.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 2a2f442b93..917f1d7221 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -187,8 +187,8 @@ jobs: run: | mkdir -p ~/git-server/keys mkdir -p ~/git-server/repos - docker run --name test-event-driver -d -p 2222:22 -p 5001:5001 -p 3306:3306 \ - -p 5432:5432 -p 28017:27017 -p 25:25 -p 5000:5000 --privileged --pid=host --ipc=host --volume /:/host -v ~/git-server/keys:/git-server/keys \ + 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 \ -v ~/git-server/repos:/git-server/repos appsmith/test-event-driver:latest cd cicontainerlocal docker run -d --name appsmith -p 80:80 -p 9001:9001 \ @@ -473,4 +473,4 @@ jobs: # Set status = success - name: Save the status of the run - run: echo "run_result=success" >> $GITHUB_OUTPUT > ~/run_result + run: echo "run_result=success" >> $GITHUB_OUTPUT > ~/run_result \ No newline at end of file diff --git a/.github/workflows/fat-migration.yml b/.github/workflows/fat-migration.yml index ab6763efd2..a89d5d1508 100644 --- a/.github/workflows/fat-migration.yml +++ b/.github/workflows/fat-migration.yml @@ -128,8 +128,8 @@ jobs: mkdir -p `pwd`/git-server/keys mkdir -p `pwd`/git-server/repos 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 --volume /:/host \ - -v `pwd`/git-server/repos:/git-server/repos appsmith/test-event-driver:nightly + -p 5432:5432 -p 28017:27017 -p 25:25 -p 5000:5000 -p 3000:3000 --volume /:/host \ + -v ~/git-server/repos:/git-server/repos appsmith/test-event-driver:latest cd cicontainerlocal docker run -d --name appsmith -p 80:80 -p 9001:9001 --add-host=host.docker.internal:host-gateway \ -v "$PWD/stacks:/appsmith-stacks" -e APPSMITH_LICENSE_KEY=$APPSMITH_LICENSE_KEY \ @@ -380,4 +380,4 @@ jobs: path: app/server/server-logs.log # Set status = success - - run: echo "::set-output name=run_result::success" > ~/run_result + - run: echo "::set-output name=run_result::success" > ~/run_result \ No newline at end of file diff --git a/.github/workflows/perf-test.yml b/.github/workflows/perf-test.yml index 49dc162058..175ea22ff8 100644 --- a/.github/workflows/perf-test.yml +++ b/.github/workflows/perf-test.yml @@ -186,8 +186,8 @@ jobs: run: | mkdir -p ~/git-server/keys mkdir -p ~/git-server/repos - docker run --name test-event-driver -d -p 2222:22 -p 5001:5001 -p 3306:3306 \ - -p 5432:5432 -p 28017:27017 -p 25:25 --privileged --pid=host --ipc=host --volume /:/host -v ~/git-server/keys:/git-server/keys \ + 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 \ -v ~/git-server/repos:/git-server/repos appsmith/test-event-driver:latest cd cicontainerlocal docker run -d --name appsmith -p 80:80 -p 9001:9001 \ @@ -300,4 +300,4 @@ jobs: # Set status = success - name: Save the status of the run - run: echo "run_result=success" >> $GITHUB_OUTPUT > ~/run_result + run: echo "run_result=success" >> $GITHUB_OUTPUT > ~/run_result \ No newline at end of file