Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Metagenomics
metagenedb
Commits
9aa99a94
Commit
9aa99a94
authored
Aug 07, 2020
by
Kenzo-Hugo Hillion
♻
Browse files
change cronjob weekly and try new conf for celery
parent
bbde253f
Pipeline
#35267
passed with stages
in 3 minutes and 26 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
backend/scripts/run_celery.sh
0 → 100644
View file @
9aa99a94
celery worker
--app
=
metagenedb.celery_app:app
--loglevel
=
info
\ No newline at end of file
ci/kubernetes/celery-worker.yaml
View file @
9aa99a94
...
...
@@ -18,7 +18,8 @@ spec:
-
name
:
celery-worker
image
:
$CI_REGISTRY_IMAGE/backend:${CI_COMMIT_REF_NAME}
imagePullPolicy
:
Always
command
:
[
"
bash"
,
"
-c"
,
"
'manage.py
watch_celery'"
]
args
:
-
/code/scripts/run_celery.sh
env
:
-
name
:
DATABASE_HOST
value
:
postgresql
...
...
ci/kubernetes/cronjob.yaml
View file @
9aa99a94
...
...
@@ -3,7 +3,7 @@ kind: CronJob
metadata
:
name
:
compute-statistics
spec
:
schedule
:
"
0
0
*
*
*
"
schedule
:
"
0
0
*
*
0
"
jobTemplate
:
spec
:
template
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment