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

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