Loading .gitlab-ci.yml +14 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ image: "registry.gitlab.e.foundation:5000/e/apps/docker-android-apps-cicd:latest stages: - build - publish variables: GIT_SUBMODULE_STRATEGY: recursive Loading Loading @@ -36,3 +37,16 @@ build: artifacts: paths: - play-services-core/build/outputs/apk/ publish: stage: publish only: - tags # Run only on tags except: - branches # Do not run this job on a branch script: - | curl --fail --output "/dev/null" --silent --show-error --write-out "HTTP response: ${http_code}\n\n" \ --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: mkYsSXNe5yLhzhWSXGRv" \ --data "{\"ref\" : \"${CI_COMMIT_SHA}\",\"name\": \"${CI_COMMIT_TAG}\", \"tag_name\": \"${CI_COMMIT_TAG}\", \"description\": \"${CI_COMMIT_TITLE}\", \"assets\": {\"links\": [{\"name\": \"GMSCore.apk\", \"url\": \"https://gitlab.e.foundation/api/v4/projects/149/jobs/artifacts/${CI_COMMIT_TAG}/raw//play-services-core/build/outputs/apk/withMapboxWithNearby/release/play-services-core-withMapbox-withNearby-release-unsigned.apk?job=build\", \"filepath\": \"/play-services-core/build/outputs/apk/\", \"link_type\":\"other\" }] } }" \ --request POST https://gitlab.e.foundation/api/v4/projects/149/releases play-services-core/build.gradle +11 −0 Original line number Diff line number Diff line Loading @@ -119,10 +119,21 @@ android { disable 'MissingTranslation', 'InvalidPackage', 'BatteryLife', 'ImpliedQuantity', 'MissingQuantity', 'InvalidWakeLockTag' } signingConfigs { release { storeFile file("platform.keystore") storePassword 'password' keyAlias 'platform' keyPassword 'password' } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release } } Loading play-services-core/platform.keystore 0 → 100644 +2.83 KiB File added.No diff preview for this file type. View file Loading
.gitlab-ci.yml +14 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ image: "registry.gitlab.e.foundation:5000/e/apps/docker-android-apps-cicd:latest stages: - build - publish variables: GIT_SUBMODULE_STRATEGY: recursive Loading Loading @@ -36,3 +37,16 @@ build: artifacts: paths: - play-services-core/build/outputs/apk/ publish: stage: publish only: - tags # Run only on tags except: - branches # Do not run this job on a branch script: - | curl --fail --output "/dev/null" --silent --show-error --write-out "HTTP response: ${http_code}\n\n" \ --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: mkYsSXNe5yLhzhWSXGRv" \ --data "{\"ref\" : \"${CI_COMMIT_SHA}\",\"name\": \"${CI_COMMIT_TAG}\", \"tag_name\": \"${CI_COMMIT_TAG}\", \"description\": \"${CI_COMMIT_TITLE}\", \"assets\": {\"links\": [{\"name\": \"GMSCore.apk\", \"url\": \"https://gitlab.e.foundation/api/v4/projects/149/jobs/artifacts/${CI_COMMIT_TAG}/raw//play-services-core/build/outputs/apk/withMapboxWithNearby/release/play-services-core-withMapbox-withNearby-release-unsigned.apk?job=build\", \"filepath\": \"/play-services-core/build/outputs/apk/\", \"link_type\":\"other\" }] } }" \ --request POST https://gitlab.e.foundation/api/v4/projects/149/releases
play-services-core/build.gradle +11 −0 Original line number Diff line number Diff line Loading @@ -119,10 +119,21 @@ android { disable 'MissingTranslation', 'InvalidPackage', 'BatteryLife', 'ImpliedQuantity', 'MissingQuantity', 'InvalidWakeLockTag' } signingConfigs { release { storeFile file("platform.keystore") storePassword 'password' keyAlias 'platform' keyPassword 'password' } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release } } Loading
play-services-core/platform.keystore 0 → 100644 +2.83 KiB File added.No diff preview for this file type. View file