Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
G
gitter-android-app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
gitter
gitter-android-app
Merge requests
!5
The source project of this merge request has been removed.
Add CI with FastLane to Android Gitter build
Merged
Add CI with FastLane to Android Gitter build
(removed):master
into
master
Overview
116
Commits
47
Pipelines
0
Changes
1
Merged
Jason Yavorska
requested to merge
(removed):master
into
master
6 years ago
Overview
78
Pipelines
0
Changes
1
Expand
Progress
Added asset build
Fastlane is now running unit tests
Supply metadata
Alpha delivery via play store
Deploy to play store
Optional but nice to have
Screenshots
Pick a better starting image that has more of what we need
Learnings
Discovered that signing is not necessary for Android, it is done by Google (later discovered that signing is not actually done by Google, so re-added it.)
Edited
6 years ago
by
Eric Eastwood
1
0
1
Merge request reports
Viewing commit
94c56a9b
Show latest version
1 file
+
9
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
94c56a9b
fetch assets instead of rebuilding them
· 94c56a9b
Jason Lenny
authored
6 years ago
.gitlab-ci.yml
+
9
−
8
Options
@@ -35,15 +35,16 @@ stages:
build
:
stage
:
build
script
:
# build assets
-
curl -sL https://deb.nodesource.com/setup_8.x | bash -
-
apt-get --quiet install --yes nodejs
-
git clone https://gitlab.com/gitlab-org/gitter/webapp.git
-
cd webapp && npm install
-
npm run build-android-assets
# fetch assets
-
wget --output-document=artifacts.zip --quiet "https://gitlab.com/api/v4/projects/3601513/jobs/artifacts/master/download?job=package"
-
unzip artifacts.zip
-
mkdir -p output/assets
-
tar xvfz ../assets.tar.gz -C output/assets/
-
mkdir -p app/src/main/assets/www
-
mv output/assets/* app/src/main/assets/www/
# move assets for android build
-
cd .. &&
mkdir -p app/src/main/assets/www
-
mv webapp/output/android/www/* app/src/main/assets/www/
-
cd .. &&
# build binaries
-
bundle exec fastlane build
artifacts
:
Loading