Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] common/travis/docker.sh: add control variables
@ 2019-09-26 16:32 voidlinux-github
  2019-09-27 17:07 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: voidlinux-github @ 2019-09-26 16:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

There is a new pull request by bobertlo against master on the void-packages repository

https://github.com/bobertlo/void-packages travis-docker
https://github.com/void-linux/void-packages/pull/14742

common/travis/docker.sh: add control variables
for more flexible local testing using existing tools

A patch file from https://github.com/void-linux/void-packages/pull/14742.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-travis-docker-14742.patch --]
[-- Type: text/x-diff, Size: 1068 bytes --]

From 9d6052295322d2dd43a1478e4ce096136ad4dc4f Mon Sep 17 00:00:00 2001
From: Robert Lowry <bobertlo@gmail.com>
Date: Thu, 26 Sep 2019 11:19:54 -0500
Subject: [PATCH] common/travis/docker.sh: add control variables

for more flexible local testing using existing tools
---
 common/travis/docker.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/common/travis/docker.sh b/common/travis/docker.sh
index 1784cd4a54e..ecd4a647218 100755
--- a/common/travis/docker.sh
+++ b/common/travis/docker.sh
@@ -4,10 +4,13 @@
 
 [ "$XLINT" ] && exit 0
 
-/bin/echo -e "\x1b[32mPulling docker image for $BOOTSTRAP from $TAG...\x1b[0m"
-docker pull voidlinux/masterdir-$BOOTSTRAP:$TAG
+DOCKER_IMAGE_BASE=${DOCKER_IMAGE_BASE:-voidlinux/masterdir}
+DOCKER_NAME=${DOCKER_NAME:-void}
+
+/bin/echo -e "\x1b[32mPulling docker image $DOCKER_IMAGE_BASE-$BOOTSTRAP:$TAG...\x1b[0m"
+docker pull $DOCKER_IMAGE_BASE-$BOOTSTRAP:$TAG
 docker run -d \
-	   --name void \
+	   --name $DOCKER_NAME \
 	   -v "$(pwd)":/hostrepo \
 	   -v /tmp:/tmp \
 	   -e XLINT="$XLINT" \

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

* Re: [PR PATCH] [Updated] common/travis/docker.sh: add control variables
  2019-09-26 16:32 [PR PATCH] common/travis/docker.sh: add control variables voidlinux-github
  2019-09-27 17:07 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-09-27 17:07 ` voidlinux-github
  2019-09-28  4:17 ` voidlinux-github
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-09-27 17:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

There is an updated pull request by bobertlo against master on the void-packages repository

https://github.com/bobertlo/void-packages travis-docker
https://github.com/void-linux/void-packages/pull/14742

common/travis/docker.sh: add control variables
for more flexible local testing using existing tools

A patch file from https://github.com/void-linux/void-packages/pull/14742.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-travis-docker-14742.patch --]
[-- Type: text/x-diff, Size: 1207 bytes --]

From 913a317e50cdfd251dea1ba201965a46833e07f0 Mon Sep 17 00:00:00 2001
From: Robert Lowry <bobertlo@gmail.com>
Date: Thu, 26 Sep 2019 11:19:54 -0500
Subject: [PATCH] common/travis/docker.sh: add control variables

for more flexible local testing using existing tools
---
 common/travis/docker.sh | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/common/travis/docker.sh b/common/travis/docker.sh
index 1784cd4a54e..70e81f41c04 100755
--- a/common/travis/docker.sh
+++ b/common/travis/docker.sh
@@ -4,13 +4,16 @@
 
 [ "$XLINT" ] && exit 0
 
-/bin/echo -e "\x1b[32mPulling docker image for $BOOTSTRAP from $TAG...\x1b[0m"
-docker pull voidlinux/masterdir-$BOOTSTRAP:$TAG
+DOCKER_IMAGE_BASE=${DOCKER_IMAGE_BASE:-voidlinux/masterdir}
+DOCKER_NAME=${DOCKER_NAME:-void}
+
+/bin/echo -e "\x1b[32mPulling docker image $DOCKER_IMAGE_BASE-$BOOTSTRAP:$TAG...\x1b[0m"
+docker pull $DOCKER_IMAGE_BASE-$BOOTSTRAP:$TAG
 docker run -d \
-	   --name void \
+	   --name $DOCKER_NAME \
 	   -v "$(pwd)":/hostrepo \
 	   -v /tmp:/tmp \
 	   -e XLINT="$XLINT" \
 	   -e PATH="$PATH" \
-	   voidlinux/masterdir-$BOOTSTRAP:$TAG \
+	   $DOCKER_IMAGE_BASE-$BOOTSTRAP:$TAG \
 	   /bin/sh -c 'sleep inf'

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

