From ecfa17762cb85bef26ece5ce5f1d6ae71f0d7ce0 Mon Sep 17 00:00:00 2001 From: birdbird <6892457-tzugen@users.noreply.gitlab.com> Date: Sun, 18 Jun 2023 13:45:20 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 85da3284..7da73c57 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -120,17 +120,6 @@ Publish Signed APK: rules: - if: $CI_COMMIT_TAG && $CI_PROJECT_ID == $ROOT_PROJECT_ID -RoboTest: - stage: Publish - image: gcr.io/google.com/cloudsdktool/google-cloud-cli:latest - script: - - curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash - - gcloud auth activate-service-account --key-file .secure_files/ultrasonic-61089-8ab2ad46c8a8.json - - gcloud firebase test android run --token $FIREBASE_TOKEN --type robo --app ultrasonic-release/${PACKAGE_APK} --device model=Nexus6,version=21,locale=en,orientation=portrait --device model=Nexus7,version=19,locale=fr,orientation=landscape - rules: - - if: $CI_COMMIT_TAG && $CI_PROJECT_ID == $ROOT_PROJECT_ID - - Release: stage: Release image: registry.gitlab.com/gitlab-org/release-cli:latest @@ -141,4 +130,13 @@ Release: rules: - if: $CI_COMMIT_TAG && $CI_PROJECT_ID == $ROOT_PROJECT_ID +RoboTest: + stage: Release + image: gcr.io/google.com/cloudsdktool/google-cloud-cli:latest + script: + - curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash + - gcloud auth activate-service-account --key-file .secure_files/ultrasonic-61089-8ab2ad46c8a8.json + - gcloud firebase test android run --token $FIREBASE_TOKEN --type robo --app ultrasonic-release/${PACKAGE_APK} --device model=Nexus6,version=21,locale=en,orientation=portrait --device model=Nexus7,version=19,locale=fr,orientation=landscape + rules: + - if: $CI_COMMIT_TAG && $CI_PROJECT_ID == $ROOT_PROJECT_ID