Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
metagenedb
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Metagenomics
metagenedb
Commits
9aa99a94
Commit
9aa99a94
authored
4 years ago
by
Kenzo-Hugo Hillion
Browse files
Options
Downloads
Patches
Plain Diff
change cronjob weekly and try new conf for celery
parent
bbde253f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#35267
passed
4 years ago
Stage: build
Stage: test
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
backend/scripts/run_celery.sh
+1
-0
1 addition, 0 deletions
backend/scripts/run_celery.sh
ci/kubernetes/celery-worker.yaml
+2
-1
2 additions, 1 deletion
ci/kubernetes/celery-worker.yaml
ci/kubernetes/cronjob.yaml
+1
-1
1 addition, 1 deletion
ci/kubernetes/cronjob.yaml
with
4 additions
and
2 deletions
backend/scripts/run_celery.sh
0 → 100644
+
1
−
0
View file @
9aa99a94
celery worker
--app
=
metagenedb.celery_app:app
--loglevel
=
info
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ci/kubernetes/celery-worker.yaml
+
2
−
1
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
...
...
This diff is collapsed.
Click to expand it.
ci/kubernetes/cronjob.yaml
+
1
−
1
View file @
9aa99a94
...
...
@@ -3,7 +3,7 @@ kind: CronJob
metadata
:
name
:
compute-statistics
spec
:
schedule
:
"
0
0
*
*
*
"
schedule
:
"
0
0
*
*
0
"
jobTemplate
:
spec
:
template
:
...
...
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