Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Script recalcul calque
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ERASME
Script recalcul calque
Commits
e71ec9da
Commit
e71ec9da
authored
2 years ago
by
Pierre-Gilles Levallois
Browse files
Options
Downloads
Patches
Plain Diff
parameterize grid size
parent
7a845908
Branches
Branches containing commit
No related tags found
1 merge request
!6
Fully functional version that calculate layer with all stages
Pipeline
#48157
passed
2 years ago
Stage: Build Calqul
Stage: Deploy Calqul
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfiles/python/scripts/launch.sh
+8
-6
8 additions, 6 deletions
Dockerfiles/python/scripts/launch.sh
with
8 additions
and
6 deletions
Dockerfiles/python/scripts/launch.sh
+
8
−
6
View file @
e71ec9da
...
@@ -80,7 +80,9 @@ DB_HOST=$2
...
@@ -80,7 +80,9 @@ DB_HOST=$2
DB_PORT
=
$3
DB_PORT
=
$3
DB_NAME
=
$4
DB_NAME
=
$4
DB_USER
=
$5
DB_USER
=
$5
CODE_INSEE
=
69275
GRID_SIZE
=
5
CODE_INSEE
=
69275
# Décine-Charpieu
DATA_REPO
=
"https://forge.grandlyon.com/erasme/data-recalcul-calque.git"
DATA_REPO
=
"https://forge.grandlyon.com/erasme/data-recalcul-calque.git"
...
@@ -156,20 +158,20 @@ check
...
@@ -156,20 +158,20 @@ check
# python3 main.py initCommunes
# python3 main.py initCommunes
# check
# check
comment
"Init Grid"
comment
"Init Grid
$GRID_SIZE
$CODE_INSEE
"
python3 main.py initGrid
5
$CODE_INSEE
python3 main.py initGrid
$GRID_SIZE
$CODE_INSEE
check
check
comment
"InitDatas"
comment
"InitDatas
$CODE_INSEE
"
python3 main.py initDatas
$CODE_INSEE
python3 main.py initDatas
$CODE_INSEE
check
check
stage
"Launch Computations..."
stage
"Launch Computations..."
comment
"Computing factors"
comment
"Computing factors
$CODE_INSEE
"
python3 main.py computeFactors
$CODE_INSEE
# Possibly Multiprocessing task, Should have a list of townships
python3 main.py computeFactors
$CODE_INSEE
# Possibly Multiprocessing task, Should have a list of townships
check
check
comment
"Computing Indices"
comment
"Computing Indices
$CODE_INSEE
"
python3 main.py computeIndices
$CODE_INSEE
python3 main.py computeIndices
$CODE_INSEE
check
check
...
...
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