Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
1ccb8d4b
Unverified
Commit
1ccb8d4b
authored
Jul 13, 2018
by
Feng Xiao
Committed by
GitHub
Jul 13, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4905 from BSBandme/fix_kokoro_build_in_docker
fix linux kokoro build in docker
parents
f21d4d68
517190a7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
list_people_test.go
examples/list_people_test.go
+1
-1
build_and_run_docker.sh
kokoro/linux/build_and_run_docker.sh
+2
-0
pull_request_in_docker.sh
kokoro/linux/pull_request_in_docker.sh
+5
-1
tox.ini
python/tox.ini
+2
-1
No files found.
examples/list_people_test.go
View file @
1ccb8d4b
...
...
@@ -34,7 +34,7 @@ func TestWritePersonWritesPerson(t *testing.T) {
func
TestListPeopleWritesList
(
t
*
testing
.
T
)
{
buf
:=
new
(
bytes
.
Buffer
)
in
:=
pb
.
AddressBook
{
[]
*
pb
.
Person
{
in
:=
pb
.
AddressBook
{
People
:
[]
*
pb
.
Person
{
{
Name
:
"John Doe"
,
Id
:
101
,
...
...
kokoro/linux/build_and_run_docker.sh
View file @
1ccb8d4b
...
...
@@ -35,6 +35,8 @@ echo $git_root
docker run
\
"
$@
"
\
-e
CCACHE_DIR
=
$CCACHE_DIR
\
-e
KOKORO_BUILD_NUMBER
=
$KOKORO_BUILD_NUMBER
\
-e
KOKORO_BUILD_ID
=
$KOKORO_BUILD_ID
\
-e
EXTERNAL_GIT_ROOT
=
"/var/local/kokoro/protobuf"
\
-e
TEST_SET
=
"
$TEST_SET
"
\
-e
THIS_IS_REALLY_NEEDED
=
'see https://github.com/docker/docker/issues/14203 for why docker is awful'
\
...
...
kokoro/linux/pull_request_in_docker.sh
View file @
1ccb8d4b
...
...
@@ -53,7 +53,7 @@ $TIME_CMD $TEST_SCRIPT cpp > >(tee $CPP_STDOUT) 2> >(tee $CPP_STDERR >&2)
parallel
--results
$LOG_OUTPUT_DIR
--joblog
$OUTPUT_DIR
/joblog
$TEST_SCRIPT
:::
\
$TEST_SET
\
||
true
# Process test results even if tests fail.
||
FAILED
=
"true"
# Process test results even if tests fail.
cat
$OUTPUT_DIR
/joblog
...
...
@@ -67,3 +67,7 @@ TESTOUTPUT_XML_FILE=$COPY_FROM_DOCKER/sponge_log.xml
python
$MY_DIR
/make_test_output.py
$OUTPUT_DIR
>
$TESTOUTPUT_XML_FILE
ls
-l
$TESTOUTPUT_XML_FILE
if
[
"
$FAILED
"
==
"true"
]
;
then
exit
1
fi
python/tox.ini
View file @
1ccb8d4b
...
...
@@ -4,7 +4,8 @@ envlist =
[testenv]
usedevelop
=
true
passenv
=
CC
passenv
=
CC KOKORO_BUILD_ID KOKORO_BUILD_NUMBER
setenv
=
cpp:
LD_LIBRARY_PATH
=
{toxinidir}/../src/.libs
cpp:
DYLD_LIBRARY_PATH
=
{toxinidir}/../src/.libs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment