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
+ 5
1
Compare changes
  • Side-by-side
  • Inline
+ 5
1
@@ -203,6 +203,7 @@ def submitTests(architecture, type, board, ostree = false) {
withCredentials([ file(credentialsId: test_lava_credentials, variable: 'lqaconfig'),
string(credentialsId: 'lava-phab-bridge-token', variable: 'token')]) {
sh(script: """
mkdir -p ${env.PIPELINE_VERSION}/meta/
/usr/bin/lava-submit -c ${lqaconfig} \
-g apertis-tests/templates/profiles.yaml \
--profile ${profile_name} \
@@ -210,7 +211,9 @@ def submitTests(architecture, type, board, ostree = false) {
--callback-url HACK-TO-TEMPORARILY-DISABLE-BUG-REPORTING-https://lavaphabbridge.apertis.org/ \
-t release:${release} \
-t image_date:${version} \
-t image_name:${image_name}""")
-t image_name:${image_name} 2>&1 | \
tee ${env.PIPELINE_VERSION}/meta/lava-jobs-${name}-${architecture}-${type}-${board}
""")
}
}
@@ -503,6 +506,7 @@ def buildImages(architecture, type, boards, debosarguments = "", image = true, s
submitTests(architecture, type, board, true)
}
}
uploadDirectory (env.PIPELINE_VERSION, "daily/${release}")
} else {
println "Skipping submitting tests jobs for ${architecture} ${type}"
}
Loading