Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
ee3307a1
Unverified
Commit
ee3307a1
authored
Feb 08, 2020
by
Edward Thomson
Committed by
GitHub
Feb 08, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5392 from pks-t/pks/ci-warnings
azure: fix misleading messages printed to stderr being
parents
6a61a418
49bb4237
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
16 deletions
+13
-16
azure-pipelines/docker/bionic
+2
-3
azure-pipelines/docker/entrypoint.sh
+2
-2
azure-pipelines/docker/xenial
+6
-9
azure-pipelines/test.sh
+3
-2
No files found.
azure-pipelines/docker/bionic
View file @
ee3307a1
...
...
@@ -25,9 +25,8 @@ RUN apt-get update && \
RUN mkdir /var/run/sshd
RUN cd /tmp && \
curl -LO https://tls.mbed.org/download/mbedtls-2.16.2-apache.tgz && \
tar -xf mbedtls-2.16.2-apache.tgz && \
rm -f mbedtls-2.16.2-apache.tgz && \
curl --location --silent https://tls.mbed.org/download/mbedtls-2.16.2-apache.tgz | \
tar -xz && \
cd mbedtls-2.16.2 && \
scripts/config.pl set MBEDTLS_MD4_C 1 && \
CFLAGS=-fPIC cmake -G Ninja -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DUSE_STATIC_MBEDTLS_LIBRARY=ON . && \
...
...
azure-pipelines/docker/entrypoint.sh
View file @
ee3307a1
#!/bin/bash
useradd
--shell
/bin/bash
--create-home
libgit2
#!/bin/bash
-e
useradd
--shell
/bin/bash libgit2
chown
-R
$(
id
-u
libgit2
)
/home/libgit2
exec
gosu libgit2
"
$@
"
azure-pipelines/docker/xenial
View file @
ee3307a1
...
...
@@ -27,9 +27,8 @@ RUN apt-get update && \
FROM apt AS mbedtls
RUN cd /tmp && \
curl -LO https://tls.mbed.org/download/mbedtls-2.16.2-apache.tgz && \
tar -xf mbedtls-2.16.2-apache.tgz && \
rm -f mbedtls-2.16.2-apache.tgz && \
curl --location --silent https://tls.mbed.org/download/mbedtls-2.16.2-apache.tgz | \
tar -xz && \
cd mbedtls-2.16.2 && \
scripts/config.pl set MBEDTLS_MD4_C 1 && \
CFLAGS=-fPIC cmake -G Ninja -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DUSE_STATIC_MBEDTLS_LIBRARY=ON . && \
...
...
@@ -39,9 +38,8 @@ RUN cd /tmp && \
FROM mbedtls AS libssh2
RUN cd /tmp && \
curl -LO https://www.libssh2.org/download/libssh2-1.8.2.tar.gz && \
tar -xf libssh2-1.8.2.tar.gz && \
rm -f libssh2-1.8.2.tar.gz && \
curl --location --silent https://www.libssh2.org/download/libssh2-1.8.2.tar.gz | \
tar -xz && \
cd libssh2-1.8.2 && \
CFLAGS=-fPIC cmake -G Ninja -DBUILD_SHARED_LIBS=ON -DCRYPTO_BACKEND=Libgcrypt . && \
ninja install && \
...
...
@@ -50,9 +48,8 @@ RUN cd /tmp && \
FROM libssh2 AS valgrind
RUN cd /tmp && \
curl -LO https://sourceware.org/pub/valgrind/valgrind-3.15.0.tar.bz2 && \
tar -xf valgrind-3.15.0.tar.bz2 && \
rm -f valgrind-3.15.0.tar.bz2 && \
curl --location --silent https://sourceware.org/pub/valgrind/valgrind-3.15.0.tar.bz2 | \
tar -xj && \
cd valgrind-3.15.0 && \
./configure && \
make && \
...
...
azure-pipelines/test.sh
View file @
ee3307a1
...
...
@@ -81,10 +81,11 @@ if [ -z "$SKIP_GITDAEMON_TESTS" ]; then
git init
--bare
"
${
GITDAEMON_DIR
}
/test.git"
git daemon
--listen
=
localhost
--export-all
--enable
=
receive-pack
--base-path
=
"
${
GITDAEMON_DIR
}
"
"
${
GITDAEMON_DIR
}
"
2>/dev/null &
GITDAEMON_PID
=
$!
disown
$GITDAEMON_PID
fi
if
[
-z
"
$SKIP_PROXY_TESTS
"
]
;
then
curl
-
L
https://github.com/ethomson/poxyproxy/releases/download/v0.7.0/poxyproxy-0.7.0.jar
>
poxyproxy.jar
curl
-
-location
--silent
https://github.com/ethomson/poxyproxy/releases/download/v0.7.0/poxyproxy-0.7.0.jar
>
poxyproxy.jar
echo
""
echo
"Starting HTTP proxy (Basic)..."
...
...
@@ -96,7 +97,7 @@ if [ -z "$SKIP_PROXY_TESTS" ]; then
fi
if
[
-z
"
$SKIP_NTLM_TESTS
"
]
;
then
curl
-
L
https://github.com/ethomson/poxygit/releases/download/v0.4.0/poxygit-0.4.0.jar
>
poxygit.jar
curl
-
-location
--silent
https://github.com/ethomson/poxygit/releases/download/v0.4.0/poxygit-0.4.0.jar
>
poxygit.jar
echo
""
echo
"Starting HTTP server..."
...
...
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