-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/update_java_qs
- Loading branch information
Showing
13 changed files
with
141 additions
and
16 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
name: Flask | ||
description: "Flask is a micro web framework written in Python. Technologies: Flask 2.2.2, Python 3.9" | ||
description: "Flask is a micro web framework written in Python. Technologies: Flask 3.0.0, Python 3.11" | ||
supplier: https://www.palletsprojects.com/p/flask/ | ||
version: 4.x | ||
type: ods |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
gunicorn==20.1.0 | ||
flask==2.3.2 | ||
gunicorn==21.2.0 | ||
flask==3.0.0 |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
-r ./requirements.txt | ||
|
||
mypy==1.3.0 | ||
flake8==6.0.0 | ||
pytest==7.3.1 | ||
mypy==1.7.1 | ||
flake8==6.1.0 | ||
pytest==7.4.3 | ||
pytest-cov==4.1.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
streamlit==1.22.0 | ||
plotly==5.14.1 | ||
pandas==2.0.2 | ||
streamlit==1.29.0 | ||
plotly==5.18.0 | ||
pandas==2.1.4 |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
-r ./requirements.txt | ||
|
||
mypy==1.3.0 | ||
flake8==6.0.0 | ||
pytest==7.3.1 | ||
mypy==1.7.1 | ||
flake8==6.1.0 | ||
pytest==7.4.3 | ||
pytest-cov==4.1.0 | ||
black==23.3.0 | ||
black==23.11.0 |
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,42 @@ | ||
[ | ||
{ | ||
"stage": "odsPipeline start", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "Create virtualenv for tests", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "Linter", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "Unit Test", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "Build", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "SonarQube Analysis", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "Build OpenShift Image", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "Build OpenShift Image (streamlit-oauth)", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "Deploy to OpenShift", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "odsPipeline finished", | ||
"status": "SUCCESS" | ||
} | ||
] |
30 changes: 30 additions & 0 deletions
30
ds-streamlit/testdata/golden/jenkins-provision-stages.json
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,30 @@ | ||
[ | ||
{ | ||
"stage": "Checkout quickstarter", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "Initialize output directory", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "Copy files from quickstarter", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "Setup OpenShift resources", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "Create Jenkinsfile", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "Create sonar-project.properties", | ||
"status": "SUCCESS" | ||
}, | ||
{ | ||
"stage": "Push to remote", | ||
"status": "SUCCESS" | ||
} | ||
] |
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,25 @@ | ||
{ | ||
"key": "{{.ProjectID}}-{{.ComponentID}}", | ||
"name": "{{.ProjectID}}-{{.ComponentID}}", | ||
"isFavorite": false, | ||
"visibility": "public", | ||
"extensions": [], | ||
"qualityProfiles": [ | ||
{ | ||
"name": "{{.SonarQualityProfile}}", | ||
"language": "py", | ||
"deleted": false | ||
} | ||
], | ||
"qualityGate": { | ||
"name": "Sonar way", | ||
"isDefault": true | ||
}, | ||
"breadcrumbs": [ | ||
{ | ||
"key": "{{.ProjectID}}-{{.ComponentID}}", | ||
"name": "{{.ProjectID}}-{{.ComponentID}}", | ||
"qualifier": "TRK" | ||
} | ||
] | ||
} |
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 @@ | ||
componentID: streamlit | ||
steps: | ||
- type: provision | ||
provisionParams: | ||
verify: | ||
jenkinsStages: golden/jenkins-provision-stages.json | ||
- type: build | ||
buildParams: | ||
verify: | ||
jenkinsStages: golden/jenkins-build-stages.json | ||
sonarScan: golden/sonar-scan.json | ||
runAttachments: | ||
- SCRR-{{.ProjectID}}-{{.ComponentID}}.docx | ||
- SCRR-{{.ProjectID}}-{{.ComponentID}}.md | ||
openShiftResources: | ||
imageTags: | ||
- name: "{{.ComponentID}}" | ||
tag: latest | ||
- name: "{{.ComponentID}}-oauth" | ||
tag: latest | ||
imageStreams: | ||
- "{{.ComponentID}}" | ||
- "{{.ComponentID}}-oauth" | ||
deploymentConfigs: | ||
- "{{.ComponentID}}" | ||
services: | ||
- "{{.ComponentID}}-oauth" |