From 424b8caff3b91aad3fc8f10a6264b6f205764f81 Mon Sep 17 00:00:00 2001 From: Akira KAWAGUCHI Date: Fri, 22 Mar 2024 18:36:50 +0900 Subject: [PATCH] ci: modify to use hosted runner --- .github/workflows/ci-build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 1c399ad..fb4c93b 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -10,14 +10,10 @@ on: jobs: Build: - runs-on: [self-hosted, docker] + runs-on: ubuntu-latest permissions: checks: write timeout-minutes: 30 - container: - image: ghcr.io/project-tsurugi/tsurugi-ci:latest - volumes: - - ${{ vars.gradle_cache_dir }}:/root/.gradle defaults: run: shell: bash @@ -36,8 +32,12 @@ jobs: --health-interval 10s --health-timeout 5s --health-retries 5 + ports: + - 5432:5432 tsurugi: image: ghcr.io/project-tsurugi/tsurugidb:snapshot + ports: + - 12345:12345 steps: - name: Setup_Java @@ -55,7 +55,7 @@ jobs: - name: Test run: | - ./gradlew -i test --warning-mode all -Purl.replace="jdbc:postgresql://127.0.0.1/phonebill|jdbc:postgresql://postgres/phonebill,tcp://localhost:12345|tcp://tsurugi:12345" + ./gradlew -i test --warning-mode all - name: Static_Analysis run: |