Skip to content

[Build]: support to collect version when purging debian package#10287

Merged
xumia merged 2 commits intosonic-net:masterfrom
xumia:multi-collect
Mar 21, 2022
Merged

[Build]: support to collect version when purging debian package#10287
xumia merged 2 commits intosonic-net:masterfrom
xumia:multi-collect

Conversation

@xumia
Copy link
Copy Markdown
Collaborator

@xumia xumia commented Mar 19, 2022

Why I did it

support to collect version when purging debian package
Support to collect version multiple times

How I did it

Add the collection action before purging.

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

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

@xumia xumia added the Build label Mar 19, 2022
@xumia xumia requested a review from lguohan as a code owner March 19, 2022 00:45
@xumia xumia requested a review from liushilongbuaa March 19, 2022 00:45
@xumia
Copy link
Copy Markdown
Collaborator Author

xumia commented Mar 19, 2022

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@xumia xumia changed the title [Build]: support to collect version multiple times [Build]: support to collect version when purging debian package Mar 21, 2022

[ -d $PRE_VERSION_PATH ] && rm -rf $PRE_VERSION_PATH
[ -d $POST_VERSION_PATH ] && rm -rf $POST_VERSION_PATH
mkdir -p $POST_VERSION_PATH
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why don't mkdir -p PRE_VERSION_PATH?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@liushilongbuaa , thanks for your comment, PRE_VERSION_PATH and the POST_VERSION_PATH will be made automatically when collecting the version files, but the POST_VERSION_PATH is made for purging before collecting the versions.

@xumia xumia merged commit 92363ea into sonic-net:master Mar 21, 2022
@xumia xumia deleted the multi-collect branch March 21, 2022 09:10
xumia added a commit to xumia/sonic-buildimage-1 that referenced this pull request Mar 21, 2022
…c-net#10287)

Why I did it
support to collect version when purging debian package
Support to collect version multiple times

How I did it
Add the collection action before purging.
qiluo-msft pushed a commit that referenced this pull request Mar 21, 2022
Why I did it
support to collect version when purging debian package
Support to collect version multiple times

How I did it
Add the collection action before purging.
judyjoseph pushed a commit that referenced this pull request Mar 28, 2022
Why I did it
support to collect version when purging debian package
Support to collect version multiple times

How I did it
Add the collection action before purging.
xumia added a commit that referenced this pull request Apr 7, 2022
Why I did it
support to collect version when purging debian package
Support to collect version multiple times

How I did it
Add the collection action before purging.
@mssonicbld
Copy link
Copy Markdown
Collaborator

@xumia PR conflicts with 202106 branch

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.

5 participants