* Re: [PR PATCH] [Updated] common/travis/docker.sh: add control variables
  2019-09-26 16:32 [PR PATCH] common/travis/docker.sh: add control variables voidlinux-github
@ 2019-09-27 17:07 ` voidlinux-github
  2019-09-27 17:07 ` voidlinux-github
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-09-27 17:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

There is an updated pull request by bobertlo against master on the void-packages repository

https://github.com/bobertlo/void-packages travis-docker
https://github.com/void-linux/void-packages/pull/14742

common/travis/docker.sh: add control variables
for more flexible local testing using existing tools

A patch file from https://github.com/void-linux/void-packages/pull/14742.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-travis-docker-14742.patch --]
[-- Type: text/x-diff, Size: 1207 bytes --]

From 913a317e50cdfd251dea1ba201965a46833e07f0 Mon Sep 17 00:00:00 2001
From: Robert Lowry <bobertlo@gmail.com>
Date: Thu, 26 Sep 2019 11:19:54 -0500
Subject: [PATCH] common/travis/docker.sh: add control variables

for more flexible local testing using existing tools
---
 common/travis/docker.sh | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/common/travis/docker.sh b/common/travis/docker.sh
index 1784cd4a54e..70e81f41c04 100755
--- a/common/travis/docker.sh
+++ b/common/travis/docker.sh
@@ -4,13 +4,16 @@
 
 [ "$XLINT" ] && exit 0
 
-/bin/echo -e "\x1b[32mPulling docker image for $BOOTSTRAP from $TAG...\x1b[0m"
-docker pull voidlinux/masterdir-$BOOTSTRAP:$TAG
+DOCKER_IMAGE_BASE=${DOCKER_IMAGE_BASE:-voidlinux/masterdir}
+DOCKER_NAME=${DOCKER_NAME:-void}
+
+/bin/echo -e "\x1b[32mPulling docker image $DOCKER_IMAGE_BASE-$BOOTSTRAP:$TAG...\x1b[0m"
+docker pull $DOCKER_IMAGE_BASE-$BOOTSTRAP:$TAG
 docker run -d \
-	   --name void \
+	   --name $DOCKER_NAME \
 	   -v "$(pwd)":/hostrepo \
 	   -v /tmp:/tmp \
 	   -e XLINT="$XLINT" \
 	   -e PATH="$PATH" \
-	   voidlinux/masterdir-$BOOTSTRAP:$TAG \
+	   $DOCKER_IMAGE_BASE-$BOOTSTRAP:$TAG \
 	   /bin/sh -c 'sleep inf'

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

* Re: [PR PATCH] [Updated] common/travis/docker.sh: add control variables
  2019-09-26 16:32 [PR PATCH] common/travis/docker.sh: add control variables voidlinux-github
                   ` (2 preceding siblings ...)
  2019-09-28  4:17 ` voidlinux-github
@ 2019-09-28  4:17 ` voidlinux-github
  2019-10-21 16:32 ` [PR PATCH] [Merged]: " voidlinux-github
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-09-28  4:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

There is an updated pull request by bobertlo against master on the void-packages repository

https://github.com/bobertlo/void-packages travis-docker
https://github.com/void-linux/void-packages/pull/14742

common/travis/docker.sh: add control variables
for more flexible local testing using existing tools

A patch file from https://github.com/void-linux/void-packages/pull/14742.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-travis-docker-14742.patch --]
[-- Type: text/x-diff, Size: 1428 bytes --]

From 3edfcf2ed63d1ea4da06388f4cdeda3815ebf80c Mon Sep 17 00:00:00 2001
From: Robert Lowry <bobertlo@gmail.com>
Date: Thu, 26 Sep 2019 11:19:54 -0500
Subject: [PATCH] common/travis/docker.sh: add control variables

for more flexible local testing using existing tools
---
 .travis.yml             |  1 +
 common/travis/docker.sh | 10 ++++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index d0ffe216573..608eae6ea34 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@ git:
 env:
     global:
         - PATH=$PATH:/tmp/bin
+        - DOCKER_BASE=voidlinux/masterdir
         - TAG=2019042701
 
     matrix:
diff --git a/common/travis/docker.sh b/common/travis/docker.sh
index 1784cd4a54e..9b98b42c016 100755
--- a/common/travis/docker.sh
+++ b/common/travis/docker.sh
@@ -4,13 +4,15 @@
 
 [ "$XLINT" ] && exit 0
 
