Skip to content

Commit

Permalink
Build automation with fastlane and synch to autoISF repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mountrcg committed Nov 29, 2023
1 parent c08e4c5 commit 1a6a011
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_iAPS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:

schedule:
#- cron: '30 04 1 * *' # Runs at 04:30 UTC on the 1st every month
#- cron: '0 8 * * 3' # Checks for updates at 08:00 UTC every Wednesday
- cron: '0 6 1 * *' # Builds the app on the 1st of every month at 06:00 UTC
- cron: '0 8 * * 3' # Checks for updates at 08:00 UTC every Wednesday
#- cron: '0 6 1 * *' # Builds the app on the 1st of every month at 06:00 UTC

env:
UPSTREAM_REPO: Artificial-Pancreas/iAPS
UPSTREAM_REPO: mountrcg/iAPS
UPSTREAM_BRANCH: ${{ github.ref_name }} # branch on upstream repository to sync from (replace with specific branch name if needed)
TARGET_BRANCH: ${{ github.ref_name }} # target branch on fork to be kept in sync, and target branch on upstream to be kept alive (replace with specific branch name if needed)
ALIVE_BRANCH: alive
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ Also note that you can achieve almost everything that Profiles do with the Advan
* Dash & G7 frameworks from Loop3
* CoreData refactoring

## Build Automation with Fastlane
The autoISF branch in your fork can be synched to my Repo. Automated sync of your fork before building (fastlane) requires setting a SCHEDULED_SYNC repository variable to 'true' in your Repo. I have switched on the cron task in `build.yml` on every Wednesday at 8:00 UTC to check for updates and build if any found. It also builds if you yourself push a commit to github.

## Remarks
Due to the heavy refactoring and my changes to Jon's CoreData, when moving from a version (below 1.07) to (1.07 or above) it is advised to delete FAX and install with a new clone. All current stats will be gone and build up again. All settings will be at default values, like `maxIOB = 0`. Due to deleting FAX you should do it in between pods, as you loose this information. Now with iAPS starting v1.6 and autoISF 2.2.8.3 also all settings will revert to standard.

Expand Down

0 comments on commit 1a6a011

Please sign in to comment.