Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 789f0699 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Merge branch '0000-a16-build-variants-manually' into 'main'

ci: give the possibility to build official & community manually for dogfooding

See merge request !670
parents dbaf18e1 40a7dd17
Loading
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -110,6 +110,12 @@ buildRelease:
    - if: '$CI_COMMIT_REF_PROTECTED == "true"'
      when: always

.releaseSignedRules:
  rules: &releaseSignedRules
    - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_REF_PROTECTED == "true"'
      when: always
    - when: manual

buildReleaseTest:
  extends: .releaseSigned
  script:
@@ -120,6 +126,8 @@ buildReleaseTest:

buildReleaseCommunity:
  extends: .releaseSigned
  allow_failure: true
  rules: *releaseSignedRules
  script:
    - ./gradlew assembleReleaseCommunity
  artifacts:
@@ -128,6 +136,8 @@ buildReleaseCommunity:

buildReleaseOfficial:
  extends: .releaseSigned
  allow_failure: true
  rules: *releaseSignedRules
  script:
    - ./gradlew assembleReleaseOfficial
  artifacts: