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 a config variable to override default container registry instead of dockerhub. #10166

Merged
merged 5 commits into from
Mar 14, 2022

Conversation

liushilongbuaa
Copy link
Contributor

@liushilongbuaa liushilongbuaa commented Mar 7, 2022

Why I did it

Add a config variable DEFAULT_CONTAINER_REGISTRY to override default container registry.

How I did it

It can be set in config file and can be overridden by command line.

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)

@liushilongbuaa liushilongbuaa force-pushed the default-acr branch 2 times, most recently from 0a0b2d9 to 329e9e4 Compare March 8, 2022 04:56
@liushilongbuaa liushilongbuaa marked this pull request as ready for review March 8, 2022 05:47
@xumia
Copy link
Collaborator

xumia commented Mar 9, 2022

@liushilongbuaa , thanks for the contribution to make the container registry endpoint configurable.
Please help add some tests to use the new ACR, and not break the docker reproducible build feature, thanks.

Makefile.work Outdated Show resolved Hide resolved
rules/config Outdated Show resolved Hide resolved
@liushilongbuaa
Copy link
Contributor Author

@liushilongbuaa , thanks for the contribution to make the container registry endpoint configurable. Please help add some tests to use the new ACR, and not break the docker reproducible build feature, thanks.

test finished.

Makefile Outdated Show resolved Hide resolved
@liushilongbuaa liushilongbuaa merged commit 3fa627f into sonic-net:master Mar 14, 2022
liushilongbuaa added a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Mar 17, 2022
…of dockerhub. (sonic-net#10166)

* Add variable to reset default docker registry
* fix bug in docker version control
liushilongbuaa added a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Mar 17, 2022
…of dockerhub. (sonic-net#10166)

* Add variable to reset default docker registry
* fix bug in docker version control
liushilongbuaa added a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Mar 17, 2022
…of dockerhub. (sonic-net#10166)

* Add variable to reset default docker registry
* fix bug in docker version control
liushilongbuaa added a commit that referenced this pull request Mar 18, 2022
…of dockerhub. (#10166) (#10262)

* Add variable to reset default docker registry
* fix bug in docker version control
liushilongbuaa added a commit that referenced this pull request Mar 18, 2022
…of dockerhub. (#10166) (#10260)

* Add variable to reset default docker registry
* fix bug in docker version control
liushilongbuaa added a commit that referenced this pull request Mar 18, 2022
…of dockerhub. (#10166) (#10261)

* Add variable to reset default docker registry
* fix bug in docker version control
liushilongbuaa added a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Jun 13, 2022
…of dockerhub. (sonic-net#10166)

* Add variable to reset default docker registry
* fix bug in docker version control
liushilongbuaa added a commit that referenced this pull request Jun 22, 2022
* [ci] Set default ACR in UpgrateVersion/PR/official pipeline. (#10341)

Why I did it
docker hub will limit the pull rate.
Use ACR instead to pull debian related docker image.

How I did it
Set DEFAULT_CONTAINER_REGISTRY in pipeline.

* Add a config variable to override default container registry instead of dockerhub. (#10166)
* Add variable to reset default docker registry
* fix bug in docker version control
StormLiangMS pushed a commit to StormLiangMS/sonic-buildimage that referenced this pull request Jul 18, 2022
…et#11002)

* [ci] Set default ACR in UpgrateVersion/PR/official pipeline. (sonic-net#10341)

Why I did it
docker hub will limit the pull rate.
Use ACR instead to pull debian related docker image.

How I did it
Set DEFAULT_CONTAINER_REGISTRY in pipeline.

* Add a config variable to override default container registry instead of dockerhub. (sonic-net#10166)
* Add variable to reset default docker registry
* fix bug in docker version control
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