mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-04 09:58:57 +00:00
* fastlane: add s3_client_oidc and support only one bucket - s3_client_oidc: support new buckets only with IAM / OIDC (s3_client_oidc:true). In pull-requests the pipelines are still using static credentials which must be udpated and follow ups (default). - Support only one bucket for beta / releases, e.g. start using only s3_bucket_name to put object and upload - Links need to use DNS for beta / releases and keep using bucket name for pull-requests. - env files for beta / releases only with dns while bucket name being set in workflow. * workflows: upload only to the new bucket - use only one S3 bucket with OIDC for release/beta, keep static creds for build-pr - build-ios-release: OIDC + upload_artifacts_to_s3 with s3_client_oidc:true; simulator upload via upload_artifacts_to_s3 with s3_client_oidc:true - build-ios-beta: simulator upload_artifacts_to_s3 with s3_client_oidc:true; beta upload with s3_client_oidc:true - build-android-release / build-android-beta: AWS_BUCKET_NAME from new bucket, upload_artifacts_to_s3 with s3_client_oidc:true - build-pr: keep AWS_ACCESS_KEY_ID/SECRET for iOS and Android; Android PR add separate S3 upload step with run..." * relase: adjust release bucket name * ci-pr: add upload artifacts to s3 to ios * fsatlane: fix dns name in env ios release * workflows, fastlane: dont upload artifacts to s3 in simulator - fastlane `lane :simulator` just build the artifact and if we want to upload we need to use `lane :upload_artifacts_to_s3` ... - dont upload artifacts to s3 bucket in e2e workflows because it is enough use github artifact for this. * fastlane: add missing aws_bucket_dns_name * fastlane: use error instead error to fail pipeline
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
## You invoke this with --env ios.release on the fastlane command
|
|
APP_NAME=Mattermost
|
|
APP_SCHEME=mattermost
|
|
AWS_BUCKET_DNS_NAME=releases.mattermost.com
|
|
AWS_FOLDER_NAME=mattermost-mobile
|
|
AWS_REGION=us-east-1
|
|
BUILD_FOR_RELEASE=true
|
|
COLLECT_NETWORK_METRICS=false
|
|
EXTENSION_APP_IDENTIFIER=com.mattermost.rn.MattermostShare
|
|
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT=120
|
|
FASTLANE_XCODEBUILD_SETTINGS_RETRIES=6
|
|
IOS_APP_GROUP=group.com.mattermost
|
|
IOS_BUILD_EXPORT_METHOD=app-store
|
|
IOS_ICLOUD_CONTAINER=iCloud.com.mattermost.rn
|
|
MAIN_APP_IDENTIFIER=com.mattermost.rn
|
|
MATCH_APP_IDENTIFIER=com.mattermost.rn.NotificationService,com.mattermost.rn.MattermostShare,com.mattermost.rn
|
|
MATCH_READONLY=true
|
|
MATCH_SHALLOW_CLONE=true
|
|
MATCH_SKIP_DOCS=true
|
|
MATCH_TYPE=appstore
|
|
NOTIFICATION_SERVICE_IDENTIFIER=com.mattermost.rn.NotificationService
|
|
PILOT_SKIP_WAITING_FOR_BUILD_PROCESSING=true
|
|
REPLACE_ASSETS=true
|
|
SENTRY_ENABLED=true
|
|
SENTRY_ORG=mattermost-mr
|
|
SENTRY_PROJECT_IOS=mattermost-mobile-ios
|
|
SHOW_ONBOARDING=true
|
|
SHOW_REVIEW=true
|
|
SYNC_PROVISIONING_PROFILES=true
|
|
|
|
INTUNE_ENABLED=true
|
|
INTUNE_CLIENT_ID="9ac649f1-4f77-44d6-9792-b2f54ab3c9a7"
|