Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on:
push:
branches:
- 'main'
pull_request:

jobs:
build:
uses: powsybl/github-ci/.github/workflows/build-generic.yml@baf0d2ed84b70d359132693880d5e530cd93f168
with:
sonarOrganization: gridsuite
sonarProjectKey: org.gridsuite:dynamic-mapping-server
dockerImage: docker.io/gridsuite/dynamic-mapping-server
dockerUsername: gridsuiteci
eventType: dynamic_mapping_server_updated
secrets:
sonar-token: ${{ secrets.SONAR_TOKEN }}
docker-token: ${{ secrets.DOCKERHUB_TOKEN }}
repo-token: ${{ secrets.REPO_ACCESS_TOKEN }}
61 changes: 0 additions & 61 deletions .github/workflows/maven.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/patch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Patch

on:
workflow_dispatch:
inputs:
releaseVersion:
description: version to patch (vX.X)
required: true

jobs:
run-patch:
uses: powsybl/github-ci/.github/workflows/patch-generic.yml@baf0d2ed84b70d359132693880d5e530cd93f168
with:
githubappId: ${{ vars.GRIDSUITE_ACTIONS_APPID }}
sonarOrganization: gridsuite
sonarProjectKey: org.gridsuite:dynamic-mapping-server
dockerImage: docker.io/gridsuite/dynamic-mapping-server
dockerUsername: gridsuiteci
releaseVersion: ${{ github.event.inputs.releaseVersion }}
secrets:
githubappPrivateKey: ${{ secrets.GRIDSUITE_ACTIONS_SECRET }}
sonar-token: ${{ secrets.SONAR_TOKEN }}
docker-token: ${{ secrets.DOCKERHUB_TOKEN }}

27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release

on:
workflow_dispatch:
inputs:
releaseVersion:
description: Release version (vX.X)
required: true
gitReference:
description: SHA of the commit from where to release or branch name
required: true

jobs:
run-release:
uses: powsybl/github-ci/.github/workflows/release-generic.yml@baf0d2ed84b70d359132693880d5e530cd93f168
with:
githubappId: ${{ vars.GRIDSUITE_ACTIONS_APPID }}
sonarOrganization: gridsuite
sonarProjectKey: org.gridsuite:dynamic-mapping-server
dockerImage: docker.io/gridsuite/dynamic-mapping-server
dockerUsername: gridsuiteci
releaseVersion: ${{ github.event.inputs.releaseVersion }}
gitReference: ${{ github.event.inputs.gitReference }}
secrets:
githubappPrivateKey: ${{ secrets.GRIDSUITE_ACTIONS_SECRET }}
sonar-token: ${{ secrets.SONAR_TOKEN }}
docker-token: ${{ secrets.DOCKERHUB_TOKEN }}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<groupId>org.gridsuite</groupId>
<artifactId>gridsuite-dynamic-mapping-server</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>2.8.0-SNAPSHOT</version>

<packaging>jar</packaging>
<name>Dynamic Mapping server</name>
Expand Down
Loading