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-91976 Step 4: linux-pkg: Prepare and update Ubuntu distribution pointer to new version #322

Conversation

palash-gandhi
Copy link
Contributor

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

Problem

The linux-pkg repo contains pointers to focal which is the codename for Ubuntu 20.04. Now that we are starting with the Ubuntu LTS upgrade project, we need to move this pointer to noble which is the codename for Ubuntu 24.04. While we have not decided on the next LTS version (24.04 or 22.04) yet, this PR is part of a POC to decide on a version.
Also, the td-agent package was sourced from a focal-based source.

Solution

Update the pointer to noble and remove the hardcoded source of td-agent for now. I'll address it in a future PR when I run into an issue with that package.

Testing Done

To test this change, I created an upstreams/os-upgrade branch in the linux-kernel-generic repo from https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble and an os-upgrade branch from develop.

Next, I ran a check-updates job: http://ops.jenkins-palashgandhi.dcol2.delphix.com/job/linux-pkg/job/os-upgrade/job/check-updates/job/main/4/console with the following params:
LINUX_PKG_GIT_BRANCH =
DEVOPS_GATE_GIT_BRANCH = Branch of https://github.com/delphix/devops-gate/pull/3356
DCENTER_GROUP = bootstrap-24.04-poc (temporary buildserver created off of 24.04 in Step 1 of project)
DELPHIX_PACKAGE_MIRROR_MAIN = http://us-west-2.ec2.archive.ubuntu.com/ubuntu/

15:55:10  PACKAGE linux-kernel-generic: STAGE update_upstream STARTED
15:55:10  Running: update_upstream
15:55:10  Running: kernel_update_upstream generic
15:55:10  Running: cd /var/tmp/jenkins/workspace/linux-pkg/os-upgrade/check-updates/main/linux-pkg/packages/linux-kernel-generic/tmp/repo
15:55:10  Running: git checkout -q upstream-HEAD
15:55:38  Running: git remote add upstream https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble
15:55:38  Running: get_kernel_version_for_platform_from_apt generic
15:55:38  note: upstream tag prefix used: Ubuntu-6.8-6.8.0-41
15:55:38  tag with prefix Ubuntu-6.8-6.8.0-41 not found.
15:55:38  trying tag prefix: Ubuntu-6.8.0-41.
15:55:38  Running: git fetch upstream +refs/tags/Ubuntu-6.8.0-41.41:refs/tags/Ubuntu-6.8.0-41.41
15:56:48  From https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble

@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/3117606a-a6cc-42b0-b652-9a1b69d0c8f6 branch 2 times, most recently from a37c989 to 5f98221 Compare August 28, 2024 18:50
@palash-gandhi palash-gandhi changed the title DLPX-91976 linux-pkg: Prepare and update Ubuntu distribution pointer to new version DLPX-91976 Step 3: linux-pkg: Prepare and update Ubuntu distribution pointer to new version Aug 28, 2024
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/3117606a-a6cc-42b0-b652-9a1b69d0c8f6 branch from 5f98221 to 2ad27af Compare August 28, 2024 22:40
@palash-gandhi palash-gandhi marked this pull request as ready for review August 28, 2024 23:14
@palash-gandhi palash-gandhi changed the title DLPX-91976 Step 3: linux-pkg: Prepare and update Ubuntu distribution pointer to new version DLPX-91976 Step 4: linux-pkg: Prepare and update Ubuntu distribution pointer to new version Aug 29, 2024
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/3117606a-a6cc-42b0-b652-9a1b69d0c8f6 branch from 2ad27af to 650bfac Compare August 29, 2024 19:44
@palash-gandhi palash-gandhi merged commit 812147e into os-upgrade Oct 2, 2024
12 checks passed
@palash-gandhi palash-gandhi deleted the dlpx/pr/palash-gandhi/3117606a-a6cc-42b0-b652-9a1b69d0c8f6 branch October 2, 2024 17:36
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.

3 participants