Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
15bc8e70
Commit
15bc8e70
authored
9 years ago
by
Stanley Cheung
Browse files
Options
Downloads
Patches
Plain Diff
allow explicit BUILD_INTEROP_DOCKER_EXTRA_ARGS params to docker run command
parent
60f406ab
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/jenkins/build_interop_image.sh
+8
-5
8 additions, 5 deletions
tools/jenkins/build_interop_image.sh
tools/jenkins/grpc_interop_php/Dockerfile
+0
-8
0 additions, 8 deletions
tools/jenkins/grpc_interop_php/Dockerfile
with
8 additions
and
13 deletions
tools/jenkins/build_interop_image.sh
+
8
−
5
View file @
15bc8e70
...
@@ -33,6 +33,13 @@
...
@@ -33,6 +33,13 @@
set
-x
set
-x
# Params:
# INTEROP_IMAGE - name of tag of the final interop image
# BASE_NAME - base name used to locate the base Dockerfile and build script
# TTY_FLAG - optional -t flag to make docker allocate tty
# BUILD_INTEROP_DOCKER_EXTRA_ARGS - optional args to be passed to the
# docker run command
cd
`
dirname
$0
`
/../..
cd
`
dirname
$0
`
/../..
GRPC_ROOT
=
`
pwd
`
GRPC_ROOT
=
`
pwd
`
MOUNT_ARGS
=
"-v
$GRPC_ROOT
:/var/local/jenkins/grpc:ro"
MOUNT_ARGS
=
"-v
$GRPC_ROOT
:/var/local/jenkins/grpc:ro"
...
@@ -55,11 +62,6 @@ fi
...
@@ -55,11 +62,6 @@ fi
mkdir
-p
/tmp/ccache
mkdir
-p
/tmp/ccache
# Params:
# INTEROP_IMAGE - name of tag of the final interop image
# BASE_NAME - base name used to locate the base Dockerfile and build script
# TTY_FLAG - optional -t flag to make docker allocate tty.
# Mount service account dir if available.
# Mount service account dir if available.
# If service_directory does not contain the service account JSON file,
# If service_directory does not contain the service account JSON file,
# some of the tests will fail.
# some of the tests will fail.
...
@@ -84,6 +86,7 @@ CONTAINER_NAME="build_${BASE_NAME}_$(uuidgen)"
...
@@ -84,6 +86,7 @@ CONTAINER_NAME="build_${BASE_NAME}_$(uuidgen)"
-e
CCACHE_DIR
=
/tmp/ccache
\
-e
CCACHE_DIR
=
/tmp/ccache
\
-i
$TTY_FLAG
\
-i
$TTY_FLAG
\
$MOUNT_ARGS
\
$MOUNT_ARGS
\
$BUILD_INTEROP_DOCKER_EXTRA_ARGS
\
-v
/tmp/ccache:/tmp/ccache
\
-v
/tmp/ccache:/tmp/ccache
\
--name
=
$CONTAINER_NAME
\
--name
=
$CONTAINER_NAME
\
$BASE_IMAGE
\
$BASE_IMAGE
\
...
...
This diff is collapsed.
Click to expand it.
tools/jenkins/grpc_interop_php/Dockerfile
+
0
−
8
View file @
15bc8e70
...
@@ -87,12 +87,6 @@ RUN /bin/bash -l -c "gem install bundler --no-ri --no-rdoc"
...
@@ -87,12 +87,6 @@ RUN /bin/bash -l -c "gem install bundler --no-ri --no-rdoc"
# Install dependencies
# Install dependencies
RUN
/bin/bash
-l
-c
"echo 'deb http://packages.dotdeb.org wheezy-php55 all'
\
>> /etc/apt/sources.list.d/dotdeb.list"
RUN
/bin/bash
-l
-c
"echo 'deb-src http://packages.dotdeb.org wheezy-php55 all'
\
>> /etc/apt/sources.list.d/dotdeb.list"
RUN
wget http://www.dotdeb.org/dotdeb.gpg
-O-
| apt-key add -
RUN
apt-get update
&&
apt-get
install
-y
\
RUN
apt-get update
&&
apt-get
install
-y
\
git php5 php5-dev phpunit unzip
git php5 php5-dev phpunit unzip
...
@@ -102,8 +96,6 @@ RUN apt-get update && apt-get install -y \
...
@@ -102,8 +96,6 @@ RUN apt-get update && apt-get install -y \
# rake: a ruby version of make used to build the PHP Protobuf extension
# rake: a ruby version of make used to build the PHP Protobuf extension
RUN
/bin/bash
-l
-c
"rvm all do gem install ronn rake"
RUN
/bin/bash
-l
-c
"rvm all do gem install ronn rake"
ENV
DEBIAN_FRONTEND noniteractive
# Install composer
# Install composer
RUN
curl
-sS
https://getcomposer.org/installer | php
RUN
curl
-sS
https://getcomposer.org/installer | php
RUN
mv
composer.phar /usr/local/bin/composer
RUN
mv
composer.phar /usr/local/bin/composer
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment