Merge pull request #624 from cyberman54/development

hint on bintray usage added
This commit is contained in:
Verkehrsrot 2020-08-16 13:48:20 +02:00 committed by GitHub
commit b2922b1ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -86,6 +86,8 @@ with open(otakeyfile) as myfile:
key, value = line.partition("=")[::2] key, value = line.partition("=")[::2]
mykeys[key.strip()] = str(value).strip() mykeys[key.strip()] = str(value).strip()
# usage of bintray: see https://github.com/r0oland/bintray-secure-ota
# get bintray user credentials from ota key file # get bintray user credentials from ota key file
user = mykeys["BINTRAY_USER"] user = mykeys["BINTRAY_USER"]
repository = mykeys["BINTRAY_REPO"] repository = mykeys["BINTRAY_REPO"]

View File

@ -22,6 +22,7 @@
using namespace std; using namespace std;
const BintrayClient bintray(BINTRAY_USER, BINTRAY_REPO, BINTRAY_PACKAGE); const BintrayClient bintray(BINTRAY_USER, BINTRAY_REPO, BINTRAY_PACKAGE);
// usage of bintray: see https://github.com/r0oland/bintray-secure-ota
// Connection port (HTTPS) // Connection port (HTTPS)
const int port = 443; const int port = 443;