diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml deleted file mode 100644 index 5a131a33..00000000 --- a/.github/workflows/maven.yml +++ /dev/null @@ -1,94 +0,0 @@ -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:directory-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/directory-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/directory-server:${GITHUB_REF_NAME#v} - -Djib.to.auth.username=gridsuiteci - -Djib.to.auth.password=${{ secrets.DOCKERHUB_TOKEN }} - - build-native-image: - runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') - - steps: - - name: Setup GraalVM - uses: graalvm/setup-graalvm@v1 - with: - java-version: '17' - distribution: 'graalvm' - github-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Checkout sources - uses: actions/checkout@v1 - - - name: Build Docker Native image - Main - if: github.ref == 'refs/heads/main' - run: > - mvn --batch-mode spring-boot:build-image -Pnative -DskipTests - -Ddocker.publishRegistry.username=gridsuiteci - -Ddocker.publishRegistry.password=${{ secrets.DOCKERHUB_TOKEN }} - -Dspring-boot.build-image.imageName=docker.io/gridsuite/directory-server-native - -Dspring-boot.build-image.publish=true - - - name: Build Docker Native image - Tag - if: startsWith(github.ref, 'refs/tags/') - run: > - mvn --batch-mode spring-boot:build-image -Pnative -DskipTests - -Ddocker.publishRegistry.username=gridsuiteci - -Ddocker.publishRegistry.password=${{ secrets.DOCKERHUB_TOKEN }} - -Dspring-boot.build-image.imageName=docker.io/gridsuite/directory-server-native:${GITHUB_REF_NAME#v} - -Dspring-boot.build-image.publish=true - - - name: Broadcast update event - if: github.ref == 'refs/heads/main' - uses: gridsuite/broadcast-event@main - with: - token: ${{ secrets.REPO_ACCESS_TOKEN }} - event-type: directory_server_updated diff --git a/src/main/resources/db/changelog/changesets/changelog_20240503T080101Z.xml b/src/main/resources/db/changelog/changesets/changelog_20240503T080101Z.xml deleted file mode 100644 index ec36953c..00000000 --- a/src/main/resources/db/changelog/changesets/changelog_20240503T080101Z.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/src/main/resources/db/changelog/changesets/changelog_20240503T080242Z.xml b/src/main/resources/db/changelog/changesets/changelog_20240503T080242Z.xml deleted file mode 100644 index 287b5b04..00000000 --- a/src/main/resources/db/changelog/changesets/changelog_20240503T080242Z.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - -