summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2019-07-14 15:22:34 +0200
committercyBerta <cyberta@riseup.net>2019-07-14 16:28:43 +0200
commit434df5f7aba1664a5235d7b208dc8ac891e862aa (patch)
treeb28f8817bbc46b59bd67f35c63f64f67db9ccc22 /.gitlab-ci.yml
parent1d4689a6434c9f4ecca679672b4ee2a60f73bb81 (diff)
use prepareForDistribution.sh in CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml46
1 files changed, 31 insertions, 15 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6eb5f6ce..0e22df8c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -112,16 +112,24 @@ build_release:
image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
stage: build
script:
- - ./cleanProject.sh
- - ./build_deps.sh >> build_deps.log 2>&1
- - ./gradlew clean assembleNormalProductionRelease --stacktrace >> productionRelease.log 2>&1
- - ./gradlew clean assembleNormalProductionBeta --stacktrace >> productionBeta.log 2>&1
+ - ./prepareForDistribution.sh build -no-tag >> normalRelease.log 2>&1
artifacts:
paths:
- - app/build/outputs/
- - productionRelease.log
- - productionBeta.log
- - build_deps.log
+ - app/build/outputs/
+ - normalRelease.log
+ when: always
+ expire_in: 1 week
+ when: manual
+
+build_fdroid_beta_release:
+ image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
+ stage: build
+ script:
+ - ./prepareForDistribution.sh build -no-tag -beta >> normalBeta.log 2>&1
+ artifacts:
+ paths:
+ - app/build/outputs/
+ - normalBeta.log
when: always
expire_in: 1 week
when: manual
@@ -130,16 +138,24 @@ build_custom_release:
image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
stage: build
script:
- - ./cleanProject.sh
- - ./build_deps.sh >> build_deps.log 2>&1
- - ./gradlew clean assembleCustomProductionRelease --stacktrace >> productionRelease.log 2>&1
- - ./gradlew clean assembleCustomProductionBeta --stacktrace >> productionBeta.log 2>&1
+ - ./prepareForDistribution.sh build -no-tag -custom RiseupVPN >> customRelease.log 2>&1
artifacts:
paths:
- app/build/outputs/
- - productionRelease.log
- - productionBeta.log
- - build_deps.log
+ - customRelease.log
when: always
expire_in: 1 week
when: manual
+
+build_fdroid_custom_beta_release:
+ image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest"
+ stage: build
+ script:
+ - ./prepareForDistribution.sh build -no-tag -beta -custom RiseupVPN >> customBeta.log 2>&1
+ artifacts:
+ paths:
+ - app/build/outputs/
+ - customBeta.log
+ when: always
+ expire_in: 1 week
+ when: manual \ No newline at end of file