mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 14:51:44 +01:00
Merge branch 'fix/fdroid' into 'main'
Update file .gitlab-ci.yml See merge request fabinfra/fabaccess/borepin!72
This commit is contained in:
commit
8f5f210fcf
@ -1,5 +1,5 @@
|
|||||||
variables:
|
variables:
|
||||||
VERSION_PATTERN: '/v\d+\.\d+(\.\d+)?/'
|
VERSION_PATTERN: '/^v\d+\.\d+(\.\d+)?$/'
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
LIB_RELEASE_FOLDER: 'Borepin\Borepin\bin\Release'
|
LIB_RELEASE_FOLDER: 'Borepin\Borepin\bin\Release'
|
||||||
UWP_RELEASE_FOLDER: 'Borepin\Borepin.UWP\bin\x86\Release'
|
UWP_RELEASE_FOLDER: 'Borepin\Borepin.UWP\bin\x86\Release'
|
||||||
@ -87,7 +87,7 @@ pack_Android_AAB:
|
|||||||
needs:
|
needs:
|
||||||
- build_Android
|
- build_Android
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $VERSION_PATTERN
|
||||||
tags:
|
tags:
|
||||||
- fabinfra
|
- fabinfra
|
||||||
- internal
|
- internal
|
||||||
@ -112,7 +112,7 @@ pack_Android_APK:
|
|||||||
needs:
|
needs:
|
||||||
- build_Android
|
- build_Android
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $VERSION_PATTERN
|
||||||
tags:
|
tags:
|
||||||
- fabinfra
|
- fabinfra
|
||||||
- internal
|
- internal
|
||||||
@ -138,7 +138,7 @@ pack_FDroid_APK:
|
|||||||
needs:
|
needs:
|
||||||
- build_Android
|
- build_Android
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $VERSION_PATTERN
|
||||||
tags:
|
tags:
|
||||||
- fabinfra
|
- fabinfra
|
||||||
- internal
|
- internal
|
||||||
@ -164,7 +164,7 @@ pack_iOS:
|
|||||||
needs:
|
needs:
|
||||||
- build_iOS
|
- build_iOS
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $VERSION_PATTERN
|
||||||
tags:
|
tags:
|
||||||
- fabinfra
|
- fabinfra
|
||||||
- internal
|
- internal
|
||||||
@ -188,7 +188,7 @@ deploy_Android_Internal:
|
|||||||
needs:
|
needs:
|
||||||
- pack_Android_AAB
|
- pack_Android_AAB
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $VERSION_PATTERN
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
image: registry.gitlab.com/fabinfra/gtk-sharp-build:latest
|
image: registry.gitlab.com/fabinfra/gtk-sharp-build:latest
|
||||||
@ -211,10 +211,12 @@ pages:
|
|||||||
needs:
|
needs:
|
||||||
- pack_FDroid_APK
|
- pack_FDroid_APK
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $VERSION_PATTERN
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
image: registry.gitlab.com/fdroid/docker-executable-fdroidserver:latest
|
image:
|
||||||
|
name: registry.gitlab.com/fdroid/docker-executable-fdroidserver:latest
|
||||||
|
entrypoint: [""]
|
||||||
variables:
|
variables:
|
||||||
LC_ALL: 'en_US.UTF-8'
|
LC_ALL: 'en_US.UTF-8'
|
||||||
LANG: 'en_US.UTF-8'
|
LANG: 'en_US.UTF-8'
|
||||||
@ -249,7 +251,7 @@ upload_binaries:
|
|||||||
script:
|
script:
|
||||||
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file Borepin/Borepin.Android/bin/Release/org.fab_infra.fabaccess-Signed.apk "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/borepin/${CI_COMMIT_TAG}/org.fab_infra.fabaccess-Signed.apk"'
|
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file Borepin/Borepin.Android/bin/Release/org.fab_infra.fabaccess-Signed.apk "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/borepin/${CI_COMMIT_TAG}/org.fab_infra.fabaccess-Signed.apk"'
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $VERSION_PATTERN
|
||||||
|
|
||||||
release_job:
|
release_job:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
@ -259,7 +261,9 @@ release_job:
|
|||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $VERSION_PATTERN
|
||||||
|
- if: $CI_COMMIT_TAG =~ "release/.*"
|
||||||
|
when: never
|
||||||
when: manual
|
when: manual
|
||||||
script:
|
script:
|
||||||
- echo "Creating GitLab release…"
|
- echo "Creating GitLab release…"
|
||||||
@ -277,7 +281,7 @@ deploy_Android_Beta:
|
|||||||
needs:
|
needs:
|
||||||
- deploy_Android_Internal
|
- deploy_Android_Internal
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $VERSION_PATTERN
|
||||||
when: manual
|
when: manual
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
@ -300,7 +304,7 @@ deploy_Android_Production:
|
|||||||
needs:
|
needs:
|
||||||
- deploy_Android_Beta
|
- deploy_Android_Beta
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $VERSION_PATTERN
|
||||||
when: manual
|
when: manual
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
@ -323,7 +327,7 @@ deploy_iOS_Internal:
|
|||||||
needs:
|
needs:
|
||||||
- pack_iOS
|
- pack_iOS
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $VERSION_PATTERN
|
||||||
tags:
|
tags:
|
||||||
- fabinfra
|
- fabinfra
|
||||||
- internal
|
- internal
|
||||||
@ -350,7 +354,7 @@ deploy_iOS_Beta:
|
|||||||
needs:
|
needs:
|
||||||
- pack_iOS
|
- pack_iOS
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $VERSION_PATTERN
|
||||||
when: manual
|
when: manual
|
||||||
tags:
|
tags:
|
||||||
- fabinfra
|
- fabinfra
|
||||||
@ -378,7 +382,7 @@ deploy_iOS_Production:
|
|||||||
needs:
|
needs:
|
||||||
- deploy_iOS_Beta
|
- deploy_iOS_Beta
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ $VERSION_PATTERN
|
||||||
when: manual
|
when: manual
|
||||||
tags:
|
tags:
|
||||||
- fabinfra
|
- fabinfra
|
||||||
|
Loading…
x
Reference in New Issue
Block a user