mattermost-mobile-upstream/fastlane/.env.ios.beta
Nuno Simões 9f0c68373c
workflows, fast lane: upload beta / release artifacts only to one bucket (#9570)
* 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
2026-03-31 17:51:43 +02:00

32 lines
1.1 KiB
Plaintext

## You invoke this with --env ios.beta on the fastlane command
APP_NAME="Mattermost Beta"
APP_SCHEME=mattermost
AWS_BUCKET_DNS_NAME=releases.mattermost.com
AWS_FOLDER_NAME=mattermost-mobile-beta
AWS_REGION=us-east-1
BETA_BUILD=true
BUILD_FOR_RELEASE=true
COLLECT_NETWORK_METRICS=true
EXTENSION_APP_IDENTIFIER=com.mattermost.rnbeta.MattermostShare
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT=120
FASTLANE_XCODEBUILD_SETTINGS_RETRIES=6
IOS_APP_GROUP=group.com.mattermost.rnbeta
IOS_BUILD_EXPORT_METHOD=app-store
IOS_ICLOUD_CONTAINER=iCloud.com.mattermost.rnbeta
MAIN_APP_IDENTIFIER=com.mattermost.rnbeta
MATCH_APP_IDENTIFIER=com.mattermost.rnbeta.NotificationService,com.mattermost.rnbeta.MattermostShare,com.mattermost.rnbeta
MATCH_READONLY=true
MATCH_SHALLOW_CLONE=true
MATCH_SKIP_DOCS=true
MATCH_TYPE=appstore
NOTIFICATION_SERVICE_IDENTIFIER=com.mattermost.rnbeta.NotificationService
PILOT_SKIP_WAITING_FOR_BUILD_PROCESSING=true
REPLACE_ASSETS=false
SENTRY_ENABLED=true
SENTRY_ORG=mattermost-mr
SENTRY_PROJECT_IOS=mattermost-ios-test
SHOW_ONBOARDING=true
SYNC_PROVISIONING_PROFILES=true
INTUNE_ENABLED=true
INTUNE_CLIENT_ID="64e9952b-20eb-46dc-92ad-99089ed24903"