1) Register an ssh-key allowing access to the signing server
from within LAT.
2) Provide a means to bypass poat iso build signing, as the
signing should have oddured within LAT.
Story: 2009221
Task: 47358
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: If450ed2f67ef3e094f8370d9857c8bdf506a9571
Currently Jenkinsfile ignores failures in sub-jobs related to docker
images (base image, wheels, etc). If they fail, the overall build
remains successful. This allows docker-related build problems remain
unnoticed.
Make this behavior conditional on a job parameter.
TESTS
==============================================
* A build where there are no docker-related errors (overall: SUCCESS)
* A build where wheels fail and SUPPRESS_DOCKER_IMAGE_BUILD_ERRORS is
true (overall: SUCCESS)
* A build where wheels fail and SUPPRESS_DOCKER_IMAGE_BUILD_ERRORS is
false (overall: FAIL)
Story: 2009895
Task: 47280
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: I16ac4f63033ecbc78c647c4da105d550fe2facc4
Some versions of Jenkins crash when a multi-line parameter is empty.
Solution: set PATCH_LIST to "-" by default, and treat it as empty.
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: I7bd8f994debbfe86bc914ce469b81518ca13ea4a
Many docker images failed to compile in StarlingX, and we never publish
the latest_docker_image_build symlink & the last build's image lists on
CENGN. As a result there's no fixed URL where we could download the
latest sucessfully-built image tags.
This patch always publishes the symlink + lists, even if some docker
images fail to compile. This is temporary until most/all problems with
stx images are resolved.
Also: try building both distroless & debian images before giving up, so
that as many build errors as possible show up in the logs
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: If18ca2c7d83db520201b6027b970431c4161ac51
Main job resolves this repo's current commit, then passes that exact
commit SHA to each sub-job. This is to make sure all executed sub-jobs
are consistent with each other.
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: I20842b29accc9102fc98f63ca775b9988746e975
This is required for the CENGN build cleanup scripts to work reliably.
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: Iec8f58a4c9ff995ebff5563b4817843cd7467f19
This makes sure we have (partial) image lists in the publish dir,
even if some images failed to build.
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: I1ffe33ac305d617dfca84fed2dad55322cfe5b47
New set of scripts for generating & publlishing the "export" directory.
It allows one to specify a custom command to populate a directory with
arbitrary files, at the end of the build.
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: Ic071f395b4c1ef5ffe8a373564074e0a399ae6b8
Currently errors in docker image builds fail the entire build. Docker
images are in flux, and are likely to cause every build to fail.
Workaround: don't fail the main build if some docker images failed (but
print out a warning in Jenkins log).
Changes:
- Ignore docker image build errors with a warning
- Misc changes to scripts to make sure various steps happen in the right
order
Story: 2010226
Task: 46146
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: Ib8869ce263731f7bce3157890c303ec5cec59fde
- New parameter BUILD_HELM_CHARTS
- build.conf: new parameter HELM_CHART_APPS
- monolithic.Jenkinsfile: separate out docker image steps into
individual stages
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>