travis: Temporary workaround for pull rate limit
PATCH 1/1 travis: Temporary workaround for pull rate limit
Use mirror.gcr.io mirror to temporary workaround pull rate limit in docker registry. Correct solution is to migrate to Github Actions.
See also: #761
---
Hi,
not a final solution for #761, just to get Travis quickly working.
Kind regards,
Petr
.travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+)
.travis.yml +8 -0
@@ -85,6 +85,14 @@ matrix: before_install: - df -hT + # pull rate limit workaround + - tmpdaemon=$(mktemp) + - sudo jq '."registry-mirrors" += ["https://mirror.gcr.io"]' /etc/docker/daemon.json > $tmpdaemon + - sudo mv $tmpdaemon /etc/docker/daemon.json + - sudo systemctl daemon-reload + - sudo systemctl restart docker + - docker system info + # ltp - DIR="/usr/src/ltp" - printf "FROM $DISTRO\nRUN mkdir -p $DIR\nWORKDIR $DIR\nCOPY . $DIR\n" > Dockerfile - cat Dockerfile
Signature · 1 line
2.29.2
PATCH 1/1 travis: Temporary workaround for pull rate limit
Hi Petr
I think using gcr.io mirror as a temporary solution is OK. But why we not migrate into Github Actions directly? Now, it is time to this release and do we should apply it before release?
Best Regards
Yang Xu
Quoted 36 lines
Use mirror.gcr.io mirror to temporary workaround pull rate limit in docker registry. Correct solution is to migrate to Github Actions.
See also: #761
Signed-off-by Petr Vorel<[email protected]>---
Hi,not a final solution for #761, just to get Travis quickly working.
Kind regards,
Petr.travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+).travis.yml +8
-0@@ -85,6 +85,14 @@ matrix: before_install: - df -hT + # pull rate limit workaround + - tmpdaemon=$(mktemp) + - sudo jq '."registry-mirrors" += ["https://mirror.gcr.io"]' /etc/docker/daemon.json> $tmpdaemon + - sudo mv $tmpdaemon /etc/docker/daemon.json + - sudo systemctl daemon-reload + - sudo systemctl restart docker + - docker system info + # ltp - DIR="/usr/src/ltp" - printf "FROM $DISTRO\nRUN mkdir -p $DIR\nWORKDIR $DIR\nCOPY . $DIR\n"> Dockerfile - cat Dockerfile
PATCH 1/1 travis: Temporary workaround for pull rate limit
Hi Xu,
Quoted 4 lines
Hi Petr
I think using gcr.io mirror as a temporary solution is OK. But why we not migrate into Github Actions directly? Now, it is time to this release and do we should apply it before release?
Lack of time on my side (working on other fixes before release).
Quoted 2 lines
Best Regards
Yang Xu
Kind regards,
Petr
PATCH 1/1 travis: Temporary workaround for pull rate limit
Hi!
Quoted 4 lines
Quoted 3 lines
I think using gcr.io mirror as a temporary solution is OK. But why we not migrate into Github Actions directly? Now, it is time to this release and do we should apply it before release?
Lack of time on my side (working on other fixes before release).
Let's push this now, since it's important to have travis working when we are finalizing the release.
Signature · 2 lines
Cyril Hrubis [email protected]
PATCH 1/1 travis: Temporary workaround for pull rate limit
Quoted 2 lines
Let's push this now, since it's important to have travis working when we are finalizing the release.
Thanks! Pushed with your and Xu ack.
Kind regards,
Petr