New build #854

Merged
akinwale merged 33 commits from new-build into master 2020-02-27 19:20:06 +01:00
Showing only changes of commit c31d164215 - Show all commits

View file

@ -46,16 +46,16 @@ build apk:
- cp bin/browser-$BUILD_VERSION-release__arm64.apk /dev/null - cp bin/browser-$BUILD_VERSION-release__arm64.apk /dev/null
deploy build.lbry.io: deploy build.lbry.io:
image: python:latest image: python:buster
stage: deploy stage: deploy
dependencies: dependencies:
- build apk - build apk
before_script: before_script:
- apt-get -y update && apt-get -y install openjdk-8-jdk
- pip install awscli - pip install awscli
- chmod u+x $CI_PROJECT_DIR/gradlew - chmod u+x $CI_PROJECT_DIR/gradlew
- $CI_PROJECT_DIR/gradlew -q printVersionName --console=plain - $CI_PROJECT_DIR/gradlew -q printVersionName --console=plain
- export BUILD_VERSION=$($CI_PROJECT_DIR/gradlew -q printVersionName --console=plain | tail -1) - export BUILD_VERSION=$($CI_PROJECT_DIR/gradlew -q printVersionName --console=plain | tail -1)
- echo "BuildVersion=$BUILD_VERSION"
- export BUILD_APK_FILENAME__32=browser-$BUILD_VERSION-release__arm.apk - export BUILD_APK_FILENAME__32=browser-$BUILD_VERSION-release__arm.apk
- export BUILD_APK_FILENAME__64=browser-$BUILD_VERSION-release__arm64.apk - export BUILD_APK_FILENAME__64=browser-$BUILD_VERSION-release__arm64.apk
script: script:
@ -64,13 +64,14 @@ deploy build.lbry.io:
- aws s3 cp bin/$BUILD_APK_FILENAME__64 s3://build.lbry.io/android/push.apk - aws s3 cp bin/$BUILD_APK_FILENAME__64 s3://build.lbry.io/android/push.apk
release apk: release apk:
image: python:latest image: python:buster
stage: release stage: release
only: only:
- tags - tags
dependencies: dependencies:
- build apk - build apk
before_script: before_script:
- apt-get -y update && apt-get -y install openjdk-8-jdk
- pip install awscli githubrelease - pip install awscli githubrelease
- chmod u+x $CI_PROJECT_DIR/gradlew - chmod u+x $CI_PROJECT_DIR/gradlew
- export BUILD_VERSION=$($CI_PROJECT_DIR/gradlew -q printVersionName --console=plain | tail -1) - export BUILD_VERSION=$($CI_PROJECT_DIR/gradlew -q printVersionName --console=plain | tail -1)