chore: bump powsybl-network-store to v1.19.0 #956
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: CI | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| tags: | |
| - 'v[0-9]*' | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 17 | |
| - name: Checkout sources | |
| uses: actions/checkout@v1 | |
| - name: Build with Maven | |
| run: mvn --batch-mode -P jacoco verify | |
| - name: Run SonarCloud analysis | |
| run: > | |
| mvn --batch-mode -DskipTests sonar:sonar | |
| -Dsonar.host.url=https://sonarcloud.io | |
| -Dsonar.organization=gridsuite | |
| -Dsonar.projectKey=org.gridsuite:security-analysis-server | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
| - name: Build Docker image - Main | |
| if: github.ref == 'refs/heads/main' | |
| run: > | |
| mvn --batch-mode deploy -DskipTests -Dmaven.install.skip -Dmaven.deploy.skip -Dpowsybl.docker.deploy | |
| -Djib.httpTimeout=60000 | |
| -Djib.to.image=docker.io/gridsuite/security-analysis-server | |
| -Djib.to.auth.username=gridsuiteci | |
| -Djib.to.auth.password=${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Build Docker image - Tag | |
| if: startsWith(github.ref, 'refs/tags/') | |
| run: > | |
| mvn --batch-mode deploy -DskipTests -Dmaven.install.skip -Dmaven.deploy.skip -Dpowsybl.docker.deploy | |
| -Djib.httpTimeout=60000 | |
| -Djib.to.image=docker.io/gridsuite/security-analysis-server:${GITHUB_REF_NAME#v} | |
| -Djib.to.auth.username=gridsuiteci | |
| -Djib.to.auth.password=${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Broadcast update event | |
| if: github.ref == 'refs/heads/main' | |
| uses: gridsuite/broadcast-event@main | |
| with: | |
| token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
| event-type: security_analysis_server_updated |