Skip to content
Snippets Groups Projects

Add example recipes to build a single image

Merged Frederic Danis requested to merge fdanis/apertis-image-recipes:T5675 into apertis/v2019dev0
1 unresolved thread
1 file
+ 10
13
Compare changes
  • Side-by-side
  • Inline
+ 10
13
@@ -185,7 +185,16 @@ def pushOstreeRepo(architecture, type, board) {
rm -rf ${repo}""")
}
def runTestsJobs(image_name, profile_name, version) {
def submitTests(architecture, type, board, ostree = false) {
def image_name = imageName(architecture, type, board, ostree)
def version = env.PIPELINE_VERSION
def name = osname
if(ostree){
name = "${osname}_ostree"
}
def profile_name = "${name}-${type}-${architecture}-${board}"
dir ("apertis-tests") {
git(url: test_repo_url,
poll: false,
@@ -207,18 +216,6 @@ def runTestsJobs(image_name, profile_name, version) {
}
}
def submitTests(architecture, type, board, ostree = false) {
def image_name = imageName(architecture, type, board, ostree)
def name = osname
if(ostree){
name = "${osname}_ostree"
}
def profile_name = "${name}-${type}-${architecture}-${board}"
runTestsJobs (image_name, profile_name, env.PIPELINE_VERSION)
}
def buildOStree(architecture, type, board, debosarguments = "", repo = "repo") {
def image_name = imageName(architecture, type, board, true)
def branch = "${osname}/${release}/${architecture}-${board}/${type}"
Loading