zms server does not include service dependency for dynamic checks #816
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pull Requests | |
| on: | |
| pull_request: | |
| branches: | |
| - 'master' | |
| permissions: | |
| actions: none | |
| checks: none | |
| contents: read | |
| deployments: none | |
| issues: none | |
| discussions: none | |
| packages: none | |
| pull-requests: none | |
| repository-projects: none | |
| security-events: none | |
| statuses: none | |
| env: | |
| GOLANG_VERSION: 1.24 | |
| NODEJS_VERSION: 22 | |
| JAVA_VERSION_FULL_BUILD: 17 | |
| JAVA_VERSION_CLIENT_BUILD: 11 | |
| JAVA_DISTRO: temurin | |
| JAVA_ARCH: x64 | |
| jobs: | |
| full-build: | |
| runs-on: ubuntu-latest-4-cores | |
| steps: | |
| - name: Checkout repository | |
| id: checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Golang | |
| id: setup-go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: ${{ env.GOLANG_VERSION }} | |
| - name: Setup Node | |
| id: setup-node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ env.NODEJS_VERSION }} | |
| - name: Setup Java | |
| id: setup-java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ env.JAVA_VERSION_FULL_BUILD }} | |
| distribution: ${{ env.JAVA_DISTRO }} | |
| architecture: ${{ env.JAVA_ARCH }} | |
| - name: Setup ZMS DB Schema file | |
| run: cp servers/zms/schema/zms_server.sql servers/zms/src/test/resources/mysql | |
| - name: Build Athenz | |
| run: mvn -B install | |
| client-build: | |
| runs-on: ubuntu-latest-4-cores | |
| steps: | |
| - name: Checkout repository | |
| id: checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Golang | |
| id: setup-go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: ${{ env.GOLANG_VERSION }} | |
| - name: Setup Java | |
| id: setup-java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ env.JAVA_VERSION_CLIENT_BUILD }} | |
| distribution: ${{ env.JAVA_DISTRO }} | |
| architecture: ${{ env.JAVA_ARCH }} | |
| - name: Build Athenz Clients | |
| run: mvn -B -pl core/zms,core/zts,core/msd,libs/java/auth_core,libs/java/client_common,libs/java/cert_refresher,clients/java/zms,clients/java/zts,clients/java/zpe,clients/java/msd,libs/java/gcp_zts_creds install |