Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
briar-reproducer
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
Model registry
Operate
Environments
Monitor
Incidents
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
briar
briar-reproducer
Commits
df8e7f7c
There was a problem fetching the pipeline summary.
Verified
Commit
df8e7f7c
authored
7 years ago
by
Torsten Grote
Browse files
Options
Downloads
Patches
Plain Diff
Move to Docker Hub registry
parent
017d66cd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
README.md
+4
-9
4 additions, 9 deletions
README.md
reproduce.py
+1
-1
1 addition, 1 deletion
reproduce.py
with
8 additions
and
13 deletions
.gitlab-ci.yml
+
3
−
3
View file @
df8e7f7c
...
...
@@ -9,11 +9,11 @@ stages:
-
release
variables
:
TEST_IMAGE
:
registry.gitlab.com/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}
:${CI_BUILD_REF_NAME}
RELEASE_IMAGE
:
registry.gitlab.com/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}
:latest
TEST_IMAGE
:
briar/reproducer
:${CI_BUILD_REF_NAME}
RELEASE_IMAGE
:
briar/reproducer
:latest
before_script
:
-
echo ${
CI_BUILD_TOKEN
} | docker login -u
gitlab-ci-token --password-stdin registry.gitlab.com
-
echo ${
DOCKER_HUB_PASS
} | docker login -u
${DOCKER_HUB_USER} --password-stdin
build
:
stage
:
build
...
...
This diff is collapsed.
Click to expand it.
README.md
+
4
−
9
View file @
df8e7f7c
...
...
@@ -58,14 +58,9 @@ you can use it for faster verification.
If not, you can skip to the next section to build the image yourself.
Then you are just trusting the official
`debian:stable`
which is out of our control.
To use our image without building it yourself,
you can just pull it from Gilab.com's docker registry:
To use our image without building it yourself, you can just pull it from Docker Hub:
docker pull registry.gitlab.com/grote/briar-reproducer:latest
Tag it with our canonical name:
docker tag registry.gitlab.com/grote/briar-reproducer:latest briar-reproducer:latest
docker pull briar/reproducer:latest
Now you can skip the next section and move to
*Run the verification*
.
...
...
@@ -77,13 +72,13 @@ Check out the source repository:
Build our Docker image:
docker build -t briar
-
reproducer briar-reproducer
docker build -t briar
/
reproducer briar-reproducer
### Run the verification
To verify a specific version of Briar, run
docker run briar
-
reproducer:latest ./reproduce.py [tag]
docker run briar
/
reproducer:latest ./reproduce.py [tag]
Where
`[tag]`
is the git tag (source code snapshot) that identifies the version
you want to test, for example
`release-1.0.1`
.
...
...
This diff is collapsed.
Click to expand it.
reproduce.py
+
1
−
1
View file @
df8e7f7c
...
...
@@ -25,7 +25,7 @@ def main():
subprocess
.
check_call
([
'
wget
'
,
'
--no-verbose
'
,
url
,
'
-O
'
,
reference_apk
])
# build the app
repo_call
([
"
./gradlew
"
,
GRADLE_TASK
])
repo_call
([
"
./gradlew
"
,
"
--no-daemon
"
,
GRADLE_TASK
])
# check if both APKs match
apk
=
os
.
path
.
join
(
REPO_DIR
,
APK_PATH
)
...
...
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