-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: switch to common automated workflows from powsybl (#117)
Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
- Loading branch information
1 parent
a9d6c7d
commit a02d561
Showing
5 changed files
with
73 additions
and
62 deletions.
There are no files selected for viewing
This file contains 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
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:shortcircuit-analysis-server | ||
dockerImage: docker.io/gridsuite/shortcircuit-server | ||
dockerUsername: gridsuiteci | ||
eventType: shortcircuit_server_updated | ||
secrets: | ||
sonar-token: ${{ secrets.SONAR_TOKEN }} | ||
docker-token: ${{ secrets.DOCKERHUB_TOKEN }} | ||
repo-token: ${{ secrets.REPO_ACCESS_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains 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
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:shortcircuit-analysis-server | ||
dockerImage: docker.io/gridsuite/shortcircuit-server | ||
dockerUsername: gridsuiteci | ||
releaseVersion: ${{ github.event.inputs.releaseVersion }} | ||
secrets: | ||
githubappPrivateKey: ${{ secrets.GRIDSUITE_ACTIONS_SECRET }} | ||
sonar-token: ${{ secrets.SONAR_TOKEN }} | ||
docker-token: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
This file contains 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
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:shortcircuit-analysis-server | ||
dockerImage: docker.io/gridsuite/shortcircuit-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 }} |
This file contains 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