Loading .gitlab-ci.yml +18 −5 Original line number Diff line number Diff line image: registry.gitlab.e.foundation/e/os/docker-android-apps-cicd:latest image: registry.gitlab.e.foundation:5000/e/os/docker-android-apps-cicd:latest workflow: auto_cancel: Loading Loading @@ -53,12 +53,25 @@ before_script: variables: CACHE_POLICY: pull-push interruptible: false - if: $CI_PIPELINE_SOURCE == "web" variables: CACHE_POLICY: pull interruptible: true - when: never allow_failure: false tags: - android-app cache: key: ${CI_PROJECT_ID} - key: prefix: "android-app-${CI_PROJECT_ID}-${CI_DEFAULT_BRANCH}" files: - gradle/wrapper/gradle-wrapper.properties - gradle/libs.versions.toml paths: - .gradle/ - .gradle/wrapper/dists/ - .gradle/caches/modules-2/ - .gradle/caches/build-cache-1/ policy: $CACHE_POLICY .rules_protected_tag_manual: &rules_protected_tag_manual Loading Loading
.gitlab-ci.yml +18 −5 Original line number Diff line number Diff line image: registry.gitlab.e.foundation/e/os/docker-android-apps-cicd:latest image: registry.gitlab.e.foundation:5000/e/os/docker-android-apps-cicd:latest workflow: auto_cancel: Loading Loading @@ -53,12 +53,25 @@ before_script: variables: CACHE_POLICY: pull-push interruptible: false - if: $CI_PIPELINE_SOURCE == "web" variables: CACHE_POLICY: pull interruptible: true - when: never allow_failure: false tags: - android-app cache: key: ${CI_PROJECT_ID} - key: prefix: "android-app-${CI_PROJECT_ID}-${CI_DEFAULT_BRANCH}" files: - gradle/wrapper/gradle-wrapper.properties - gradle/libs.versions.toml paths: - .gradle/ - .gradle/wrapper/dists/ - .gradle/caches/modules-2/ - .gradle/caches/build-cache-1/ policy: $CACHE_POLICY .rules_protected_tag_manual: &rules_protected_tag_manual Loading