Commit d86385ec authored by Jose Blaya's avatar Jose Blaya
Browse files

Update gitlab-ci to don't run on master and build qa automatically on release branches

parent 2040afe5
...@@ -49,6 +49,7 @@ qa_archive: ...@@ -49,6 +49,7 @@ qa_archive:
expire_in: 1 week expire_in: 1 week
only: only:
- develop - develop
- /^release.*$/
tags: tags:
- ios - ios
...@@ -73,6 +74,7 @@ qa_deploy: ...@@ -73,6 +74,7 @@ qa_deploy:
expire_in: 1 week expire_in: 1 week
only: only:
- develop - develop
- /^release.*$/
tags: tags:
- ios - ios
...@@ -89,6 +91,7 @@ qa_notify: ...@@ -89,6 +91,7 @@ qa_notify:
manual manual
only: only:
- develop - develop
- /^release.*$/
tags: tags:
- ios - ios
...@@ -129,36 +132,36 @@ beta_manual_deploy: ...@@ -129,36 +132,36 @@ beta_manual_deploy:
tags: tags:
- ios - ios
beta_archive: #beta_archive:
stage: archive # stage: archive
variables: # variables:
MATCH_TYPE: "appstore" # MATCH_TYPE: "appstore"
GYM_SCHEME: "PIA VPN" # GYM_SCHEME: "PIA VPN"
GYM_EXPORT_METHOD: "app-store" # GYM_EXPORT_METHOD: "app-store"
script: # script:
#- bundle exec fastlane clean_openssl # #- bundle exec fastlane clean_openssl
- bundle exec fastlane create_archive # - bundle exec fastlane create_archive
artifacts: # artifacts:
paths: # paths:
- "$STAGE_ARTIFACTS_PATH/$STAGE_ARCHIVE_NAME.*" # - "$STAGE_ARTIFACTS_PATH/$STAGE_ARCHIVE_NAME.*"
expire_in: 1 week # expire_in: 1 week
only: # only:
- master # - master
tags: # tags:
- ios # - ios
beta_deploy: #beta_deploy:
stage: deploy # stage: deploy
variables: # variables:
PILOT_IPA: "$STAGE_ARTIFACTS_PATH/$STAGE_ARCHIVE_NAME.ipa" # PILOT_IPA: "$STAGE_ARTIFACTS_PATH/$STAGE_ARCHIVE_NAME.ipa"
PILOT_DISTRIBUTE_EXTERNAL: "true" # PILOT_DISTRIBUTE_EXTERNAL: "true"
DEMO_ACCOUNT_REQUIRED: "true" # DEMO_ACCOUNT_REQUIRED: "true"
script: # script:
- bundle exec fastlane beta_deploy # - bundle exec fastlane beta_deploy
environment: # environment:
name: "testflight" # name: "testflight"
only: # only:
- master # - master
tags: # tags:
- ios # - ios
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment