Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
e855eb08
Commit
e855eb08
authored
Nov 14, 2015
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis-ci fix google play deploy
-explicitly set correct s3 region
parent
0cba4b95
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
.travis.yml
.travis.yml
+3
-1
google_play_upload.py
tools/google_play_upload.py
+1
-1
No files found.
.travis.yml
View file @
e855eb08
...
...
@@ -123,7 +123,7 @@ script:
after_success
:
-
if [[ "${TRAVIS_OS_NAME}" = "android" && "${TRAVIS_PULL_REQUEST}" = "false" && "${TRAVIS_BRANCH}" = "master" ]]; then
pip install --user google-api-python-client PyOpenSSL
&&
openssl aes-256-cbc -K $encrypted_25db6eb7c3fd_key -iv $encrypted_25db6eb7c3fd_iv -in Google_Play_Android_Developer-bb93ae7d61ca.p12.enc -out android/
Google_Play_Android_Developer-bb93ae7d61ca.p12 -d
&&
cd ${SHADOW_BUILD_DIR} && openssl aes-256-cbc -K $encrypted_25db6eb7c3fd_key -iv $encrypted_25db6eb7c3fd_iv -in ${TRAVIS_BUILD_DIR}/Google_Play_Android_Developer-bb93ae7d61ca.p12.enc -out
Google_Play_Android_Developer-bb93ae7d61ca.p12 -d
&& ${TRAVIS_BUILD_DIR}/tools/google_play_upload.py org.mavlink.qgroundcontrol ${SHADOW_BUILD_DIR}/release/package/qgroundcontrol.apk
;
fi
...
...
@@ -137,6 +137,7 @@ deploy:
local_dir
:
${SHADOW_BUILD_DIR}/release/package
upload-dir
:
${TRAVIS_BRANCH}
acl
:
public_read
region
:
us-west-2
skip_cleanup
:
true
on
:
all_branches
:
true
...
...
@@ -160,6 +161,7 @@ deploy:
local_dir
:
${TRAVIS_BUILD_DIR}/src/html
upload-dir
:
doxygen
acl
:
public_read
region
:
us-west-2
skip_cleanup
:
true
branch
:
master
on
:
...
...
tools/google_play_upload.py
View file @
e855eb08
...
...
@@ -39,7 +39,7 @@ argparser.add_argument('apk_file',
def
main
():
# Load the key in PKCS 12 format that you downloaded from the Google APIs
# Console when you created your Service account.
f
=
file
(
'
android/
Google_Play_Android_Developer-bb93ae7d61ca.p12'
,
'rb'
)
f
=
file
(
'Google_Play_Android_Developer-bb93ae7d61ca.p12'
,
'rb'
)
key
=
f
.
read
()
f
.
close
()
...
...
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