Files
AuroraStore/.gitlab-ci.yml
Aayush Gupta cf75e9f9f1 REUSE compliance [1/*]
Resolve license and copyright issues for all files other than the "app/" module

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-21 14:45:44 +08:00

35 lines
1001 B
YAML

#
# SPDX-FileCopyrightText: 2021-2025 Aurora OSS
# SPDX-FileCopyrightText: 2023-2025 The Calyx Institute
# SPDX-License-Identifier: GPL-3.0-or-later
#
variables:
PACKAGE_VERSION: "continuous"
DEBUG_BINARY: "com.aurora.store.vanilla.debug_${CI_COMMIT_SHORT_SHA}.apk"
DEBUG_BINARY_PATH: "app/build/outputs/apk/vanilla/debug/app-vanilla-debug.apk"
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/debug/${PACKAGE_VERSION}"
stages:
- build
- upload
- release
assembleVanillaDebug:
stage: build
image: theimpulson/gitlab-ci-android:latest
script:
- './gradlew assembleVanillaDebug'
artifacts:
paths:
- $DEBUG_BINARY_PATH
- 'app/schemas/com.aurora.store.data.room.AuroraDatabase/'
uploadDebug:
stage: upload
image: curlimages/curl:latest
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file ${DEBUG_BINARY_PATH} ${PACKAGE_REGISTRY_URL}/${DEBUG_BINARY}'