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

[PM-16534] Rename CI workflows for Authenticator #333

Merged
merged 27 commits into from
Feb 13, 2025

Conversation

SaintPatrck
Copy link
Contributor

🎟️ Tracking

--

📔 Objective

Rename workflows by appending _authenticator to their names.

📸 Screenshots

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

SaintPatrck and others added 11 commits February 5, 2025 13:13
Rename workflows by appending `_authenticator` to their names.
Renamed the following lanes in the Fastfile to be more specific to the Authenticator module:
- `check` to `checkAuthenticator`
- `setBuildVersionInfo` to `setAuthenticatorBuildVersionInfo`
- `buildDebug` to `buildAuthenticatorDebug`
- `buildRelease` to `buildAuthenticatorRelease`
- `bundleRelease` to `bundleAuthenticatorRelease`
- `distributeReleaseBundleToFirebase` to `distributeAuthenticatorReleaseBundleToFirebase`
- `publishReleaseToGooglePlayStore` to `publishAuthenticatorReleaseToGooglePlayStore`

Updated the GitHub workflows to use the new lane names.

Removed unused `json_key_file` and `package_name` from Appfile.

Added `json_key` parameter to `validate_play_store_json_key` lane in `build_authenticator.yml` workflow.

Added `package_name` parameter to `publishAuthenticatorReleaseToGooglePlayStore` lane in `build_authenticator.yml` workflow.
Rename the output filenames of the Authenticator bundle and APK to `com.bitwarden.authenticator.aab` and `com.bitwarden.authenticator.apk` respectively. This improves the consistency of filenames across different build variants.

Additionally, update `build.gradle.kts` to rename bundle and APK files to include the application ID in the file name, ensuring a unique file name for each build. This ensures consistent filenames regardless of build type or target.
@SaintPatrck SaintPatrck requested a review from a team as a code owner February 6, 2025 23:00
Copy link
Contributor

github-actions bot commented Feb 6, 2025

Logo
Checkmarx One – Scan Summary & Details0597a860-edf4-4298-88ba-19c337717245

Great job, no security vulnerabilities found in this Pull Request

Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.67%. Comparing base (8b98e8f) to head (f840ddd).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #333   +/-   ##
=======================================
  Coverage   44.67%   44.67%           
=======================================
  Files         119      119           
  Lines        5717     5717           
  Branches      684      684           
=======================================
  Hits         2554     2554           
  Misses       2981     2981           
  Partials      182      182           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…on/update-fastfile

# Conflicts:
#	.github/workflows/test_authenticator.yml
#	fastlane/Fastfile
david-livefront
david-livefront previously approved these changes Feb 7, 2025
@vvolkgang vvolkgang added the hold label Feb 12, 2025
…pdate-fastfile

# Conflicts:
#	.github/workflows/build.yml
#	fastlane/Fastfile
Base automatically changed from repo-migration/rename-app-module to main February 12, 2025 22:13
@vvolkgang vvolkgang dismissed david-livefront’s stale review February 12, 2025 22:13

The base branch was changed.

@SaintPatrck SaintPatrck requested a review from a team as a code owner February 12, 2025 22:13
@vvolkgang vvolkgang changed the base branch from main to repo-migration/consistent-output-filenames February 12, 2025 22:20
Base automatically changed from repo-migration/consistent-output-filenames to main February 12, 2025 22:31
@vvolkgang vvolkgang removed the hold label Feb 13, 2025
@vvolkgang vvolkgang merged commit e8e6040 into main Feb 13, 2025
9 checks passed
@vvolkgang vvolkgang deleted the repo-migration/rename-workflow-files branch February 13, 2025 00:12
@vvolkgang vvolkgang changed the title Rename CI workflows for Authenticator [PM-16534] Rename CI workflows for Authenticator Feb 13, 2025
PeterDaveHello added a commit to PeterDaveHello/authenticator-android that referenced this pull request Feb 24, 2025
PeterDaveHello added a commit to PeterDaveHello/authenticator-android that referenced this pull request Feb 24, 2025
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.

3 participants