Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-git-sync
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xu Wang
docker-git-sync
Commits
5477ce8c
Commit
5477ce8c
authored
Apr 30, 2017
by
Xu Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change gitlab.med to code
parent
25a78a83
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+2
-2
envs
envs
+1
-1
scripts/producer.sh
scripts/producer.sh
+1
-1
No files found.
README.md
View file @
5477ce8c
...
...
@@ -27,8 +27,8 @@ $ make build
$ make up follow
...
producer_1 | Initialized empty Git repository in /data/.git/
producer_1 | Producer: update /data from git@
gitlab.med.stanford.edu:xuwang/docker-examples
.git
consumer_1 | Consumer: commit
87e2810bf5dcbfc3f3a5800e9d7c08ec9f97c153 Author: Xu Wang...
producer_1 | Producer: update /data from git@
code.stanford.edu:xuwang/docker-git-sync
.git
consumer_1 | Consumer: commit
25a78a835e6dfc6e963650b9d3ed577a028e1896 Author: Xu Wang <xuwang@gmail.com> Date: Sun Apr 30 19:35:00 2017 -0700 docker example: sync git repo in container
...
```
...
...
envs
View file @
5477ce8c
...
...
@@ -2,7 +2,7 @@
DEPLOY_KEY=/keys/docker-examples
# git repo to be pulled
REPO=git@
gitlab.med.stanford.edu:xuwang/docker-examples
.git
REPO=git@
code.stanford.edu:xuwang/docker-git-sync
.git
# data path
DATA=/data
...
...
scripts/producer.sh
View file @
5477ce8c
#!/bin/sh
# content git repo
REPO
=
${
REPO
:-
"git@
gitlab.med.stanford.edu:xuwang/docker-examples
.git"
}
REPO
=
${
REPO
:-
"git@
code.stanford.edu:xuwang/docker-git-sync
.git"
}
# destination dir
DATA
=
${
DATA
:-
/data
}
# git repo deploy key
...
...
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