Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
3f1d5ddc
Commit
3f1d5ddc
authored
Oct 23, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove s3 bucket by month
parent
a8af167f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
scripts/tokutek.make.mysql.bash
scripts/tokutek.make.mysql.bash
+0
-4
No files found.
scripts/tokutek.make.mysql.bash
View file @
3f1d5ddc
...
@@ -10,7 +10,6 @@ function copy_to_s3() {
...
@@ -10,7 +10,6 @@ function copy_to_s3() {
local
s3_build_bucket
=
$1
;
local
s3_release_bucket
=
$2
;
local
mysql_distro
=
$3
local
s3_build_bucket
=
$1
;
local
s3_release_bucket
=
$2
;
local
mysql_distro
=
$3
local
ts
=
$(
date
+%s
)
local
ts
=
$(
date
+%s
)
local
ymd
=
$(
date
+%Y%m%d
-d
@
$ts
)
local
ymd
=
$(
date
+%Y%m%d
-d
@
$ts
)
local
ym
=
$(
date
+%Y%m
-d
@
$ts
)
local
exitcode
=
0
;
local
r
=
0
local
exitcode
=
0
;
local
r
=
0
for
f
in
$(
find
.
-maxdepth
1
\(
-name
$mysql_distro
'*.tar.gz*'
-o
-name
$mysql_distro
'*.rpm*'
\)
)
;
do
for
f
in
$(
find
.
-maxdepth
1
\(
-name
$mysql_distro
'*.tar.gz*'
-o
-name
$mysql_distro
'*.rpm*'
\)
)
;
do
f
=
$(
basename
$f
)
f
=
$(
basename
$f
)
...
@@ -24,9 +23,6 @@ function copy_to_s3() {
...
@@ -24,9 +23,6 @@ function copy_to_s3() {
r
=
$?
r
=
$?
echo
`
date
`
s3put
$s3_build_bucket
-date
$ymd
/
$f
$r
echo
`
date
`
s3put
$s3_build_bucket
-date
$ymd
/
$f
$r
if
[
$r
!=
0
]
;
then
exitcode
=
1
;
fi
if
[
$r
!=
0
]
;
then
exitcode
=
1
;
fi
# copy to partition by date
s3mkbucket
$s3_build_bucket
-
$ym
s3copykey
$s3_build_bucket
-
$ym
$f
$s3_build_bucket
$f
done
done
if
[[
$git_tag
=
~ tokudb-.
*
]]
;
then
if
[[
$git_tag
=
~ tokudb-.
*
]]
;
then
s3mkbucket
$s3_release_bucket
-
$git_tag
s3mkbucket
$s3_release_bucket
-
$git_tag
...
...
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