Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mickamy committed Dec 31, 2023
1 parent 9f03671 commit 23e7c3a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 23e7c3a

Please sign in to comment.