Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
moby
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
emulab
moby
Commits
c08d2455
Commit
c08d2455
authored
11 years ago
by
Solomon Hykes
Browse files
Options
Downloads
Patches
Plain Diff
dockerbuilder: let the Makefile upload to s3 with 'make release'
parent
b6a5e604
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hack/dockerbuilder/dockerbuilder
+3
-18
3 additions, 18 deletions
hack/dockerbuilder/dockerbuilder
with
3 additions
and
18 deletions
hack/dockerbuilder/dockerbuilder
+
3
−
18
View file @
c08d2455
...
...
@@ -15,12 +15,10 @@ export REVISION=$1
if
[
-z
"
$AWS_ID
"
]
;
then
echo
"Warning: environment variable AWS_ID is not set. Won't upload to S3."
NO_S3
=
1
fi
if
[
-z
"
$AWS_KEY
"
]
;
then
echo
"Warning: environment variable AWS_KEY is not set. Won't upload to S3."
NO_S3
=
1
fi
if
[
-z
"
$GPG_KEY
"
]
;
then
...
...
@@ -28,28 +26,15 @@ if [ -z "$GPG_KEY" ]; then
NO_UBUNTU
=
1
fi
if
[
-z
"
$REVISION
"
]
;
then
rm
-fr
docker-master
git clone https://github.com/dotcloud/docker docker-master
cd
docker-master
else
rm
-fr
docker-
$REVISION
git init docker-
$REVISION
cd
docker-
$REVISION
git fetch
-t
https://github.com/dotcloud/docker
$REVISION
:
$REVISION
git reset
--hard
FETCH_HEAD
fi
rm
-fr
docker-release
git clone https://github.com/dotcloud/docker docker-release
cd
docker-release
if
[
-z
"
$REVISION
"
]
;
then
make release
else
make release
RELEASE_VERSION
=
$REVISION
fi
if
[
-z
"
$NO_S3
"
]
;
then
s3cmd
-P
put docker-
$REVISION
.tgz s3://get.docker.io/builds/
$(
uname
-s
)
/
$(
uname
-m
)
/docker-
$REVISION
.tgz
fi
if
[
-z
"
$NO_UBUNTU
"
]
;
then
(
cd
packaging/ubuntu
&&
make ubuntu
)
fi
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