Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Fidle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Talks
Fidle
Commits
e96651c5
Commit
e96651c5
authored
3 years ago
by
Jean-Luc Parouty
Browse files
Options
Downloads
Patches
Plain Diff
Update CI
parent
bfddafd1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fidle/02-running-ci-tests.ipynb
+1
-1
1 addition, 1 deletion
fidle/02-running-ci-tests.ipynb
with
1 addition
and
1 deletion
fidle/02-running-ci-tests.ipynb
+
1
−
1
View file @
e96651c5
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
"outputs": [],
"outputs": [],
"source": [
"source": [
"%%bash\n",
"%%bash\n",
"tree ./run/ci\n",
"
#
tree ./run/ci\n",
"# find .. -name \"*==ci==.*\" -ls | sort -k11\n",
"# find .. -name \"*==ci==.*\" -ls | sort -k11\n",
"# rm $(find .. -name \"*==ci==.ipynb\")\n",
"# rm $(find .. -name \"*==ci==.ipynb\")\n",
"# rm $(find .. -name \"*==ci==.html\")"
"# rm $(find .. -name \"*==ci==.html\")"
...
...
%% Cell type:markdown id: tags:
%% Cell type:markdown id: tags:
<img
width=
"800px"
src=
"../fidle/img/00-Fidle-header-01.svg"
></img>
<img
width=
"800px"
src=
"../fidle/img/00-Fidle-header-01.svg"
></img>
# Gestion des tests d'intégration continue
# Gestion des tests d'intégration continue
**La liste des notebooks a éxécuter**
et de leurs paramètres (override) est définie dans un
**profile**
.
\
**La liste des notebooks a éxécuter**
et de leurs paramètres (override) est définie dans un
**profile**
.
\
Un
**rapport d'éxécution**
est généré durant l'éxécution des tests.
Un
**rapport d'éxécution**
est généré durant l'éxécution des tests.
## Step 1 - Init
## Step 1 - Init
%% Cell type:code id: tags:
%% Cell type:code id: tags:
```
```
import cookci
import cookci
import os
import os
import pwk
import pwk
datasets_dir = pwk.init('RUNCI')
datasets_dir = pwk.init('RUNCI')
```
```
%% Cell type:markdown id: tags:
%% Cell type:markdown id: tags:
## Step 2 - Profile and parameters
## Step 2 - Profile and parameters
`profile_name`
: ci profile name - see en ./ci
`profile_name`
: ci profile name - see en ./ci
`reset`
: reset or not the catalog of results
`reset`
: reset or not the catalog of results
`filters`
: regex to define witch notebook will be run, examples :
`filters`
: regex to define witch notebook will be run, examples :
-
`.*`
-
`.*`
-
`Nb_GTSRB.*|Nb_AE.*`
-
`Nb_GTSRB.*|Nb_AE.*`
-
`Nb_VAE3`
-
`Nb_VAE3`
%% Cell type:code id: tags:
%% Cell type:code id: tags:
```
```
profile_name = './ci/small_cpu.yml'
profile_name = './ci/small_cpu.yml'
reset = False
reset = False
filter = 'Nb_LINR1'
filter = 'Nb_LINR1'
pwk.override('profile_name', 'reset', 'filter')
pwk.override('profile_name', 'reset', 'filter')
```
```
%% Cell type:markdown id: tags:
%% Cell type:markdown id: tags:
## Step 3 - Run it
## Step 3 - Run it
%% Cell type:code id: tags:
%% Cell type:code id: tags:
```
```
cookci.run_profile(profile_name, reset, filter)
cookci.run_profile(profile_name, reset, filter)
cookci.build_ci_report(profile_name)
cookci.build_ci_report(profile_name)
```
```
%% Cell type:code id: tags:
%% Cell type:code id: tags:
```
```
%%bash
%%bash
tree ./run/ci
#
tree ./run/ci
# find .. -name "*==ci==.*" -ls | sort -k11
# find .. -name "*==ci==.*" -ls | sort -k11
# rm $(find .. -name "*==ci==.ipynb")
# rm $(find .. -name "*==ci==.ipynb")
# rm $(find .. -name "*==ci==.html")
# rm $(find .. -name "*==ci==.html")
```
```
%% Cell type:markdown id: tags:
%% Cell type:markdown id: tags:
---
---
<img
width=
"80px"
src=
"../fidle/img/00-Fidle-logo-01.svg"
></img>
<img
width=
"80px"
src=
"../fidle/img/00-Fidle-logo-01.svg"
></img>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment