Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NumEco Ecologie Gouv
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
Numérique et Écologie
NumEco Ecologie Gouv
Commits
7138f95e
Commit
7138f95e
authored
1 year ago
by
CANÉVET Cindy
Browse files
Options
Downloads
Patches
Plain Diff
Refactoring de la mise à jour des stats
parent
b91d8115
No related branches found
No related tags found
1 merge request
!11
Feature/refactoring
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
update/update_stats.py
+0
-0
0 additions, 0 deletions
update/update_stats.py
with
1 addition
and
1 deletion
.gitlab-ci.yml
+
1
−
1
View file @
7138f95e
...
...
@@ -138,7 +138,7 @@ update_stats:
script
:
-
'
curl
--header
"$JOB_HEADER:
$CI_JOB_TOKEN"
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/stats/latest/numeco-ecologiegouv.db"
-O'
-
pip install humanize
-
python
analyser_st
at
s
/update_stats.py
-
python
upd
at
e
/update_stats.py
-
'
if
[
-z
"$DEBUG"
];
then
curl
--header
"$JOB_HEADER:
$CI_JOB_TOKEN"
--upload-file
numeco-ecologiegouv.db
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/stats/latest/numeco-ecologiegouv.db";
fi'
artifacts
:
paths
:
...
...
This diff is collapsed.
Click to expand it.
analyser_st
at
s
/update_stats.py
→
upd
at
e
/update_stats.py
+
0
−
0
View file @
7138f95e
File moved
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