-/bin/echo -e "\x1b[32mPulling docker image for $BOOTSTRAP from $TAG...\x1b[0m"
-docker pull voidlinux/masterdir-$BOOTSTRAP:$TAG
+DOCKER_NAME=${DOCKER_NAME:-void}
+
+/bin/echo -e "\x1b[32mPulling docker image $DOCKER_BASE-$BOOTSTRAP:$TAG...\x1b[0m"
+docker pull $DOCKER_BASE-$BOOTSTRAP:$TAG
 docker run -d \
-	   --name void \
+	   --name $DOCKER_NAME \
 	   -v "$(pwd)":/hostrepo \
 	   -v /tmp:/tmp \
 	   -e XLINT="$XLINT" \
 	   -e PATH="$PATH" \
-	   voidlinux/masterdir-$BOOTSTRAP:$TAG \
+	   $DOCKER_BASE-$BOOTSTRAP:$TAG \
 	   /bin/sh -c 'sleep inf'

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

* Re: [PR PATCH] [Updated] common/travis/docker.sh: add control variables
  2019-09-26 16:32 [PR PATCH] common/travis/docker.sh: add control variables voidlinux-github
  2019-09-27 17:07 ` [PR PATCH] [Updated] " voidlinux-github
  2019-09-27 17:07 ` voidlinux-github
@ 2019-09-28  4:17 ` voidlinux-github
  2019-09-28  4:17 ` voidlinux-github
  2019-10-21 16:32 ` [PR PATCH] [Merged]: " voidlinux-github
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-09-28  4:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

There is an updated pull request by bobertlo against master on the void-packages repository

https://github.com/bobertlo/void-packages travis-docker
https://github.com/void-linux/void-packages/pull/14742

common/travis/docker.sh: add control variables
for more flexible local testing using existing tools

A patch file from https://github.com/void-linux/void-packages/pull/14742.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-travis-docker-14742.patch --]
[-- Type: text/x-diff, Size: 1428 bytes --]

From 3edfcf2ed63d1ea4da06388f4cdeda3815ebf80c Mon Sep 17 00:00:00 2001
From: Robert Lowry <bobertlo@gmail.com>
Date: Thu, 26 Sep 2019 11:19:54 -0500
Subject: [PATCH] common/travis/docker.sh: add control variables

for more flexible local testing using existing tools
---
 .travis.yml             |  1 +
 common/travis/docker.sh | 10 ++++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index d0ffe216573..608eae6ea34 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@ git:
 env:
     global:
         - PATH=$PATH:/tmp/bin
+        - DOCKER_BASE=voidlinux/masterdir
         - TAG=2019042701
 
     matrix:
diff --git a/common/travis/docker.sh b/common/travis/docker.sh
index 1784cd4a54e..9b98b42c016 100755
--- a/common/travis/docker.sh
+++ b/common/travis/docker.sh
@@ -4,13 +4,15 @@
 
 [ "$XLINT" ] && exit 0
 
-/bin/echo -e "\x1b[32mPulling docker image for $BOOTSTRAP from $TAG...\x1b[0m"
-docker pull voidlinux/masterdir-$BOOTSTRAP:$TAG
+DOCKER_NAME=${DOCKER_NAME:-void}
+
+/bin/echo -e "\x1b[32mPulling docker image $DOCKER_BASE-$BOOTSTRAP:$TAG...\x1b[0m"
+docker pull $DOCKER_BASE-$BOOTSTRAP:$TAG
 docker run -d \
-	   --name void \
+	   --name $DOCKER_NAME \
 	   -v "$(pwd)":/hostrepo \
 	   -v /tmp:/tmp \
 	   -e XLINT="$XLINT" \
 	   -e PATH="$PATH" \
-	   voidlinux/masterdir-$BOOTSTRAP:$TAG \
+	   $DOCKER_BASE-$BOOTSTRAP:$TAG \
 	   /bin/sh -c 'sleep inf'

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

* Re: [PR PATCH] [Merged]: common/travis/docker.sh: add control variables
  2019-09-26 16:32 [PR PATCH] common/travis/docker.sh: add control variables voidlinux-github
                   ` (3 preceding siblings ...)
  2019-09-28  4:17 ` voidlinux-github
@ 2019-10-21 16:32 ` voidlinux-github
  4 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-10-21 16:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

There's a merged pull request on the void-packages repository

common/travis/docker.sh: add control variables
https://github.com/void-linux/void-packages/pull/14742

Description:
for more flexible local testing using existing tools

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

end of thread, other threads:[~2019-10-21 16:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-26 16:32 [PR PATCH] common/travis/docker.sh: add control variables voidlinux-github
2019-09-27 17:07 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-27 17:07 ` voidlinux-github
2019-09-28  4:17 ` voidlinux-github
2019-09-28  4:17 ` voidlinux-github
2019-10-21 16:32 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).