Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
ci-tooling
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sysadmin
ci-tooling
Commits
b4f67c95
Commit
b4f67c95
authored
Nov 09, 2018
by
Ben Cooksley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add branch and project information to package metadata for ABI dumps
Differential Revision:
https://phabricator.kde.org/D16705
parent
762b79e8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
helpers/create-abi-dump.py
helpers/create-abi-dump.py
+4
-0
pipeline-templates/SUSEQt5.7.template
pipeline-templates/SUSEQt5.7.template
+1
-1
pipeline-templates/SUSEQt5.9.template
pipeline-templates/SUSEQt5.9.template
+1
-1
No files found.
helpers/create-abi-dump.py
View file @
b4f67c95
...
...
@@ -251,6 +251,8 @@ class Library:
# Parse the command line arguments we've been given
parser
=
argparse
.
ArgumentParser
(
description
=
'Utility to create abi checker tarballs.'
)
parser
.
add_argument
(
'--project'
,
type
=
str
,
required
=
True
)
parser
.
add_argument
(
'--branchGroup'
,
type
=
str
,
required
=
True
)
parser
.
add_argument
(
'--buildLog'
,
type
=
str
,
required
=
True
)
parser
.
add_argument
(
'--environment'
,
type
=
str
,
required
=
True
)
parser
.
add_argument
(
'--usingInstall'
,
type
=
str
,
required
=
True
)
...
...
@@ -299,6 +301,8 @@ for library in foundLibraries:
"version"
:
library
.
version
,
"libname"
:
library
.
name
,
"targets"
:
list
(
library
.
targets
),
"project"
:
arguments
.
project
,
"branchGroup"
:
arguments
.
branchGroup
,
}
packageName
=
"{name}_{scmRevision}"
.
format
(
name
=
library
.
name
,
scmRevision
=
scmRevision
)
ourArchive
.
storePackage
(
packageName
,
fileName
,
scmRevision
,
extraMetadata
)
pipeline-templates/SUSEQt5.7.template
View file @
b4f67c95
...
...
@@ -120,7 +120,7 @@ timestamps {
// Gather ABI Reference information for later checking
sh """
curl '$BUILD_URL/consoleText' -o currentBuildLog.txt
python3 -u ci-tooling/helpers/create-abi-dump.py --buildLog currentBuildLog.txt --environment production --usingInstall '$HOME/install-prefix/' || true
python3 -u ci-tooling/helpers/create-abi-dump.py --
project ${projectName} --branchGroup ${branchGroup} --
buildLog currentBuildLog.txt --environment production --usingInstall '$HOME/install-prefix/' || true
"""
// Platform Enablement Checks
...
...
pipeline-templates/SUSEQt5.9.template
View file @
b4f67c95
...
...
@@ -120,7 +120,7 @@ timestamps {
// Gather ABI Reference information for later checking
sh """
curl '$BUILD_URL/consoleText' -o currentBuildLog.txt
python3 -u ci-tooling/helpers/create-abi-dump.py --buildLog currentBuildLog.txt --environment production --usingInstall '$HOME/install-prefix/' || true
python3 -u ci-tooling/helpers/create-abi-dump.py --
project ${projectName} --branchGroup ${branchGroup} --
buildLog currentBuildLog.txt --environment production --usingInstall '$HOME/install-prefix/' || true
"""
// cppcheck is not supported by Pipeline at the moment, so we don't run that for now
...
...
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