Skip to content

Commit

Permalink
Merge pull request #23 from project-tsurugi/ci-use-hosted-runner
Browse files Browse the repository at this point in the history
ci: modify to use hosted runner
  • Loading branch information
umegane authored Mar 22, 2024
2 parents 99d229b + 424b8ca commit 4ea94bc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 4ea94bc

Please sign in to comment.