Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
157f663f
Commit
157f663f
authored
Nov 07, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16867 from justinsb/aws_log_upload_urls
Auto commit by PR queue bot
parents
13e68d2a
5bde574e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
util.sh
cluster/aws/util.sh
+4
-0
No files found.
cluster/aws/util.sh
View file @
157f663f
...
@@ -587,6 +587,10 @@ function upload-server-tars() {
...
@@ -587,6 +587,10 @@ function upload-server-tars() {
local
salt_tar_path
=
"
${
staging_path
}
/
${
SALT_TAR
##*/
}
"
local
salt_tar_path
=
"
${
staging_path
}
/
${
SALT_TAR
##*/
}
"
aws s3api put-object-acl
--region
${
s3_bucket_location
}
--bucket
${
AWS_S3_BUCKET
}
--key
"
${
salt_tar_path
}
"
--grant-read
'uri="http://acs.amazonaws.com/groups/global/AllUsers"'
aws s3api put-object-acl
--region
${
s3_bucket_location
}
--bucket
${
AWS_S3_BUCKET
}
--key
"
${
salt_tar_path
}
"
--grant-read
'uri="http://acs.amazonaws.com/groups/global/AllUsers"'
SALT_TAR_URL
=
"
${
s3_url_base
}
/
${
AWS_S3_BUCKET
}
/
${
salt_tar_path
}
"
SALT_TAR_URL
=
"
${
s3_url_base
}
/
${
AWS_S3_BUCKET
}
/
${
salt_tar_path
}
"
echo
"Uploaded server tars:"
echo
" SERVER_BINARY_TAR_URL:
${
SERVER_BINARY_TAR_URL
}
"
echo
" SALT_TAR_URL:
${
SALT_TAR_URL
}
"
}
}
# Adds a tag to an AWS resource
# Adds a tag to an AWS resource
...
...
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