Skip to content

Commit

Permalink
URL Directory/File upload - windows msi
Browse files Browse the repository at this point in the history
- add URL pointing to CI logs path for save mariadb logs
- fix URL's for package and sha256 uploads
  • Loading branch information
RazvanLiviuVarzaru committed Jul 24, 2024
1 parent a89ecd2 commit b48a704
Showing 1 changed file with 24 additions and 17 deletions.
41 changes: 24 additions & 17 deletions master-nonlatent/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,16 @@ f_windows_msi.addStep(
+ "/logs/"
+ "%(prop:buildername)s"
),
url=util.Interpolate(
f'{os.getenv("ARTIFACTS_URL", default="https://ci.mariadb.org")}'
'/'
"%(prop:tarbuildnum)s"
'/'
'logs'
'/'
'%(prop:buildername)s'
'/'
),
)
)
# create package and upload to master
Expand Down Expand Up @@ -506,15 +516,14 @@ f_windows_msi.addStep(
+ "/"
),
mode=0o755,
url=util.Interpolate(
"""
" """
+ os.getenv("ARTIFACTS_URL", default="https://ci.mariadb.org")
+ """/"%(prop:tarbuildnum)s"
+ "/"
+ "%(prop:buildername)s"
+ "/"
"""
url=util.Interpolate(
f'{os.getenv("ARTIFACTS_URL", default="https://ci.mariadb.org")}'
'/'
'%(prop:tarbuildnum)s'
'/'
'%(prop:buildername)s'
'/'

),
doStepIf=savePackage,
)
Expand All @@ -531,14 +540,12 @@ f_windows_msi.addStep(
),
mode=0o755,
url=util.Interpolate(
"""
" """
+ os.getenv("ARTIFACTS_URL", default="https://ci.mariadb.org")
+ """/"%(prop:tarbuildnum)s"
+ "/"
+ "%(prop:buildername)s"
+ "/"
"""
f'{os.getenv("ARTIFACTS_URL", default="https://ci.mariadb.org")}'
'/'
'%(prop:tarbuildnum)s'
'/'
'%(prop:buildername)s'
'/'
),
doStepIf=savePackage,
)
Expand Down

0 comments on commit b48a704

Please sign in to comment.