stx-puppet: add re-tries to workaround docker login failure 11/5111/1
authorJackie Huang <jackie.huang@windriver.com>
Wed, 18 Nov 2020 01:49:54 +0000 (09:49 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Wed, 18 Nov 2020 12:35:09 +0000 (20:35 +0800)
commit9f7a49f0e6a98d4d24b6b8ed668325da0ae495ce
treee62f2aa02e9763d7e3ea67020b3785f01f7dbd44
parentbaf4459a98662ff24bc7c0653ff17f06e6929e72
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-204
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I7087b8b5e27baa617bebbada0a09953299829432
meta-stx/recipes-support/puppet/files/stx-puppet/0011-puppet-manifest-kubernetes.pp-add-re-tries-for-docker-login.patch [new file with mode: 0644]
meta-stx/recipes-support/puppet/stx-puppet_git.bb