From 1bd277e7b2cdfc1d43de53f31454dac283d6de80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Han=C3=A7erli?= <burak.hancerli@qt.io> Date: Wed, 12 Feb 2025 14:49:06 +0000 Subject: [PATCH] cicd: cleanup ci scripts --- cicd/android/android_release.keystore | Bin 2804 -> 0 bytes cicd/stages/build.yml | 9 +++++---- src/backend/settings.cpp | 5 +++-- 3 files changed, 8 insertions(+), 6 deletions(-) delete mode 100644 cicd/android/android_release.keystore diff --git a/cicd/android/android_release.keystore b/cicd/android/android_release.keystore deleted file mode 100644 index b8d55ca7380da897a4df89fd9b6c524e2c4200f2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2804 zcma);XE+;-7RQr_5i3>`wMVU_h)t1Fyu_%M7(tDa#vY|+tf*C^h}LLrHHz0Np|-ci zrADb5tx+{<wpx4jy3f5&-{*e1_rp2oIsbG1=i~1=C=&g55ReK*qR*y*AY$}l4w!(n zz<d&Y0+>V}dm%@mNYt<YYeZcECQ+AO$VC^CN5k+R7b86olux48xDeG)_kKI5nNT>C z^4~2Z3JK=Wqc~9uFcvuPQ7`6h77VavhKnIUATbsYPyoe9L-+5CAP6-8#Y+RRkI@6- zslY%4m}Q|)m<Gc14A*FSE5Xk)vKCANk7{j+jsbaH1LkVpluO;JjXN}s`1-TD>3z|t zMgLB-w)bEn-Y;%B1?y`mH|doy79;+}KRi_DCad0Fb6~p8#<i(>#hU0j6QKd|r%O!6 zLCc|^9uiP%+xqK;!kk(<I|$>3_=35t;99=NkUWdCetvnsNJwwu+a`O<Mga(0Ny(*j zS2??-*D2R46+D{!VDt=XPuYkWulIXXPmV_vM5q|ujItNK5|Mk7&s+c*g~@XB?0dLU zw@@<Lzv?(mQuCw=865EC@H9hDz{E6jNm&9GT3zhrhHd01I{~Uodr3O>9|&nyJgKs` z{5daJ5z7$UA~czcu~;Iz2X-MM>9H$&SQliNBMUl|Ffvu9QeE|r=Q`8zUY0Y~Sz=-I z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vYF0y0|414aMFcQS`>O298x1X$>cY1MLzo9OhT*Br4M`ek_r6HS zg=jmHswO9Yq4DwB7j~JOKH2z0c<ESo$OdZ`A9JyUhrtXz50B~~B~}>TW05YfWn)rg z+0f|dGkv_#jeXKwx?0!OItJU$Hs4V-dS1xV`dPG$Pcp7kOLhH9<y3o1h7lE&SSBV2 z39adPv^8dDZ=Ck5{FpF8a;f!Oo_I0v(%h>q>MfV@q3z7&Q0VNNiM=MIDF#0MJ!YR% z@lz1p{ng@ycT!S3+0ICr1tOu;ffVdr($DB5+KUH(eE#rl<B#Q53Ga*bW7}a*wvC>2 zm5`DvUZ#<soe8<w!ltP?QD4nVN-2)s1vA==_?lUrFjYQtA`4c!mQi$r2}YE<ht?^q zeU8Cmv+F;hJTC5zzg{id$7Zjhr;2trpplb2pHdKu*!+rTm63?U2f*lcvT4GPM8{Iu z&RU6}JlO6~kf_w!q)Ajj8Q0hmxGkZ7c<pF}FJ4Jx^)@4tx#l1Y9g7v>^d`^3rsOih zg?X)rPNafnJd-z7;-_}ivU~`5Qc|UMdtc>BTf=;~?%liP9f_wOJPxZe%1_}@25Y9* zPU;8V_>s&;9P~aDu|`u6kG47?4C+WRgjK}=%5t-2S0mHhBF#$3^r%unxX-^fjFU3j ztTpfv0(<60L>XOxjOq6$2m(?AzyiHZ^i-*KX(FyKyBD@UPBO3P5nBt==qBJu&$}L0 gb#K8O3OTw4PCV|l=X9TXl`VyNTlC(!{tH?E1R?PROaK4? diff --git a/cicd/stages/build.yml b/cicd/stages/build.yml index 659a333..74aaa52 100644 --- a/cicd/stages/build.yml +++ b/cicd/stages/build.yml @@ -44,10 +44,13 @@ - cmake --build ${QDS_CI_JOB_BUILD_PATH} --target aab .copy-and-sign-apks: ©-and-sign-apks + - QDS_CI_KEYSTORE_PATH=$(pwd)/android_release.keystore + - QDS_CI_APK_SIGNER_PATH=${DOCKER_ENV_ANDROID_SDK_ROOT}/build-tools/${QDS_CI_ANDROID_SDK_VERSION}/apksigner + - echo ${QDS_VAR_KEYSTORE} | base64 -d > ${QDS_CI_KEYSTORE_PATH} - cp -r ${QDS_CI_JOB_BUILD_PATH}/src/android-build/build/outputs/apk/release/* ${QDS_CI_JOB_ARTIFACTS_PATH_APP} - cp -r ${QDS_CI_JOB_BUILD_PATH}/tests/android-build/build/outputs/apk/release/* ${QDS_CI_JOB_ARTIFACTS_PATH_TEST} - - echo ${QDS_VAR_PASS} | ${DOCKER_ENV_ANDROID_SDK_ROOT}/build-tools/${QDS_CI_ANDROID_SDK_VERSION}/apksigner sign -verbose -ks ${CI_PROJECT_DIR}/cicd/android/android_release.keystore -out ${QDS_CI_JOB_ARTIFACTS_PATH_APP}/android-build-release.apk ${QDS_CI_JOB_ARTIFACTS_PATH_APP}/android-build-release-unsigned.apk - - echo ${QDS_VAR_PASS} | ${DOCKER_ENV_ANDROID_SDK_ROOT}/build-tools/${QDS_CI_ANDROID_SDK_VERSION}/apksigner sign -verbose -ks ${CI_PROJECT_DIR}/cicd/android/android_release.keystore -out ${QDS_CI_JOB_ARTIFACTS_PATH_TEST}/android-build-release.apk ${QDS_CI_JOB_ARTIFACTS_PATH_TEST}/android-build-release-unsigned.apk + - echo ${QDS_VAR_PASS} | ${QDS_CI_APK_SIGNER_PATH} sign -verbose -ks ${QDS_CI_KEYSTORE_PATH} -out ${QDS_CI_JOB_ARTIFACTS_PATH_APP}/android-build-release.apk ${QDS_CI_JOB_ARTIFACTS_PATH_APP}/android-build-release-unsigned.apk + - echo ${QDS_VAR_PASS} | ${QDS_CI_APK_SIGNER_PATH} sign -verbose -ks ${QDS_CI_KEYSTORE_PATH} -out ${QDS_CI_JOB_ARTIFACTS_PATH_TEST}/android-build-release.apk ${QDS_CI_JOB_ARTIFACTS_PATH_TEST}/android-build-release-unsigned.apk - rm -f ${QDS_CI_JOB_ARTIFACTS_PATH_APP}/android-build-release-unsigned.apk ${QDS_CI_JOB_ARTIFACTS_PATH_TEST}/android-build-release-unsigned.apk .copy-and-sign-aab: ©-and-sign-aab @@ -61,8 +64,6 @@ build-android: extends: .pipeline_common stage: build - # rules: - # - if: $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "web" parallel: matrix: - QDS_CI_JOB_TARGET_ARCH: "arm64_v8a" diff --git a/src/backend/settings.cpp b/src/backend/settings.cpp index 3e6eccf..cb04596 100644 --- a/src/backend/settings.cpp +++ b/src/backend/settings.cpp @@ -11,8 +11,9 @@ /* Example of a settings.json file: { - "autoScale": true - "deviceUuid": "1234567890" + "autoScale": true, + "deviceUuid": "1234567890", + "keepScreenOn": false } */ -- GitLab