Add and use local storage in pipeline
- Add docker runner with binding to local file system.
-
Using the scratch disk under
/scratch/eicweb
- Setup cron job to clean up old data
-
bind under
/scratch
then create a project_pipeline directory.
Designs
- Show closed items
Related merge requests 1
When this merge request is accepted, this issue will be closed automatically.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Whitney Armstrong added critical event processing labels
added critical event processing labels
- Whitney Armstrong changed the description
changed the description
- Author Owner
@sly2j I have added to the
/etc/gitlab-runner/config.toml
for the tagless runner the volume flag.In the
runners.docker
section"/scratch/eicweb:/scratch:rw"
was appended to the list ofvolumes
.This worked as expected. I tested it with a job from eicd: https://eicweb.phy.anl.gov/EIC/eicd/-/jobs/61828#L23
- Whitney Armstrong marked the checklist item Add docker runner with binding to local file system. as completed
marked the checklist item Add docker runner with binding to local file system. as completed
- Whitney Armstrong marked the checklist item Using the scratch disk under
/scratch/eicweb
as completedmarked the checklist item Using the scratch disk under
/scratch/eicweb
as completed - Whitney Armstrong changed the description
changed the description
- Whitney Armstrong marked the checklist item bind under
/scratch
then create a project_pipeline directory. as completedmarked the checklist item bind under
/scratch
then create a project_pipeline directory. as completed - Author Owner
I am creating a directory for each pipeline. It is slightly redundant with the project name and then pipeline ID. The latter is unique on the entire server but I thought the having the project name first will help with the clean up.
- Whitney Armstrong assigned to @whit
assigned to @whit
- Whitney Armstrong created merge request !21 (closed) to address this issue
created merge request !21 (closed) to address this issue
- Whitney Armstrong mentioned in merge request !21 (closed)
mentioned in merge request !21 (closed)
- Author Owner
For the clean up see issue #22 (closed)
- Whitney Armstrong closed
closed
- Ghost User mentioned in commit 6a9eab54
mentioned in commit 6a9eab54