From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] common/travis/docker.sh: add control variables
Date: Thu, 26 Sep 2019 18:32:00 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14742@inbox.vuxu.org> (raw)
[-- 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" \
next reply other threads:[~2019-09-26 16:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-26 16:32 voidlinux-github [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14742@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).