All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] travis: Temporary workaround for pull rate limit
@ 2021-01-18  8:13 Petr Vorel
  2021-01-18  9:55 ` Yang Xu
  0 siblings, 1 reply; 5+ messages in thread
From: Petr Vorel @ 2021-01-18  8:13 UTC (permalink / raw)
  To: ltp

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 <pvorel@suse.cz>
---
Hi,

not a final solution for #761, just to get Travis quickly working.

Kind regards,
Petr

 .travis.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index edf627c33..245b790de 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [LTP] [PATCH 1/1] travis: Temporary workaround for pull rate limit
  2021-01-18  8:13 [LTP] [PATCH 1/1] travis: Temporary workaround for pull rate limit Petr Vorel
@ 2021-01-18  9:55 ` Yang Xu
  2021-01-18 10:35   ` Petr Vorel
  0 siblings, 1 reply; 5+ messages in thread
From: Yang Xu @ 2021-01-18  9:55 UTC (permalink / raw)
  To: ltp

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
> 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<pvorel@suse.cz>
> ---
> Hi,
> 
> not a final solution for #761, just to get Travis quickly working.
> 
> Kind regards,
> Petr
> 
>   .travis.yml | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/.travis.yml b/.travis.yml
> index edf627c33..245b790de 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [LTP] [PATCH 1/1] travis: Temporary workaround for pull rate limit
  2021-01-18  9:55 ` Yang Xu
@ 2021-01-18 10:35   ` Petr Vorel
  2021-01-18 11:38     ` Cyril Hrubis
  0 siblings, 1 reply; 5+ messages in thread
From: Petr Vorel @ 2021-01-18 10:35 UTC (permalink / raw)
  To: ltp

Hi Xu,

> 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).

> Best Regards
> Yang Xu

Kind regards,
Petr

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [LTP] [PATCH 1/1] travis: Temporary workaround for pull rate limit
  2021-01-18 10:35   ` Petr Vorel
@ 2021-01-18 11:38     ` Cyril Hrubis
  2021-01-18 13:46       ` Petr Vorel
  0 siblings, 1 reply; 5+ messages in thread
From: Cyril Hrubis @ 2021-01-18 11:38 UTC (permalink / raw)
  To: ltp

Hi!
> > 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.

Acked-by: Cyril Hrubis <chrubis@suse.cz>

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [LTP] [PATCH 1/1] travis: Temporary workaround for pull rate limit
  2021-01-18 11:38     ` Cyril Hrubis
@ 2021-01-18 13:46       ` Petr Vorel
  0 siblings, 0 replies; 5+ messages in thread
From: Petr Vorel @ 2021-01-18 13:46 UTC (permalink / raw)
  To: ltp

> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-01-18 13:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-18  8:13 [LTP] [PATCH 1/1] travis: Temporary workaround for pull rate limit Petr Vorel
2021-01-18  9:55 ` Yang Xu
2021-01-18 10:35   ` Petr Vorel
2021-01-18 11:38     ` Cyril Hrubis
2021-01-18 13:46       ` Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.