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 4 commits 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. DLPX-92534 linux-pkg changes for LTS upgrade to 24.04 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. Update references of "focal" to "noble"
  7. 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 10 times, most recently from 9693d59 to 8e46e93 Compare October 24, 2024 23:47
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch 6 times, most recently from 928ce22 to eb96f0c Compare November 22, 2024 19:45
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch 4 times, most recently from 8e7143a to 3618957 Compare December 3, 2024 23:57
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch 13 times, most recently from 5b82d9e to ae79a45 Compare December 11, 2024 07:25
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch 3 times, most recently from 04a100a to 6d02d1e Compare December 12, 2024 06:17
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch from 6d02d1e to 4f3341e Compare December 24, 2024 16:42
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch from 4f3341e to 9066f85 Compare December 24, 2024 17:25
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch from 6a76c69 to cda567e Compare December 24, 2024 19:17
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch from 896079f to b697347 Compare January 3, 2025 16:49
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/d06b83a9-433a-4a44-89ed-0598be1649ca branch from b697347 to 295ff01 Compare January 10, 2025 17:33
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