Skip to content
Permalink
Browse files
[build.webkit.org] Upload steps should be properly named
https://bugs.webkit.org/show_bug.cgi?id=240351

Reviewed by Ryan Haddad.

* Tools/CISupport/build-webkit-org/factories_unittest.py:
(TestExpectedBuildSteps):
* Tools/CISupport/build-webkit-org/steps.py:
(ArchiveMinifiedBuiltProduct):
(UploadBuiltProduct):
(UploadMinifiedBuiltProduct):

Canonical link: https://commits.webkit.org/250496@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
aj062 committed May 12, 2022
1 parent 8689151 commit 33d96687a2b78956e963ae82f2231207e0bea37d
Showing with 29 additions and 26 deletions.
  1. +26 −26 Tools/CISupport/build-webkit-org/factories_unittest.py
  2. +3 −0 Tools/CISupport/build-webkit-org/steps.py
@@ -39,9 +39,9 @@ class TestExpectedBuildSteps(unittest.TestCase):
'delete-stale-build-files',
'compile-webkit',
'archive-built-product',
'upload',
'archive-built-product',
'upload',
'upload-built-product',
'archive-minified-built-product',
'upload-minified-built-product',
'transfer-to-s3',
'trigger'
],
@@ -186,9 +186,9 @@ class TestExpectedBuildSteps(unittest.TestCase):
'delete-stale-build-files',
'compile-webkit',
'archive-built-product',
'upload',
'archive-built-product',
'upload',
'upload-built-product',
'archive-minified-built-product',
'upload-minified-built-product',
'transfer-to-s3',
'trigger'
],
@@ -346,9 +346,9 @@ class TestExpectedBuildSteps(unittest.TestCase):
'delete-stale-build-files',
'compile-webkit',
'archive-built-product',
'upload',
'archive-built-product',
'upload',
'upload-built-product',
'archive-minified-built-product',
'upload-minified-built-product',
'transfer-to-s3',
'trigger'
],
@@ -531,9 +531,9 @@ class TestExpectedBuildSteps(unittest.TestCase):
'delete-stale-build-files',
'compile-webkit',
'archive-built-product',
'upload',
'archive-built-product',
'upload',
'upload-built-product',
'archive-minified-built-product',
'upload-minified-built-product',
'transfer-to-s3',
'trigger'
],
@@ -713,9 +713,9 @@ class TestExpectedBuildSteps(unittest.TestCase):
'delete-stale-build-files',
'compile-webkit',
'archive-built-product',
'upload',
'archive-built-product',
'upload',
'upload-built-product',
'archive-minified-built-product',
'upload-minified-built-product',
'transfer-to-s3',
'trigger'
],
@@ -730,9 +730,9 @@ class TestExpectedBuildSteps(unittest.TestCase):
'delete-stale-build-files',
'compile-webkit',
'archive-built-product',
'upload',
'archive-built-product',
'upload',
'upload-built-product',
'archive-minified-built-product',
'upload-minified-built-product',
'transfer-to-s3',
'trigger'
],
@@ -942,7 +942,7 @@ class TestExpectedBuildSteps(unittest.TestCase):
'compile',
'compile-webkit',
'archive-built-product',
'upload',
'upload-built-product',
'transfer-to-s3',
'trigger'
],
@@ -958,7 +958,7 @@ class TestExpectedBuildSteps(unittest.TestCase):
'compile',
'compile-webkit',
'archive-built-product',
'upload',
'upload-built-product',
'transfer-to-s3',
'trigger'
],
@@ -1024,7 +1024,7 @@ class TestExpectedBuildSteps(unittest.TestCase):
'generate-jsc-bundle',
'install-built-product',
'archive-built-product',
'upload',
'upload-built-product',
'transfer-to-s3',
'trigger'
],
@@ -1106,7 +1106,7 @@ class TestExpectedBuildSteps(unittest.TestCase):
'compile-webkit',
'install-built-product',
'archive-built-product',
'upload',
'upload-built-product',
'transfer-to-s3',
'trigger'
],
@@ -1305,7 +1305,7 @@ class TestExpectedBuildSteps(unittest.TestCase):
'delete-stale-build-files',
'compile-webkit',
'archive-built-product',
'upload',
'upload-built-product',
'transfer-to-s3',
'trigger'
],
@@ -1356,7 +1356,7 @@ class TestExpectedBuildSteps(unittest.TestCase):
'delete-stale-build-files',
'compile-webkit',
'archive-built-product',
'upload',
'upload-built-product',
'transfer-to-s3',
'trigger'
],
@@ -1474,7 +1474,7 @@ class TestExpectedBuildSteps(unittest.TestCase):
'jhbuild',
'compile-webkit',
'archive-built-product',
'upload',
'upload-built-product',
'transfer-to-s3',
'trigger'
],
@@ -1530,7 +1530,7 @@ class TestExpectedBuildSteps(unittest.TestCase):
'jhbuild',
'compile-webkit',
'archive-built-product',
'upload',
'upload-built-product',
'transfer-to-s3',
'trigger'
],
@@ -378,6 +378,7 @@ class ArchiveBuiltProduct(shell.ShellCommand):


class ArchiveMinifiedBuiltProduct(ArchiveBuiltProduct):
name = 'archive-minified-built-product'
command = ["python3", "Tools/CISupport/built-product-archive",
WithProperties("--platform=%(fullPlatform)s"), WithProperties("--%(configuration)s"), "archive", "--minify"]

@@ -414,6 +415,7 @@ class ExtractBuiltProduct(shell.ShellCommand):


class UploadBuiltProduct(transfer.FileUpload):
name = 'upload-built-product'
workersrc = WithProperties("WebKitBuild/%(configuration)s.zip")
masterdest = WithProperties("archives/%(fullPlatform)s-%(architecture)s-%(configuration)s/%(archive_revision)s.zip")
haltOnFailure = True
@@ -427,6 +429,7 @@ def __init__(self, **kwargs):


class UploadMinifiedBuiltProduct(UploadBuiltProduct):
name = 'upload-minified-built-product'
workersrc = WithProperties("WebKitBuild/minified-%(configuration)s.zip")
masterdest = WithProperties("archives/%(fullPlatform)s-%(architecture)s-%(configuration)s/minified-%(archive_revision)s.zip")

0 comments on commit 33d9668

Please sign in to comment.