[gjs/wip/ptomato/fix-docker: 2/3] CI: Put docker command on one line
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/fix-docker: 2/3] CI: Put docker command on one line
- Date: Sat, 21 Sep 2019 19:59:08 +0000 (UTC)
commit 66b7ae9f243c72d997e8e3a9facdee015da5d57c
Author: Philip Chimento <philip chimento gmail com>
Date: Sat Sep 21 12:56:51 2019 -0700
CI: Put docker command on one line
The YAML escaping seemed to be interfering with the actual command line
passed to Docker, a not uncommon problem if I am to believe Stack
Overflow.
Unreviewed, pushing to fix build.
.gitlab-ci.yml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 482f2056..14cf480a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -373,9 +373,7 @@ zeal_11:
- *CI_header
# Where the real magic happens
- - docker run --name $NAME -v $(pwd):/on-host \
- -e OS=$IMAGE -e BUILD_OPTS=$BUILD_OPTS -e CC=gcc -e MOZJS_BRANCH=$MOZJS_BRANCH $IMAGE \
- bash -e -c "cd /on-host && test/ci-images.sh"
+ - docker run --name $NAME -v $(pwd):/on-host -e OS=$IMAGE -e BUILD_OPTS=$BUILD_OPTS -e CC=gcc -e
MOZJS_BRANCH=$MOZJS_BRANCH $IMAGE bash -e -c "cd /on-host && test/ci-images.sh"
- docker commit $NAME "$CI_REGISTRY_IMAGE:$NAME"
# Prepare to publish
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]