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
20 lines
572 B
Plaintext
20 lines
572 B
Plaintext
## You invoke this with --env android.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
|
|
BETA_BUILD=false
|
|
BUILD_FOR_RELEASE=true
|
|
COLLECT_NETWORK_METRICS=false
|
|
MAIN_APP_IDENTIFIER=com.mattermost.rn
|
|
REPLACE_ASSETS=true
|
|
SENTRY_ENABLED=true
|
|
SENTRY_ORG=mattermost-mr
|
|
SENTRY_PROJECT_ANDROID=mattermost-mobile-android
|
|
SEPARATE_APKS=true
|
|
SHOW_ONBOARDING=true
|
|
SHOW_REVIEW=true
|
|
SUPPLY_PACKAGE_NAME=com.mattermost.rn
|
|
SUPPLY_TRACK=beta
|
|
SUPPLY_VALIDATE_ONLY=false |