Update dockers with platform & SONiC version as part of name/tag.#4337
Merged
renukamanavalan merged 5 commits intosonic-net:masterfrom Apr 10, 2020
Merged
Update dockers with platform & SONiC version as part of name/tag.#4337renukamanavalan merged 5 commits intosonic-net:masterfrom
renukamanavalan merged 5 commits intosonic-net:masterfrom
Conversation
Get SONiC Version as parameter and use Make additional tag as optional. Avoid repetitions by using function.
qiluo-msft
reviewed
Apr 2, 2020
qiluo-msft
reviewed
Apr 2, 2020
qiluo-msft
reviewed
Apr 2, 2020
qiluo-msft
reviewed
Apr 2, 2020
Collaborator
|
Build finished. No test results found. |
1 similar comment
Collaborator
|
Build finished. No test results found. |
qiluo-msft
reviewed
Apr 3, 2020
qiluo-msft
reviewed
Apr 6, 2020
2) Handle DOCKER_IMAGE_TAG only if given 3) Use BUILD_NUMBER only if SONIC_VERSION not given 4) Tag with SONIC_VERSION if given. Current behavior is not changed, unless SONIC_VERSION is given.
qiluo-msft
reviewed
Apr 8, 2020
push_docker.sh
Outdated
|
|
||
| if [ "$#" != "0" ] | ||
| then | ||
| SONIC_VERSION=$1 |
Collaborator
There was a problem hiding this comment.
SONIC_VERSION [](start = 4, length = 13)
What if user only have SONIC_VERSION but no PLATFORM? #Closed
Contributor
Author
There was a problem hiding this comment.
This script does not support it. Being positional args user can put "generic", when PLATFORM can't be given.
Unblock, still improvement is recommended
1) Added new args with options 2) Handle PORT possible being empty 3) Exhibit new behavior only if both version & platform are given.
qiluo-msft
approved these changes
Apr 10, 2020
abdosi
pushed a commit
that referenced
this pull request
Apr 11, 2020
) * Include platform info in name. Get SONiC Version as parameter and use Make additional tag as optional. Avoid repetitions by using function. * Per review comments, make SONIC_VERSION optional and added some comments. * 1) Added additional params are optional 2) Handle DOCKER_IMAGE_TAG only if given 3) Use BUILD_NUMBER only if SONIC_VERSION not given 4) Tag with SONIC_VERSION if given. Current behavior is not changed, unless SONIC_VERSION is given. * Update per review comments 1) Added new args with options 2) Handle PORT possible being empty 3) Exhibit new behavior only if both version & platform are given. * Drop redundant quotes
yxieca
pushed a commit
that referenced
this pull request
Apr 15, 2020
) * Include platform info in name. Get SONiC Version as parameter and use Make additional tag as optional. Avoid repetitions by using function. * Per review comments, make SONIC_VERSION optional and added some comments. * 1) Added additional params are optional 2) Handle DOCKER_IMAGE_TAG only if given 3) Use BUILD_NUMBER only if SONIC_VERSION not given 4) Tag with SONIC_VERSION if given. Current behavior is not changed, unless SONIC_VERSION is given. * Update per review comments 1) Added new args with options 2) Handle PORT possible being empty 3) Exhibit new behavior only if both version & platform are given. * Drop redundant quotes
tiantianlv
pushed a commit
to SONIC-DEV/sonic-buildimage
that referenced
this pull request
Apr 24, 2020
…nic-net#4337) * Include platform info in name. Get SONiC Version as parameter and use Make additional tag as optional. Avoid repetitions by using function. * Per review comments, make SONIC_VERSION optional and added some comments. * 1) Added additional params are optional 2) Handle DOCKER_IMAGE_TAG only if given 3) Use BUILD_NUMBER only if SONIC_VERSION not given 4) Tag with SONIC_VERSION if given. Current behavior is not changed, unless SONIC_VERSION is given. * Update per review comments 1) Added new args with options 2) Handle PORT possible being empty 3) Exhibit new behavior only if both version & platform are given. * Drop redundant quotes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Include platform info in name.
Get SONiC Version as parameter and use
Make additional tag as optional.
Avoid repetitions by using function.
- What I did
- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)