Skip to content

Commit

Permalink
Fix push trigger and android build errors (#950)
Browse files Browse the repository at this point in the history
* feat(MOSIP-25631): fix invalid workflow error

Signed-off-by: adityankannan-tw <[email protected]>

* feat(MOSIP-25631): fix invalid workflow error

Signed-off-by: adityankannan-tw <[email protected]>

* refactor(MOSIP-25631): update push triggers to supported types

Signed-off-by: adityankannan-tw <[email protected]>

* refactor(MOSIP-25631): update push triggers to supported types

Signed-off-by: adityankannan-tw <[email protected]>

* Remove google code (#946)

* refactor(INJI-430): remove google nearby and firebase code

Signed-off-by: adityankannan-tw <[email protected]>

* refactor(INJI-430): update readme

Signed-off-by: adityankannan-tw <[email protected]>

* Update sonar-project.properties

---------

Signed-off-by: adityankannan-tw <[email protected]>

* refactor(MOSIP-25631): fix fastlane and push trigger errors

Signed-off-by: adityankannan-tw <[email protected]>

---------

Signed-off-by: adityankannan-tw <[email protected]>
Signed-off-by: adityankannan-tw <[email protected]>
  • Loading branch information
adityankannan-tw authored Oct 20, 2023
1 parent 1213201 commit 06aa7ec
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push-triggers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
uses: tw-mosip/kattu/.github/workflows/android-build.yml@add-inji-workflows
with:
NODE_VERSION: "16.x"
secrets:
DEBUG_KEYSTORE_ALIAS: androiddebugkey
DEBUG_KEYSTORE_PASSWORD: 'dummypassword'
secrets:
DEBUG_KEYSTORE_PASSWORD: ${{secrets.INJI_ANDROID_DEBUG_STOREPASS}}

build-ios:
uses: tw-mosip/kattu/.github/workflows/ios-build.yml@add-inji-workflows
Expand Down
2 changes: 1 addition & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ fileignoreconfig:
- filename: shared/storage.ts
checksum: c8d874aa373bdf526bf59192139822f56915e702ef673bac4e0d7549b0fea3d0
- filename: .github/workflows/push-triggers.yml
checksum: 31547d358d06c946f04f2caf65cdec154ab5d2ce8760edc0410cb98d99c1bd75
checksum: 91788109e9c9127934b272572479b50ebfb099f8b68e1a75d46b3350d0b0632f
- filename: .github/workflows/internal-build.yml
checksum: 9534127d1d01294985bb49e249fe83fd565e1f89c4ca04a60c26c9842274b263
11 changes: 7 additions & 4 deletions android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ SLACK_URL = ENV["SLACK_URL"]
CREDENTIAL_REGISTRY_EDIT = ENV["CREDENTIAL_REGISTRY_EDIT"]

desc "Verify Build for Android"
lane :android_build_verify do
gradle(
task: "assembleMosipDebug",
)
lane :android_build do
gradle(task: "assembleMosipDebug")
end

desc "Deploy an Internal testing version to the Google Play"
lane :android_build_internal do

gradle(task: "assembleMosipRelease")

previous_build_number = google_play_track_version_codes(
package_name: "io.mosip.residentapp",
track: "internal",
Expand Down Expand Up @@ -54,6 +55,8 @@ end
desc "Deploy an Beta version to the Google Play"
lane :android_build_beta do

gradle(task: "assembleBetaDebug")

git_tag = sh('git describe --abbrev=0 --tags --exact-match HEAD').strip

def convert_tag_to_code(version)
Expand Down
2 changes: 1 addition & 1 deletion android/scripts/android-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ yes | sudo gem install bundler

yes | sudo fastlane install_plugins

bundle exec fastlane android_build_verify
bundle exec fastlane android_build

0 comments on commit 06aa7ec

Please sign in to comment.