Skip to content

Instantly share code, notes, and snippets.

View FranzBusch's full-sized avatar

Franz Busch FranzBusch

View GitHub Profile
@FranzBusch
FranzBusch / Fastfile
Created January 17, 2018 14:32
Sixt CI Fastfile
fastlane_version "2.76.1"
default_platform :ios
platform :ios do
####### Certificates #######
desc "Installs the certificates and profiles locally"
lane :certificates do |options|
@FranzBusch
FranzBusch / circle.yml
Created January 17, 2018 14:27
Sixt CI Workflows
workflows:
version: 2
alpha-build:
jobs:
- alpha:
context: org-global
filters:
branches:
only:
- develop
@FranzBusch
FranzBusch / circle.yml
Created January 17, 2018 14:23
Sixt CI Alpha Job
alpha:
macos:
xcode: "9.2.0"
shell: /bin/bash --login -eo pipefail
steps:
- checkout
- restore_cache:
@FranzBusch
FranzBusch / Fastfile
Created January 17, 2018 13:33
Sixt CI Build lanes
####### Builds #######
desc "Submit a new Alpha Build to Fabric"
lane :alpha do |options|
changelog = sh("git log --pretty=format:'* %s <%an>%n' --first-parent --abbrev-commit #{ENV['GIT_PREVIOUS_SUCCESSFUL_COMMIT'] || 'HEAD^^^^^'}..HEAD")
increment_build_number( build_number: ENV["CIRCLE_BUILD_NUM"])
certificates(
use_temporary_keychain: options[:use_temporary_keychain],
@FranzBusch
FranzBusch / Fastfile
Last active January 17, 2018 13:26
Sixt CI Test lanes
####### Testing #######
desc "Runs all the tests"
lane :tests do
unit_tests
ui_tests
end
desc "Runs all unit tests"
lane :unit_tests do
@FranzBusch
FranzBusch / Gemfile
Created January 17, 2018 10:23
Sixt CI Gemfile
source "https://rubygems.org"
gem "fastlane"
@FranzBusch
FranzBusch / Fastfile
Last active July 21, 2020 17:29
Sixt CI Certificates lane
####### Certificates #######
desc "Installs the certificates and profiles locally"
lane :certificates do |options|
if options[:use_temporary_keychain]
create_temporary_keychain
end
readonly = (options[:refresh_certificates] ? false : true)
force_for_new_devices = !readonly
@FranzBusch
FranzBusch / Matchfile
Created January 17, 2018 09:54
Sixt CI Matchfile
git_url "https://github.com/XXX/ios-certificates"
username "XXX"
@FranzBusch
FranzBusch / Appfile
Last active January 17, 2018 13:55
Sixt CI Appfile
team_id "XXX"
apple_id "XXX"
itunes_connect_id "XXX"
itc_team_name "XXX"
itc_team_id "XXX"
for_lane :alpha do
app_identifier "com.sixt.MediumTest-alpha"
end
@FranzBusch
FranzBusch / travis.sh
Created April 30, 2017 12:03
Script for tests and pod lint
#!/bin/sh
fastlane ios tests
pod lib lint --quick