mattermost-mobile-upstream/fastlane
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
..
actions Fix mattermost incoming webhook action for fastlane (#7262) 2023-04-04 10:26:21 -04:00
metadata Update supported ESR version (#9205) 2025-11-17 08:15:50 +02:00
screenshots Barebones code for v2 2020-11-17 14:20:58 -03:00
.env.android.beta workflows, fast lane: upload beta / release artifacts only to one bucket (#9570) 2026-03-31 17:51:43 +02:00
.env.android.pr workflows, fast lane: upload beta / release artifacts only to one bucket (#9570) 2026-03-31 17:51:43 +02:00
.env.android.release workflows, fast lane: upload beta / release artifacts only to one bucket (#9570) 2026-03-31 17:51:43 +02:00
.env.default feat: Migrate to Github Actions (#7394) 2023-06-08 16:02:59 +03:00
.env.ios.beta workflows, fast lane: upload beta / release artifacts only to one bucket (#9570) 2026-03-31 17:51:43 +02:00
.env.ios.pr workflows, fast lane: upload beta / release artifacts only to one bucket (#9570) 2026-03-31 17:51:43 +02:00
.env.ios.release workflows, fast lane: upload beta / release artifacts only to one bucket (#9570) 2026-03-31 17:51:43 +02:00
.env.ios.simulator workflows, fast lane: upload beta / release artifacts only to one bucket (#9570) 2026-03-31 17:51:43 +02:00
env_vars_example feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
Fastfile workflows, fast lane: upload beta / release artifacts only to one bucket (#9570) 2026-03-31 17:51:43 +02:00
Gemfile Bump nokogiri from 1.18.7 to 1.18.9 in /fastlane (#9017) 2025-07-22 15:23:20 +08:00
Gemfile.lock feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
Matchfile Barebones code for v2 2020-11-17 14:20:58 -03:00
plist.erb Barebones code for v2 2020-11-17 14:20:58 -03:00
Pluginfile Fix build script failure (#7740) 2024-01-08 15:06:06 +01:00
README.md Update fastlane 2021-10-05 15:09:46 -03:00

fastlane documentation

Installation

sudo gem install fastlane

Available Actions

iOS

ios dev

fastlane ios dev

Build Release file

This will also make sure the profile is up to date

ios beta

fastlane ios beta

Submit a new Beta Build to Apple TestFlight

This will also make sure the profile is up to date

ios release

fastlane ios release

Deploy a new version to the App Store

ios build

fastlane ios build

Android

android dev

fastlane android dev

android beta

fastlane android beta

android release

fastlane android release

This README.md is auto-generated and will be re-generated every time fastlane is run. More information about fastlane can be found on https://fastlane.tools. The documentation of fastlane can be found on GitHub.