stx-puppet: add re-tries to workaround docker login failure 57/8157/1
authorJackie Huang <jackie.huang@windriver.com>
Mon, 23 Nov 2020 02:01:04 +0000 (10:01 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Thu, 5 May 2022 12:50:39 +0000 (20:50 +0800)
commitdceb1ba3cea2ccf2b8b7a3f3a5e630cea39613bf
treefb8df39456d4e68cc9d8e5beb4397b2f0c4ddf6c
parent4cb729d54a6f6efb4f547bfd46595904f505660b
stx-puppet: add re-tries to workaround docker login failure

Add re-tries to workaround the follwoing docker login failure:
Error: docker login registry.local:9001 -u admin -p St8rlingX* returned 1 instead of one of [0]
Error: /Stage[main]/Platform::Kubernetes::Master::Init/Exec[login local
       registry]/returns: change from notrun to 0 failed: docker login
       registry.local:9001 -u admin -p St8rlingX* returned 1 instead of one of [0]

Issue-ID: INF-215

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I83bc73bb0294428ca018ffd52c92d0dc8aaa8a0f
meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/stx-puppet/0011-puppet-manifest-kubernetes.pp-add-re-tries-for-docker-login.patch [new file with mode: 0644]
meta-starlingx/meta-stx-cloud/recipes-support/puppet/stx-puppet_git.bb