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

Fix Beta Deployment #37

Merged
merged 3 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/beta-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
secrets: inherit
with:
runsonlabels: '["macOS", "self-hosted"]'
artifactname: HealthGPT.xcresult
fastlanelane: beta
setupsigning: true
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ HealthGPT is an experimental iOS app based on [Stanford Spezi](https://github.co

HealthGPT is an open-source project of the [Stanford Biodesign Digital Health](https://bdh.stanford.edu/) team. The initial prototype based on [Spezi](https://github.com/StanfordSpezi/Spezi) and the [SpeziTemplateApplication](https://github.com/StanfordSpezi/SpeziTemplateApplication/) was built by [Varun Shenoy](https://varunshenoy.com).

> [!NOTE]
> Do you want to try HealthGPT? You can download it to your iOS device using [TestFlight](https://testflight.apple.com/join/1wYMt3em)!

## Features

- Extensible architecture built on the [Stanford Spezi](https://github.com/StanfordSpezi/Spezi) open-source digital health development framework for easy customization.
Expand Down
39 changes: 31 additions & 8 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,39 @@ platform :ios do
desc "Build and test"
lane :test do
run_tests(
code_coverage: true,
skip_build: true,
derived_data_path: ".derivedData",
code_coverage: true,
devices: ["iPhone 15 Pro"],
disable_slide_to_type: false,
concurrent_workers: 1,
max_concurrent_simulators: 1,
result_bundle: true,
output_directory: "."
output_directory: ".",
xcargs: "-skipPackagePluginValidation"
)
end

desc "CodeQL"
lane :codeql do
build_app(
skip_archive: true,
skip_codesigning: true,
derived_data_path: ".derivedData",
xcargs: "-skipPackagePluginValidation"
)
end

desc "Build app"
lane :build do
build_app(
derived_data_path: ".derivedData"
derived_data_path: ".derivedData",
xcargs: "-skipPackagePluginValidation",
export_options: {
provisioningProfiles: {
"edu.stanford.bdhg.healthgpt" => "HealthGPT"
}
}
)
end

Expand All @@ -44,16 +66,17 @@ platform :ios do
desc "Publish a beta release to internal TestFlight testers"
lane :beta do
signin
increment_build_number({
build_number: latest_testflight_build_number + 1,
xcodeproj: "HealthGPT.xcodeproj"
})
increment_build_number(
{
build_number: latest_testflight_build_number + 1
}
)
build
commit = last_git_commit
upload_to_testflight(
distribute_external: true,
groups: [
"Internal Testers"
"External Testers"
],
submit_beta_review: true,
notify_external_testers: true,
Expand Down
25 changes: 0 additions & 25 deletions fastlane/Gymfile

This file was deleted.

8 changes: 8 additions & 0 deletions fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do

Build and test

### ios codeql

```sh
[bundle exec] fastlane ios codeql
```

CodeQL

### ios build

```sh
Expand Down
18 changes: 0 additions & 18 deletions fastlane/Scanfile

This file was deleted.

Loading