Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
Metrics
Onionoo
Commits
bbc5c16d
Commit
bbc5c16d
authored
Sep 27, 2019
by
Karsten Loesing
Browse files
Use metrics-base ant task to fetch metrics-lib.
Implements part of #31649.
parent
4ba7b00c
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
bbc5c16d
variables
:
GIT_STRATEGY
:
clone
METRICS_LIB_VERSION
:
"
2.6.2"
JAVA_TOOL_OPTIONS
:
"
-Dfile.encoding=UTF-8"
stages
:
...
...
@@ -15,11 +14,7 @@ test:
-
git submodule init
-
git submodule update
-
mkdir lib
-
mkdir tmp
-
pushd tmp
-
curl https://dist.torproject.org/metrics-lib/$METRICS_LIB_VERSION/metrics-lib-$METRICS_LIB_VERSION.tar.gz | tar xzf -
-
popd
-
mv tmp/metrics-lib-$METRICS_LIB_VERSION/generated/dist/metrics-lib-$METRICS_LIB_VERSION-thin.jar lib
-
ant fetch-metrics-lib
-
ant -lib /usr/share/java resolve
-
ant test
-
ant checks
build
@
07c2a00c
Subproject commit
75cda35ba7375ab0f5b12fa214620c3a29917097
Subproject commit
07c2a00c27f0d536223f8b5a61fc91e60eb524d4
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment