Skip to content

Commit

Permalink
Move fastlane to root
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewGable committed Aug 15, 2020
1 parent 3a9b000 commit 95af3fb
Show file tree
Hide file tree
Showing 8 changed files with 85 additions and 74 deletions.
20 changes: 15 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ GEM
CFPropertyList (3.0.2)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
apktools (0.7.4)
rubyzip (~> 2.0)
atomos (0.1.3)
aws-eventstream (1.1.0)
aws-partitions (1.354.0)
aws-partitions (1.356.0)
aws-sdk-core (3.104.3)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.239.0)
Expand All @@ -15,11 +17,11 @@ GEM
aws-sdk-kms (1.36.0)
aws-sdk-core (~> 3, >= 3.99.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.77.0)
aws-sdk-s3 (1.78.0)
aws-sdk-core (~> 3, >= 3.104.3)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.2.1)
aws-sigv4 (1.2.2)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.3)
claide (1.0.3)
Expand All @@ -44,7 +46,7 @@ GEM
faraday_middleware (1.0.0)
faraday (~> 1.0)
fastimage (2.2.0)
fastlane (2.156.0)
fastlane (2.156.1)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.3, < 3.0.0)
aws-sdk-s3 (~> 1.0)
Expand Down Expand Up @@ -80,6 +82,10 @@ GEM
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
fastlane-plugin-aws_s3 (1.8.0)
apktools (~> 0.7)
aws-sdk-s3 (~> 1)
mime-types (~> 3.3)
gh_inspector (1.1.3)
google-api-client (0.38.0)
addressable (~> 2.5, >= 2.5.1)
Expand Down Expand Up @@ -117,6 +123,9 @@ GEM
json (2.3.1)
jwt (2.2.1)
memoist (0.16.2)
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2020.0512)
mini_magick (4.10.1)
mini_mime (1.0.2)
multi_json (1.15.0)
Expand Down Expand Up @@ -157,7 +166,7 @@ GEM
unf_ext (0.0.7.7)
unicode-display_width (1.7.0)
word_wrap (1.0.0)
xcodeproj (1.17.1)
xcodeproj (1.18.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
Expand All @@ -173,6 +182,7 @@ PLATFORMS

DEPENDENCIES
fastlane
fastlane-plugin-aws_s3

BUNDLED WITH
2.1.4
2 changes: 0 additions & 2 deletions android/fastlane/Appfile

This file was deleted.

36 changes: 0 additions & 36 deletions android/fastlane/Fastfile

This file was deleted.

File renamed without changes.
52 changes: 52 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#

skip_docs
opt_out_usage

platform :android do
desc "Deploy a new version to Github"
lane :beta do
ENV["ENVFILE"]=".env.production"

gradle(
project_dir: './android',
task: 'assemble',
build_type: 'Release',
)

aws_s3(
access_key: ENV['AWS_SECRET_ACCESS_KEY'],
secret_access_key: ENV['AWS_SECRET_ACCESS_KEY'],
aws_profile: ENV['AWS_ACCESS_KEY_ID'],
bucket: 's3://chat-test-expensify-com/',
region: 'us-east-1',
apk: './app/build/outputs/apk/release/app-release.apk',
path: '/',
upload_metadata: false,
)
end
end

platform :ios do
desc "Build and upload app to TestFlight"
lane :beta do
ENV["ENVFILE"]=".env.production"

update_code_signing_settings(
use_automatic_signing: true,
path: "./ios/ReactNativeChat.xcodeproj"
)
build_app(workspace:'./ios/ReactNativeChat.xcworkspace',scheme: "ReactNativeChat", export_xcargs: "-allowProvisioningUpdates")
upload_to_testflight
end
end
File renamed without changes.
18 changes: 18 additions & 0 deletions fastlane/report.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="fastlane.lanes">




<testcase classname="fastlane.lanes" name="0: opt_out_usage" time="0.000952">

</testcase>


<testcase classname="fastlane.lanes" name="1: assembleRelease" time="18.286619">

</testcase>

</testsuite>
</testsuites>
31 changes: 0 additions & 31 deletions ios/fastlane/Fastfile

This file was deleted.

0 comments on commit 95af3fb

Please sign in to comment.