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

[docker-swss] Use predefined variable to get vendor information #8361

Merged
merged 1 commit into from
Aug 16, 2021

Conversation

stephenxs
Copy link
Collaborator

Why I did it

Use a predefined variable to get vendor information when the swss docker container is created

Signed-off-by: Stephen Sun stephens@nvidia.com

How I did it

Use {{ sonic_asic_platform }} instead of $SONIC_CFGGEN -y /etc/sonic/sonic_version.yml -v asic_type

How to verify it

Manually test.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

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

Signed-off-by: Stephen Sun <stephens@nvidia.com>
@qiluo-msft
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@stephenxs
Copy link
Collaborator Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@qiluo-msft qiluo-msft merged commit c895677 into sonic-net:master Aug 16, 2021
qiluo-msft pushed a commit that referenced this pull request Aug 16, 2021
#### Why I did it
Use a predefined variable to get vendor information when the swss docker container is created

#### How I did it
Use `{{ sonic_asic_platform }}` instead of `$SONIC_CFGGEN -y /etc/sonic/sonic_version.yml -v asic_type`

#### How to verify it
Manually test.
@stephenxs stephenxs deleted the use-macro-vendor-info branch August 16, 2021 09:09
judyjoseph pushed a commit that referenced this pull request Aug 25, 2021
#### Why I did it
Use a predefined variable to get vendor information when the swss docker container is created

#### How I did it
Use `{{ sonic_asic_platform }}` instead of `$SONIC_CFGGEN -y /etc/sonic/sonic_version.yml -v asic_type`

#### How to verify it
Manually test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants