diff options
author | Jason Lenny <jlenny@gitlab.com> | 2019-02-28 01:29:43 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-02-28 01:29:43 +0000 |
commit | f50b0c05e1f87c4abbd99c8af52ec2b0c7a559a5 (patch) | |
tree | 89cd80b3776b6b2ea70e1d08ccc6463a9d667f40 | |
parent | 716412d96230467054fcd3bbd68059759ca09cec (diff) | |
download | gitlab-ce-f50b0c05e1f87c4abbd99c8af52ec2b0c7a559a5.tar.gz |
Add iOS-fastlane template for .gitlab-ci.yml
-rw-r--r-- | changelogs/unreleased/52877-ios-publishing-blog-post-and-gitlab-ci-yml-template.yml | 5 | ||||
-rw-r--r-- | lib/gitlab/ci/templates/iOS-Fastlane.gitlab-ci.yml | 28 |
2 files changed, 33 insertions, 0 deletions
diff --git a/changelogs/unreleased/52877-ios-publishing-blog-post-and-gitlab-ci-yml-template.yml b/changelogs/unreleased/52877-ios-publishing-blog-post-and-gitlab-ci-yml-template.yml new file mode 100644 index 00000000000..13529348c60 --- /dev/null +++ b/changelogs/unreleased/52877-ios-publishing-blog-post-and-gitlab-ci-yml-template.yml @@ -0,0 +1,5 @@ +--- +title: Add iOS-fastlane template for .gitlab-ci.yml +merge_request: 25395 +author: +type: changed diff --git a/lib/gitlab/ci/templates/iOS-Fastlane.gitlab-ci.yml b/lib/gitlab/ci/templates/iOS-Fastlane.gitlab-ci.yml new file mode 100644 index 00000000000..245e6bec60a --- /dev/null +++ b/lib/gitlab/ci/templates/iOS-Fastlane.gitlab-ci.yml @@ -0,0 +1,28 @@ +# This is a very simple template that mainly relies on FastLane to build and distribute your app. +# Read more about how to use this template on the blog post https://about.gitlab.com/2019/03/06/ios-publishing-with-gitlab-and-fastlane/ +# You will also need fastlane and signing configuration for this to work, along with a MacOS runner. +# These details are provided in the blog post. + +# Note that when you're using the shell executor for MacOS builds, the +# build and tests run as the identity of the runner logged in user, directly on +# the build host. This is less secure than using container executors, so please +# take a look at our security implications documentation at +# https://docs.gitlab.com/runner/security/#usage-of-shell-executor for additional +# detail on what to keep in mind in this scenario. + +stages: + - build + +variables: + LC_ALL: "en_US.UTF-8" + LANG: "en_US.UTF-8" + GIT_STRATEGY: clone + +build: + stage: build + script: + - bundle install + - bundle exec fastlane build + artifacts: + paths: + - ./*.ipa |