-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This features adds a way to deploy Substra with users being created by the SSO as "user awaiting approval". They need the approval from an admin. --------- Signed-off-by: Léo-Paul HAUET <[email protected]>
- Loading branch information
1 parent
e295624
commit 90b4e69
Showing
38 changed files
with
343 additions
and
266 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 |
---|---|---|
|
@@ -12,7 +12,7 @@ on: | |
paths: | ||
- "charts/**" | ||
|
||
concurrency: | ||
concurrency: | ||
group: "${{ github.workflow }}-${{ github.ref }}" | ||
cancel-in-progress: true | ||
|
||
|
@@ -57,8 +57,8 @@ jobs: | |
- name: Checkout bitnami-labs/readme-generator-for-helm | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: 'bitnami-labs/readme-generator-for-helm' | ||
ref: '2.5.0' | ||
repository: "bitnami-labs/readme-generator-for-helm" | ||
ref: "2.5.0" | ||
path: readme-generator-for-helm | ||
|
||
- name: Install readme-generator-for-helm dependencies | ||
|
@@ -70,18 +70,18 @@ jobs: | |
|
||
- name: Execute readme-generator-for-helm | ||
run: readme-generator-for-helm/bin/index.js -r backend/charts/substra-backend/README.md -v backend/charts/substra-backend/values.yaml | ||
|
||
- name: Check diff | ||
run: | | ||
cd backend/ | ||
if [ -z "$(git status --porcelain)" ]; then | ||
exit 0 | ||
else | ||
echo "There should be no change generated, please run 'make chart-doc' to update the chart README.md" | ||
echo "There should be no change generated, please run 'make doc' in backend/charts/ to update the chart README.md" | ||
git diff | ||
exit 1 | ||
fi | ||
publish: | ||
name: Publish | ||
runs-on: ubuntu-latest | ||
|
@@ -91,12 +91,12 @@ jobs: | |
- generate-chart-readme | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: azure/[email protected] | ||
with: | ||
version: "v3.12.0" | ||
id: install | ||
|
||
- name: Add dependencies repo | ||
run: | | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
|
@@ -112,7 +112,7 @@ jobs: | |
uses: actions/checkout@v3 | ||
with: | ||
repository: Substra/charts | ||
ref: 'main' | ||
ref: "main" | ||
token: ${{ secrets.CHARTS_GITHUB_TOKEN }} | ||
path: substra-charts | ||
|
||
|
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
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
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
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
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
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
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
Oops, something went wrong.