Skip to content

Commit

Permalink
Use right port
Browse files Browse the repository at this point in the history
  • Loading branch information
eray-felek-sonarsource committed Dec 4, 2024
1 parent 052639f commit d4d5070
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,25 +227,29 @@ qa_task:
CLION_HOME: "/C/Program Files/clion"
matrix:
- env:
IDEA_VERSION: 'IC-2022.3.1'
QA_CATEGORY: 'Idea2022'
TEST_SUITE: 'Standalone'
IDEA_VERSION: 'RD-2022.3.1'
QA_CATEGORY: 'Rider2022'
<<: *SETUP_GRADLE_CACHE
prepare_background_script: |
set -euo pipefail
source cirrus-env QA
source .cirrus/use-gradle-wrapper.sh
echo "Prepare env and start IDE ${IDEA_VERSION}"
echo "Prepare env and start IDE ${IDEA_VERSION}"
source set_gradle_build_version
#echo "Prepare env and start IDE ${IDEA_VERSION}"
#echo gradle --version
mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.1:unpack -B -Dartifact=org.sonarsource.sonarlint.intellij:sonarlint-intellij:${PROJECT_VERSION}:zip "-DoutputDirectory=${CIRRUS_WORKING_DIR}/staged-plugin"
# echo ${CIRRUS_WORKING_DIR}
# echo ls ${CIRRUS_WORKING_DIR}/staged-plugin
mkdir -p its/build/idea-sandbox/config-uiTest/
gradle :its:runIdeForUiTests --stacktrace -i -PijVersion=${IDEA_VERSION} -PslPluginDirectory=${CIRRUS_WORKING_DIR}/staged-plugin > ${CIRRUS_WORKING_DIR}/runIdeGradle.log &
wait_ide_script: |
echo "Wait for IDE to start"
sleep 600s
sleep 500s
curl --connect-timeout 1 --insecure -s -o /dev/null http://127.0.0.1:8082
# TODO write windows version of wait-for-endpoint.sh
# .cirrus/wait-for-endpoint.sh http://127.0.0.1:8083 -t 500
# .cirrus/wait-for-endpoint.sh http://127.0.0.1:8082 -t 10
run_its_script: |
echo "Run ITs on ${IDEA_VERSION}"
source .cirrus/use-gradle-wrapper.sh
Expand Down

0 comments on commit d4d5070

Please sign in to comment.