Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ci cd #157

Open
wants to merge 153 commits into
base: develop-mpx
Choose a base branch
from
Open

feat: add ci cd #157

wants to merge 153 commits into from

Conversation

itsdebs
Copy link
Contributor

@itsdebs itsdebs commented Nov 17, 2022

Description of the change

Adding Ci/CD to develop mpx

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

This change is Reviewable

desusai7 and others added 30 commits March 23, 2022 11:03
Made Automatic collection of AdvertisingId configurable by the user
Added back synchronization for the message upload in flush api
Fixed build number being sent as version in Application Installed and Updated events
Made Bluetooth permission optional
Removed app_name from the String resources of the Core SDK
* Fixed issues in UnitTest Cases for fetchAllEventsFromDB

* Minor cleanup

Co-authored-by: Desu Sai Venkat <[email protected]>
Pallab Maiti and others added 29 commits April 19, 2023 18:31
chore(release): pulling release/1.13.1 into master
chore(release): pulling main into develop post release v1.13.1
* chore: update sample apps

* chore: addressing comments

Update min and target SDK version to 33 and increased some dependencies version

* chore(addressing comments): update kotlin_version to 1.8.10
* feat: added gzip feature
…ife cycle observer (#225)

* fix: using AtomicIntegers in Application life cycle manager

* feat: added support for new way of tracking life cycle events and deep links

* chore: minor refactors based on review comments

* chore: upgraded kotlin and gradle versions in all modules

* chore: reading writekey and dataplane url from local.properties

* feat: made dependencies for tracking new life cycle events compile only and needed to be added by customer based on requirement

* chore: minor changes

* fix: code structure (#233)

* fix: setting isFirstLaunch to false on firstLaunch even when user opted out

* chore: using a primitive boolean expression

* fix: fixed merge issue in sample-kotlin gradle file

* chore: bumped the version of androix.core:core-ktx to 1.10.1

---------

Co-authored-by: Desu Sai Venkat <[email protected]>
Co-authored-by: Debanjan Chatterjee <[email protected]>
chore(release): pulling release/1.14.0 into master
chore(release): pulling main into develop post release v1.14.0
* fix: fix events not being removed

* fix: implement event status update functionality during upgrade from previous version

Now, if someone updates from pre or post DMT version to this latest version, previous event will be marked as device_mode_processing_done

* chore: re-implement previous changes

* chore: add comment

* chore: remove comment

* refactor: change the variable name to areDeviceModeFactoriesAbsent

* fix: incorrect triggering of application lifecycle event

AI and AU are called incorrectly in certain scenarios. Fixed that!

* fix: application opened event property value

---------

Co-authored-by: Debanjan Chatterjee <[email protected]>
…ing objects (#237)

* fix: moved migration db queries to executor and closed the cursor properly

* fix: closed input and output stream of http connections response

* fix: fixed sonarcloud code smells and bugs

* chore: refactored to use a single executor and try with resources block

* chore: refactored to use executor.submit(), efficient use of synchronized blocks, catching exceptions at place of generation, using try with resources for auto-closeables

* chore: minor refactor (#238)

* fix: fixed issues with creating output stream while making post requests

* fix: handling cases when http connection is null

* chore: refactored the method for better organization and readbility

---------

Co-authored-by: Desu Sai Venkat <[email protected]>
Co-authored-by: Debanjan Chatterjee <[email protected]>
Bumps [peterjgrainger/action-create-branch](https://github.com/peterjgrainger/action-create-branch) from 2.2.0 to 2.4.0.
- [Release notes](https://github.com/peterjgrainger/action-create-branch/releases)
- [Commits](peterjgrainger/action-create-branch@v2.2.0...v2.4.0)

---
updated-dependencies:
- dependency-name: peterjgrainger/action-create-branch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…188)

Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.9.1 to 0.11.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](styfle/cancel-workflow-action@0.9.1...0.11.0)

---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* revert: previous logic to mark events as device mode processing done on App Update

* fix: replayMessageQueue dumping logic

Now, it'll fetch the events from the db which is yet to be processed and send them to the device mode factories

* refactor: SET_DM_PROCESSED_AND_STATUS_FOR_EXISTING sql query

* refactor: addressing comments

* refactor(addressing comments): remove onDowngrade logic

* fix: mark device mode done for status column while db migration

Previously, it was directly marked as done instead of considering it previous status.

* fix: mark device mode done while dumping message

Previously, it was directly marked as done instead of considering it previous status.
chore: pulling main into develop
Remove feature update
chore(release): pulling release/1.15.0 into master
chore(release): pulling main into develop post release v1.15.0
@sonarcloud
Copy link

sonarcloud bot commented Aug 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
1.8% 1.8% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants