Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,13 @@ stages:
- publish: '$(System.DefaultWorkingDirectory)/dist/'
artifact: wheels
displayName: "Publish Python wheels"

- script: |
set -e
pushd generic_config_updater
python3 setup.py bdist_wheel
displayName: 'Build Python 3 wheel for GCU'

- publish: '$(System.DefaultWorkingDirectory)/generic_config_updater/dist/'
artifact: gcu_wheels
displayName: "Publish Python wheels for GCU"
6 changes: 6 additions & 0 deletions generic_config_updater/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[run]
branch = True
source = generic_config_updater
omit =
.eggs/*
tests/*
7 changes: 6 additions & 1 deletion generic_config_updater/field_operation_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
from sonic_py_common import device_info
from .gu_common import GenericConfigUpdaterError
from swsscommon import swsscommon
from utilities_common.constants import DEFAULT_SUPPORTED_FECS_LIST

# Default FEC modes when STATE_DB does not advertise supported_fecs for a port.
# Kept local to avoid pulling utilities_common into the GCU wheel.
# NOTE: A duplicate of this list exists in utilities_common/constants.py.
# If you update this list, update that copy too.
DEFAULT_SUPPORTED_FECS_LIST = ['rs', 'fc', 'none', 'auto']

STATE_DB_NAME = 'STATE_DB'
REDIS_TIMEOUT_MSECS = 0
Expand Down
Loading
Loading