Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3ed00ce6
Commit
3ed00ce6
authored
Feb 08, 2021
by
Marco Ost
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update default expire_build_artifacts_worker time
parent
965f57d3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/administration/job_artifacts.md
doc/administration/job_artifacts.md
+3
-3
No files found.
doc/administration/job_artifacts.md
View file @
3ed00ce6
...
@@ -339,7 +339,7 @@ an expiry for the artifacts, they are marked for deletion right after that date
...
@@ -339,7 +339,7 @@ an expiry for the artifacts, they are marked for deletion right after that date
Otherwise, they expire per the
[
default artifacts expiration setting
](
../user/admin_area/settings/continuous_integration.md
)
.
Otherwise, they expire per the
[
default artifacts expiration setting
](
../user/admin_area/settings/continuous_integration.md
)
.
Artifacts are cleaned up by the
`expire_build_artifacts_worker`
cron job which Sidekiq
Artifacts are cleaned up by the
`expire_build_artifacts_worker`
cron job which Sidekiq
runs every
hour at 50 minutes (
`50
* * * *`
).
runs every
7 minutes (
`*/7
* * * *`
).
To change the default schedule on which the artifacts are expired, follow the
To change the default schedule on which the artifacts are expired, follow the
steps below.
steps below.
...
@@ -350,7 +350,7 @@ steps below.
...
@@ -350,7 +350,7 @@ steps below.
your schedule in cron syntax:
your schedule in cron syntax:
```
ruby
```
ruby
gitlab_rails
[
'expire_build_artifacts_worker_cron'
]
=
"
50
* * * *"
gitlab_rails
[
'expire_build_artifacts_worker_cron'
]
=
"
*/7
* * * *"
```
```
1.
Save the file and
[
reconfigure GitLab
](
restart_gitlab.md#omnibus-gitlab-reconfigure
)
for the changes to take effect.
1.
Save the file and
[
reconfigure GitLab
](
restart_gitlab.md#omnibus-gitlab-reconfigure
)
for the changes to take effect.
...
@@ -362,7 +362,7 @@ steps below.
...
@@ -362,7 +362,7 @@ steps below.
```
yaml
```
yaml
expire_build_artifacts_worker
:
expire_build_artifacts_worker
:
cron
:
"
50
*
*
*
*"
cron
:
"
*/7
*
*
*
*"
```
```
1.
Save the file and
[
restart GitLab
](
restart_gitlab.md#installations-from-source
)
for the changes to take effect.
1.
Save the file and
[
restart GitLab
](
restart_gitlab.md#installations-from-source
)
for the changes to take effect.
...
...
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