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

Add new docker-sonic-mgmt makefile flag: LEGACY_SONIC_MGMT_DOCKER #17070

Merged
merged 5 commits into from
Nov 3, 2023

Conversation

wsycqyz
Copy link
Contributor

@wsycqyz wsycqyz commented Nov 2, 2023

Why I did it

This is part of Python3 migration project. This PR will add a new makefile flag: LEGACY_SONIC_MGMT_DOCKER
Now by default: LEGACY_SONIC_MGMT_DOCKER = y will build sonic-mgmt-docker with Python2 and Python3
If LEGACY_SONIC_MGMT_DOCKER = n will will sonic-mgmt-docker with Python3 only

Work item tracking
  • Microsoft ADO (number only): 25254349

How I did it

Add makefile flag: LEGACY_SONIC_MGMT_DOCKER

How to verify it

By default will build sonic-mgmt-docker with Python2 and Python3. No change compared to before.
Set LEGACY_SONIC_MGMT_DOCKER=n will build sonic-mgmt-docker with Python3 only

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

@wsycqyz wsycqyz changed the title Add docker-sonic-mgmt-legacy makefile target Add new docker-sonic-mgmt makefile flag: LEGACY_SONIC_MGMT_DOCKER Nov 2, 2023
@wangxin wangxin merged commit 7013b05 into sonic-net:master Nov 3, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants