Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLPX-92522 appliance-build changes for LTS upgrade to 24.04 #769

Draft
wants to merge 1 commit into
base: os-upgrade
Choose a base branch
from

Conversation

palash-gandhi
Copy link
Contributor

@palash-gandhi palash-gandhi commented Aug 20, 2024

These are changes required to build a 24.04 based bootstrap VM that can
be used to build packages for the 24.04 LTS upgrade project. Here are the
changes:

  1. awscli is no longer available via apt & is supplied via snap
  2. Stop relying on internal sources in favor of upstream packages for LTS upgrade linux-pkg#325 removes our reliance on an internal version of adoptopenjdk. appliance-build should install openjdk-8-jdk. Note that appliance-build needs to install it because building packages other than virtualization (like make-jpkg, delphix-sso-app etc) also require a JDK installed. If it was only virtualization that needed it, it would have been appropriate to make the JDK a dependency of virtualization.
  3. virtualization needs docker.io installed and running and requires the delphix user added to the docker group
  4. The apt package qemu is replaced by qemu-system
  5. I occasionally ran into build issues like this where dpkg couldn't acquire a lock that was held by unattended-upgrades so I am adding logic to remove that package and disable that service on the buildserver.
  6. I was also having trouble with ansible-check, so I chose to replace the internal gradle task with a Github action.

Testing done

I created a bootstrap image and was able to build all packages:
https://ops-jenkins.eng-tools-prd.aws.delphixcloud.com/job/linux-pkg/job/os-upgrade/job/build-packages/job/pre-push/14/console

@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch 3 times, most recently from c8eddd2 to ea7d678 Compare August 21, 2024 00:44
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch 2 times, most recently from d74e03f to ee46d06 Compare October 16, 2024 20:52
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch from ee46d06 to 2e45c5a Compare October 24, 2024 18:36
@palash-gandhi palash-gandhi changed the title Ubuntu 24.04 POC appliance-build changes for LTS upgrade to 24.04 Oct 24, 2024
@palash-gandhi palash-gandhi changed the base branch from develop to os-upgrade October 24, 2024 19:06
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch from 2e45c5a to 590958f Compare October 24, 2024 19:07
@palash-gandhi palash-gandhi changed the title appliance-build changes for LTS upgrade to 24.04 DLPX-92522 appliance-build changes for LTS upgrade to 24.04 Oct 24, 2024
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch 9 times, most recently from ef427fb to 9693d59 Compare October 24, 2024 23:44
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch from 9693d59 to 8e46e93 Compare October 24, 2024 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant