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

[base-compatibility-version] introduce SONiC base OS compatibility ve… #5936

Closed

Conversation

stepanblyschak
Copy link
Collaborator

…rsion number

Signed-off-by: Stepan Blyshchak stepanb@nvidia.com

This PR is part of SONiC Application Extension

- Why I did it
To record SONiC version that follows semantic versioning spec.

- How I did it
Include a new entry in sonic_version.yml.

- How to verify it
Build an image and cat /etc/sonic/sonic_version.yml.

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

…rsion number

Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
@@ -452,6 +452,7 @@ sudo tee $FILESYSTEM_ROOT/etc/sonic/sonic_version.yml > /dev/null <<EOF
build_version: '${SONIC_IMAGE_VERSION}'
debian_version: '$(cat $FILESYSTEM_ROOT/etc/debian_version)'
kernel_version: '$kversion'
base_os_compatibility_version: ${BASE_OS_COMPATIBILITY_VERSION}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a plan to display this detail as part of "show version" command output?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, yes, I'll share a PR soon

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stepanblyschak stepanblyschak added the appext Application Extension label Jan 27, 2021
@stepanblyschak
Copy link
Collaborator Author

/AzurePipelines run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 5936 in repo Azure/sonic-buildimage

@renukamanavalan
Copy link
Contributor

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

# SONiC packages dependning on specific SONiC base image features (kernel change, etc.)
# may define a dependency on specific version pattern.

BASE_OS_COMPATIBILITY_VERSION = 1.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the plan behind on update of this version ?
How is it mandated ?

W/o a plan in place, this will lose its value

For e.g. Image version is mandated, kernel version is picked.

Copy link
Contributor

@renukamanavalan renukamanavalan Jan 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yxieca, @lguohan, @ben-gale, @liat-grozovik -- We could start with these folks to get some answer.

@stepanblyschak -- Can you please drive this?

Copy link

@bandaru-viswanath bandaru-viswanath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stepanblyschak Shouldn't this PR also include the mechanism that was discussed about how the versioning would be done and derived ? Would you capture it as an separate PR ?

@stepanblyschak
Copy link
Collaborator Author

@stepanblyschak
Copy link
Collaborator Author

Irrelevant according to latest update. Base OS components version is implemented in #6712

@stepanblyschak stepanblyschak deleted the sonic_compat_ver branch September 23, 2022 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appext Application Extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants