diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 9ecdb72d..8b883e56 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -26,9 +26,13 @@ jobs: - "ruby" steps: - uses: actions/checkout@v2 - - run: sed -i 's/python/'"$ISUCON_APP_LANG"'/g' ./docker-compose.yml && make build + - run: echo 'Run benchmark for ISHOCON2' + - run: | + sed -i 's/python/'"$ISHOCON_APP_LANG"'/g' ./docker-compose.yml + cat ./docker-compose.yml + make build env: - ISHOCON_APP_LANG: run_${{ matrix.language }} - - run: make up && sleep 10 + ISHOCON_APP_LANG: ${{ matrix.language }} + - run: make up && sleep 30 - run: make bench timeout-minutes: 5 diff --git a/run.sh b/run.sh index d8495eb6..597c01b1 100755 --- a/run.sh +++ b/run.sh @@ -2,6 +2,13 @@ app_lang="${ISHOCON_APP_LANG}" +echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" +echo "${ISHOCON_APP_LANG} =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" +echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=" +sed -i 's/python/'"$ISUCON_APP_LANG"'/g' ./docker-compose.yml +cat ./docker-compose.yml +make build + if [ -z "$app_lang" ] then echo "ISHOCON_APP_LANG is not set"