Skip to content

Commit adb8811

Browse files
committed
Pin the CLN mirror before the package download, not before
Makes sure we actually download the packages in the same cache the following steps will use. Otherwise a sneaky DNF transaction could be executed between the two DNF actors and break something.
1 parent f83e422 commit adb8811

File tree

1 file changed

+1
-1
lines changed
  • repos/system_upgrade/cloudlinux/actors/pinclnmirror

1 file changed

+1
-1
lines changed

repos/system_upgrade/cloudlinux/actors/pinclnmirror/actor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class PinClnMirror(Actor):
2424
name = 'pin_cln_mirror'
2525
consumes = ()
2626
produces = ()
27-
tags = (IPUWorkflowTag, DownloadPhaseTag.After)
27+
tags = (IPUWorkflowTag, DownloadPhaseTag.Before)
2828

2929
CLN_REPO_ID = "cloudlinux-x86_64-server-8"
3030
DEFAULT_CLN_MIRROR = "https://xmlrpc.cln.cloudlinux.com/XMLRPC/"

0 commit comments

Comments
 (0)