Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Base Worker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Workers
Base Worker
Merge requests
!76
Merge parents caches into the current task one
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Merge parents caches into the current task one
merge-parents-cache
into
master
Overview
2
Commits
11
Pipelines
1
Changes
1
All threads resolved!
Hide all comments
Merged
Eva Bardou
requested to merge
merge-parents-cache
into
master
4 years ago
Overview
2
Commits
11
Pipelines
1
Changes
1
All threads resolved!
Hide all comments
Expand
Closes
#45 (closed)
Edited
4 years ago
by
Eva Bardou
0
0
Merge request reports
Viewing commit
dfba0612
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
dfba0612
Use proxy self.request
· dfba0612
Bastien Abadie
authored
3 years ago
arkindex_worker/worker.py
+
1
−
1
Options
@@ -156,7 +156,7 @@ class BaseWorker(object):
# Merging parents caches (if there are any) in the current task local cache
task_id
=
os
.
environ
.
get
(
"
TASK_ID
"
)
if
self
.
use_cache
and
task_id
is
not
None
:
task
=
self
.
api_client
.
request
(
"
RetrieveTaskFromAgent
"
,
id
=
task_id
)
task
=
self
.
request
(
"
RetrieveTaskFromAgent
"
,
id
=
task_id
)
merge_parents_cache
(
task
[
"
parents
"
],
self
.
cache_path
,
Loading