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

Move Map Libre API key to Xcode Cloud #1313

Merged
merged 17 commits into from
Jul 14, 2023

Conversation

alfogrillo
Copy link
Contributor

@alfogrillo alfogrillo commented Jul 12, 2023

This PR moves the map libre api key into Xcode Cloud (as a secret).
Xcode Cloud workflows will inject the key back into the app when creating a new production/nightly build.
It also adds a step in the setup-project action to configure the api key locally.

@github-actions
Copy link

github-actions bot commented Jul 12, 2023

Warnings
⚠️ Please add a changelog.
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.

Generated by 🚫 Danger Swift against 0bd018d

@alfogrillo alfogrillo force-pushed the alfogrillo/inject_maplibre_key branch 5 times, most recently from 50cbc71 to 6bda3e8 Compare July 12, 2023 11:24
@alfogrillo alfogrillo changed the title WIP: Move Map Libre API key to Xcode Cloud Move Map Libre API key to Xcode Cloud Jul 12, 2023
@alfogrillo alfogrillo marked this pull request as ready for review July 12, 2023 15:29
@alfogrillo alfogrillo requested a review from a team as a code owner July 12, 2023 15:29
@alfogrillo alfogrillo requested review from stefanceriu and pixlwave and removed request for a team and stefanceriu July 12, 2023 15:29
@alfogrillo alfogrillo force-pushed the alfogrillo/inject_maplibre_key branch 2 times, most recently from 3a1d7d5 to 8c88395 Compare July 12, 2023 18:21
Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

fastlane/Fastfile Outdated Show resolved Hide resolved
FORKING.md Outdated Show resolved Hide resolved
Tools/Sources/SetupProject.swift Outdated Show resolved Hide resolved
Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I like this route, feels both cleaner and safer 🙏

@alfogrillo alfogrillo force-pushed the alfogrillo/inject_maplibre_key branch from 2630a82 to 73c8ad8 Compare July 13, 2023 17:05
@codecov
Copy link

codecov bot commented Jul 13, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01 🎉

Comparison is base (027b6b2) 44.16% compared to head (0bd018d) 44.17%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1313      +/-   ##
===========================================
+ Coverage    44.16%   44.17%   +0.01%     
===========================================
  Files          395      395              
  Lines        26023    26026       +3     
  Branches     13258    13259       +1     
===========================================
+ Hits         11494    11498       +4     
  Misses       14236    14236              
+ Partials       293      292       -1     
Flag Coverage Δ
unittests 22.33% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
ElementX/Sources/Application/AppSettings.swift 96.22% <100.00%> (ø)
ElementX/Sources/Other/InfoPlistReader.swift 77.77% <100.00%> (+2.02%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@alfogrillo alfogrillo force-pushed the alfogrillo/inject_maplibre_key branch from 32ee27f to 0bd018d Compare July 14, 2023 07:58
@alfogrillo alfogrillo enabled auto-merge (squash) July 14, 2023 07:58
@sonarcloud
Copy link

sonarcloud bot commented Jul 14, 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
0.0% 0.0% Duplication

@alfogrillo alfogrillo merged commit a7256bb into develop Jul 14, 2023
@alfogrillo alfogrillo deleted the alfogrillo/inject_maplibre_key branch July 14, 2023 08:19
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.

2 participants