Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CI Tooling
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sysadmin
CI Tooling
Commits
761fe06f
Commit
761fe06f
authored
May 15, 2019
by
Ben Cooksley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a warning indicating why the build is being skipped over.
Fixes T10928
parent
fb955725
Pipeline
#3534
skipped with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
helpers/build-product-dependencies.py
helpers/build-product-dependencies.py
+6
-4
No files found.
helpers/build-product-dependencies.py
View file @
761fe06f
...
...
@@ -106,7 +106,7 @@ for project in builtProjects:
# We don't need to build these in order to allow for everything else to be built
cleanedDependencies
=
[
project
for
project
in
initialDependencies
if
project
.
name
in
reverseDependencies
]
# We will now resolve the full dependency graph of everything outside of the Product
# We will now resolve the full dependency graph of everything outside of the Product
# This will ensure we can assemble a fully reliable order to build everything
# And won't fail because something outside of the Product depends on something inside the Product
# It is acceptable at this point to include something which is in the Product even though that really should be happening
...
...
@@ -168,6 +168,8 @@ for project in orderToBuild:
branchToBuild
=
branchResolver
.
branchFor
(
project
,
arguments
.
branchGroup
)
# Do we have a valid branch?
if
branchToBuild
is
None
or
branchToBuild
==
''
:
print
(
"
\n
--- Unable to Commence Build: No known branch to build"
)
print
(
"--- Please ensure the kde-build-metadata repository is updated to include branch information for this project!
\n\n
"
continue
# Do we need to pass any special parameters to Git?
...
...
@@ -192,7 +194,7 @@ for project in orderToBuild:
# Configure It
configureCommand
=
'"{pythonExecutable}" -u "{baseDirectory}/ci-tooling/helpers/configure-build.py" --product {productName} --project {projectName} --branchGroup {branchGroup} --platform {currentPlatform} --installTo "{installTo}"'
commandToRun
=
configureCommand
.
format
(
commandToRun
=
configureCommand
.
format
(
pythonExecutable
=
sys
.
executable
,
baseDirectory
=
baseDirectory
,
productName
=
arguments
.
product
,
projectName
=
project
.
name
,
branchGroup
=
arguments
.
branchGroup
,
currentPlatform
=
arguments
.
platform
,
installTo
=
arguments
.
installTo
...
...
@@ -210,7 +212,7 @@ for project in orderToBuild:
# Install It
installCommand
=
'"{pythonExecutable}" -u "{baseDirectory}/ci-tooling/helpers/install-build.py" --product {productName} --project {projectName} --branchGroup {branchGroup} --platform {currentPlatform} --installTo "{installTo}" --divertTo "{baseDirectory}/{projectName}/install-divert/"'
commandToRun
=
installCommand
.
format
(
commandToRun
=
installCommand
.
format
(
pythonExecutable
=
sys
.
executable
,
baseDirectory
=
baseDirectory
,
productName
=
arguments
.
product
,
projectName
=
project
.
name
,
branchGroup
=
arguments
.
branchGroup
,
currentPlatform
=
arguments
.
platform
,
installTo
=
arguments
.
installTo
...
...
@@ -219,7 +221,7 @@ for project in orderToBuild:
# Finally Capture It
captureCommand
=
'"{pythonExecutable}" -u "{baseDirectory}/ci-tooling/helpers/capture-install.py" --product {productName} --project {projectName} --branchGroup {branchGroup} --environment {ciEnvironment} --platform {currentPlatform} --divertedTo "{baseDirectory}/{projectName}/install-divert/" --installedTo "{installTo}"'
commandToRun
=
captureCommand
.
format
(
commandToRun
=
captureCommand
.
format
(
pythonExecutable
=
sys
.
executable
,
baseDirectory
=
baseDirectory
,
productName
=
arguments
.
product
,
projectName
=
project
.
name
,
branchGroup
=
arguments
.
branchGroup
,
currentPlatform
=
arguments
.
platform
,
installTo
=
arguments
.
installTo
,
ciEnvironment
=
arguments
.
environment
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment