[S] Change in osmo-ci[master]: Fix failing Osmocom-release-manuals job
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/33086 ) Change subject: Fix failing Osmocom-release-manuals job ...................................................................... Fix failing Osmocom-release-manuals job Add a workaround that upgrades the osmocom-nightly package before installing build dependencies for the given package. This is not very elegant, it would make more sense if the docker image we use here did not have the nightly Osmocom repository configured in the first place (as this job is about creating manuals for tagged releases). But the image is used by jenkins build verification too and I don't think it's a good use of time to change this right now. Fix for: + apt-get -y build-dep /build Note, using directory '/build' to get the build dependencies Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: osmo-gsm-manuals-dev : Depends: osmocom-nightly (= 202305300026) but 202305290026 is to be installed Change-Id: If28a34d3e5b07216c5310b19623fcc42692f65c3 --- M scripts/manuals/publish-manuals-for-tags.sh 1 file changed, 39 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/scripts/manuals/publish-manuals-for-tags.sh b/scripts/manuals/publish-manuals-for-tags.sh index 99e117c..49a3d43 100755 --- a/scripts/manuals/publish-manuals-for-tags.sh +++ b/scripts/manuals/publish-manuals-for-tags.sh @@ -354,6 +354,12 @@ sh -ex -c " apt-get update + # The docker image has the nightly repository + # configured, in which packages can't be installed from + # different build dates. Upgrade osmocom-nightly first + # to prevent errors in apt-get build-dep below. + apt-get -y upgrade osmocom-nightly + # Install dependencies case $repo in *) -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/33086 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: If28a34d3e5b07216c5310b19623fcc42692f65c3 Gerrit-Change-Number: 33086 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-MessageType: merged
participants (1)
-
laforge