DevOps: CI / CD

Performance Measuring factor:

Saves Developers a lot of time

Pre CI / CD

Pull code from GitHub

Build Project
Run Unit Tests

Build APK

Upload APK

Goals

1. Git Training

2. Devops: GitHubs 

3. Tests on GitHub Actions

Main

Sham

Harnoor

commit xyz

commit abc

git merge main to harnoor

 

GiT tricks

1. Git Commit commit

2. Git Cherry pick -> to copy particulr git SHAs (commits)

3. git amend commit -> git push -f

4. git rebase vs git merge

git merge -> merge main into harnoor's branch

5. git squash all commits:

git reset $(git commit-tree HEAD^{tree} -m "A new start")

Rebase

How to merge main/master to developer:

 

adds a new commit:

1. git cherry-pick 

2. git merge main (into developer)

doesn't add a new commit:

3. git rebase

Telemetry vs Logs

UserId ->

Telemetry: User behavior (Firebase Analytics)

Logs: App behavior -> Processes it runs

 

End to end to encrypted

Telemetry -> Which phone numbers

+91, +92, +1

DevOps: CI / CD

By Harnoor Singh

DevOps: CI / CD

  • 237