Skip to content

Commit

Permalink
Bug 1932655: upgrade taskgraph to 12.1.0 r=taskgraph-reviewers,mach-r…
Browse files Browse the repository at this point in the history
…eviewers,ahal

Mainly to pick up taskcluster/taskgraph#604 and taskcluster/taskgraph#606

Differential Revision: https://phabricator.services.mozilla.com/D229800

UltraBlame original commit: f97cba74e8bd9653347e416ada5e077da97d6c99
  • Loading branch information
marco-c committed Nov 26, 2024
1 parent 7950b1d commit 7eb6c8b
Show file tree
Hide file tree
Showing 14 changed files with 177 additions and 91 deletions.
2 changes: 1 addition & 1 deletion third_party/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ taskgraph
=
12
.
0
1
"
"
taskcluster
Expand Down
6 changes: 3 additions & 3 deletions third_party/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5019,7 +5019,7 @@ taskgraph
=
12
.
0
1
.
0
\
Expand All @@ -5029,15 +5029,15 @@ hash
=
sha256
:
96a6b04bb349621664d15bbb5856018175ce85999d6e0293374603f804c7234b
c37b0ff65ab6ae3ae322bf1ecd4d3453db01b37f22164d9a33ab77e634a34d9a
\
-
-
hash
=
sha256
:
7554e8709552918a66f03029134aa99a5c9414a839962d84c00e84ee848ab97e
222ba9f729e6d970de8c177251e3a5f29010332d7cc6ca8967fd8c8b73fa2c1b
taskcluster
-
urls
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Version
:
12
.
0
1
.
0
Summary
Expand Down Expand Up @@ -71,11 +71,6 @@ mozilla
.
com
>
License
-
File
:
LICENSE
Classifier
:
Development
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ __init__
py
sha256
=
vrsuaZ4DumehJiAAPHD7O481ePEpN5N_9vuv
-
MEZuM4
_H9_zoYEWGO9c2L_M63SN76YWczgIqzggz_fETwqurI
718
taskgraph
/
Expand All @@ -25,8 +23,8 @@ create
py
sha256
=
_zokjSM3ZaO04l2LiMhenE8qXDZVfYvueIIu5hGUhzc
5185
sUKEUAFp3X_1Bs99alh4jw7cFXtDFsbh4T2pAkp5mC0
5315
taskgraph
/
decision
Expand Down Expand Up @@ -306,10 +304,12 @@ strategies
py
sha256
=
nEiUZORwflThbuO8U7CI9IPdmEMXQTUk5var4_T
tnyDw6
-
z5S2K7710Vww
-
jco
3576
EsiqtEqZl5rVYRqg8joJ1dk
3638
taskgraph
/
run
Expand All @@ -321,8 +321,8 @@ fetch
content
sha256
=
_1MWiyOChavZHSjYIweh2EGle1WGIlmwZ91GhsW0jRU
33409
_bBs9T6YSNfKL338XqPWmzXbDBc7YzKwG5YMmnnSYvE
33643
taskgraph
/
run
Expand Down Expand Up @@ -362,10 +362,8 @@ run
task
sha256
=
Cvv3L3LLX_7dL0sBPXayL5fH08Nnz0d
-
BPUMOv8RVuY
46161
SS_NegHr87dWNXBx_zK2Tuq2XUMP_t__iUZ5N5rdjB4
46229
taskgraph
/
transforms
Expand Down Expand Up @@ -900,7 +898,7 @@ taskcluster_taskgraph
-
12
.
0
1
.
0
.
Expand All @@ -911,17 +909,19 @@ info
METADATA
sha256
=
Mn2yTn5uqSbHq
hHjxzh9
-
muODo4PH68zt0MYV2KSvF06dBBOa
-
sb1kFN0YIMSrUibyixqYr
Gh5t
-
rMpuKug
4947
I
4925
taskcluster_taskgraph
-
12
.
0
1
.
0
.
Expand All @@ -932,13 +932,15 @@ info
WHEEL
sha256
=
1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY
C2FUgwZgiLbznR
-
k0b_5k3Ai_1aASOXDss3lzCUsUug
87
taskcluster_taskgraph
-
12
.
0
1
.
0
.
Expand All @@ -963,7 +965,7 @@ taskcluster_taskgraph
-
12
.
0
1
.
0
.
Expand All @@ -982,7 +984,7 @@ taskcluster_taskgraph
-
12
.
0
1
.
0
.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Generator
hatchling
1
.
25
26
.
0
3
Root
-
Is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"
12
.
0
1
.
0
"
Expand Down
40 changes: 36 additions & 4 deletions third_party/python/taskcluster_taskgraph/taskgraph/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
import
logging
import
os
import
sys
from
concurrent
Expand Down Expand Up @@ -990,19 +992,47 @@
"
)

res
proxy_url
=
session
os
.
put
environ
.
get
(
f
"
TASKCLUSTER_PROXY_URL
"
"
http
:
/
/
taskcluster
"
)
.
rstrip
(

"
/
"

)

res
=
session
.
put
(

f
"
{
proxy_url
}
/
queue
/
Expand All @@ -1014,9 +1044,11 @@
task_id
}
"

json
=
task_def

)

if
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -558,57 +558,66 @@
:

#
pushlog_id
=
=
skip
-
1
unless
-
this
is
the
case
changed
should
not
apply
when
run
from
a
there
is
no
commit
delta

#
such
as
for
cron
.
yml
job
or
on
a
git
repository
and
action
tasks
(
there
will
never
be
file
changes
)

if
params
.
get
(
"
repository_type
base_rev
"
)
=
=
"
hg
"
and
params
.
get
(
"
pushlog_id
head_rev
"
)
=
=
-
1
params
.
get
(
"
base_rev
"
)
:

return
Expand Down
Loading

0 comments on commit 7eb6c8b

Please sign in to comment.