public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] travis: Use official opensuse images
@ 2019-03-01 10:33 Petr Vorel
  2019-03-01 10:45 ` Cyril Hrubis
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Vorel @ 2019-03-01 10:33 UTC (permalink / raw)
  To: ltp

We're using deprecated opensuse images [1] [2] which has been now
removed, which cause travis failures. Replace them with the official
ones.

[1] https://hub.docker.com/_/opensuse/
[2] https://github.com/docker-library/official-images/issues/5371

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
https://travis-ci.org/pevik/ltp/builds/500273788
---
 .travis.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 24de925b0..8c3aa241d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -46,11 +46,11 @@ matrix:
           compiler: gcc
 
         - os: linux
-          env: DISTRO=opensuse:tumbleweed
+          env: DISTRO=opensuse/tumbleweed
           compiler: gcc
 
         - os: linux
-          env: DISTRO=opensuse:leap
+          env: DISTRO=opensuse/leap
           compiler: gcc
 
         - os: linux
@@ -72,6 +72,7 @@ before_install:
 
 script:
     - INSTALL="${DISTRO%%:*}"
+    - INSTALL="${INSTALL%%/*}"
     - if [ ! "$TREE" ]; then TREE="in"; fi
     - case $VARIANT in cross-compile*) BUILD="cross";; i386) BUILD="32";; *) BUILD="native";; esac
     - docker run -it ltp /bin/sh -c "cd travis && ./$INSTALL.sh && if [ \"$VARIANT\" ]; then ./$INSTALL.$VARIANT.sh; fi && ../build.sh -o $TREE -t $BUILD -c $CC"
-- 
2.20.1


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

* [LTP] [PATCH] travis: Use official opensuse images
  2019-03-01 10:33 [LTP] [PATCH] travis: Use official opensuse images Petr Vorel
@ 2019-03-01 10:45 ` Cyril Hrubis
  2019-03-01 11:16   ` Petr Vorel
  0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2019-03-01 10:45 UTC (permalink / raw)
  To: ltp

Hi!
> We're using deprecated opensuse images [1] [2] which has been now
> removed, which cause travis failures. Replace them with the official
> ones.
> 
> [1] https://hub.docker.com/_/opensuse/
> [2] https://github.com/docker-library/official-images/issues/5371

That looks obvious enough to go in without review, acked anyways.

-- 
Cyril Hrubis
chrubis@suse.cz

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

* [LTP] [PATCH] travis: Use official opensuse images
  2019-03-01 10:45 ` Cyril Hrubis
@ 2019-03-01 11:16   ` Petr Vorel
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2019-03-01 11:16 UTC (permalink / raw)
  To: ltp

Hi Cyril,

> > We're using deprecated opensuse images [1] [2] which has been now
> > removed, which cause travis failures. Replace them with the official
> > ones.

> > [1] https://hub.docker.com/_/opensuse/
> > [2] https://github.com/docker-library/official-images/issues/5371

> That looks obvious enough to go in without review, acked anyways.
Thanks, pushed (with installed gzip – not installed by default).

Kind regards,
Petr

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

end of thread, other threads:[~2019-03-01 11:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-01 10:33 [LTP] [PATCH] travis: Use official opensuse images Petr Vorel
2019-03-01 10:45 ` Cyril Hrubis
2019-03-01 11:16   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox