-
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: use common powsybl release workflows
Signed-off-by: Joris Mancini <joris.mancini_externe@rte-france.com>
- Loading branch information
1 parent
6c675b6
commit 79b0928
Showing
4 changed files
with
72 additions
and
61 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: gridsuite_spreadsheet-config-server | ||
dockerImage: docker.io/gridsuite/spreadsheet-config-server | ||
dockerUsername: gridsuiteci | ||
eventType: spreadsheet_config_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: gridsuite_spreadsheet-config-server | ||
dockerImage: docker.io/gridsuite/spreadsheet-config-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: gridsuite_spreadsheet-config-server | ||
dockerImage: docker.io/gridsuite/spreadsheet-config-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 }} |