Commit Graph

1875 Commits

Author SHA1 Message Date
Davide De Rosa 2a5c231d3d
Polish release workflow (#207)
* Do run tests in beta

- Test and build app in same lane
- Run tests with swift directly
- Set timeout on build only
- Set GYM_OUTPUT_DIRECTORY inline
- Fix bad build number, broken in db075eb
- Ignore updates to CHANGELOG for testing
- Drop unnecessary exports
- Drop unnecessary test env
- Drop unused PLATFORM .env.* variable

* Work around gym issues in CI

- Set custom build paths for proper clean-up
- Disable xcpretty (seems to hang job)

* Add descriptive names to workflow

- Rename beta to release
- Add job names

* Optimize release workflow

- Use a matrix for multiplatform build
- Only preinstall platform-specific certificates
- Output app version/build early for job reuse
- Do not depend app review on public beta release
- Pull latest commits before pushing/tagging

In release, ci/* scripts require Ruby. Make version an argument
of the commit-release.sh script to fix dependency.

* Import secret to notify external testers or not

* [ci skip] Add CHANGELOG preface in local scripts

* [ci skip] Update links to release via CI
2021-12-03 15:31:19 +01:00
Davide De Rosa 56f6e289c9 [ci skip] Skip tests on paths-ignore
Nothing to test on metadata updates.
2021-12-01 23:21:57 +01:00
Davide De Rosa 82aaa0b386 Attempt beta release 2021-11-30 16:40:28 +01:00
Davide De Rosa f099c026c3 Trigger beta on updated beta build file
Can get rid of dummy job.
2021-11-30 16:40:22 +01:00
Davide De Rosa 6d541284a5 Attempt beta release 2021-11-30 12:49:46 +01:00
Davide De Rosa 8653f059b8 Trigger on beta commit message 2021-11-30 12:49:35 +01:00
Davide De Rosa 13896c7396 Rethink beta/release workflow
- Drop stable branch
    - Run tests on all branches except test/*
    - Publish beta manually
- Beta
    - Leave "Unreleased" in CHANGELOG
    - Add TestFlight URL
    - Tag beta after successful deployment
- Release
    - Enable GPG signing
    - Commit version and date in CHANGELOG
    - Tag release
    - Create GitHub release with merged notes

Show all workflows in README.
2021-11-30 12:24:17 +01:00
Davide De Rosa 6d74f06e97 Reload hierarchy on "Refresh infrastructure"
Date was not refreshed either.
2021-11-30 10:51:06 +01:00
Davide De Rosa 9df4630254 Bump version 2021-11-30 10:04:05 +01:00
Davide De Rosa 5580dd6901 [ci skip] Set release date 2021-11-30 10:00:07 +01:00
Davide De Rosa db075eb291 [ci skip] Split unit testing and beta workflows
- master: test
- stable: beta
2021-11-29 19:07:00 +01:00
Davide De Rosa 51821660d2 Commit build number with beta
Pick base build number from env, not project. Can now drop
fetch-depth 0 from workflow, no needs for commits count.
2021-11-29 19:06:59 +01:00
Davide De Rosa f158f4998e Drop broken SwiftPM caching 2021-11-28 18:57:38 +01:00
Davide De Rosa 667adf265a [ci skip] Polish case in badges 2021-11-28 16:54:35 +01:00
Davide De Rosa fd918aa4a2 Fix missing .ipa/.pkg in local script 2021-11-27 13:49:23 +01:00
Davide De Rosa b00a7a8ade Set beta release 2021-11-27 12:43:19 +01:00
Davide De Rosa d39f0fc04b Update API on new beta 2021-11-27 12:43:05 +01:00
Davide De Rosa 6a9b8745ba Update TunnelKit 2021-11-27 12:39:35 +01:00
Davide De Rosa f1009075ab Fix compile error on IntentDispatcher 2021-11-27 12:39:35 +01:00
Davide De Rosa cb3c2401c7 Fix newer infrastructure discarded over bundle 2021-11-27 12:39:35 +01:00
Davide De Rosa 549fe3d95e Commit resolved SwiftPM packages 2021-11-26 09:07:57 +01:00
Davide De Rosa aad26ee8e4 Revert "Move .ipa/.pkg paths to env"
This reverts commit e267a5ad13.
2021-11-25 14:20:36 +01:00
Davide De Rosa b5ca84f54e Set beta release 2021-11-25 13:55:40 +01:00
Davide De Rosa b2a7d180d1 Fix iOS target in README 2021-11-25 13:10:03 +01:00
Davide De Rosa e8f2ef0a88 Use versioned TunnelKit 2021-11-25 13:07:07 +01:00
Davide De Rosa d045406bdb Set beta release 2021-11-25 12:27:27 +01:00
Davide De Rosa d07809a135 Add details on "TLS failed" issue 2021-11-25 12:26:53 +01:00
Davide De Rosa 104c856e45 Fix PEM caching PR in TunnelKit 2021-11-25 12:23:28 +01:00
Davide De Rosa fc4401571b Set beta release 2021-11-24 17:05:20 +01:00
Davide De Rosa cda63b44e5 Restore PEM caching PR in TunnelKit 2021-11-24 17:04:07 +01:00
Davide De Rosa 46fef91f5c Revert to TunnelKit with OpenSSL
- Remove extra "Frameworks" in .appex
- Restore TLS security level 0
- Disable Bitcode for OpenSSL to link properly
2021-11-24 17:03:41 +01:00
Davide De Rosa 922ed26d73 Update API 2021-11-24 17:02:54 +01:00
Davide De Rosa 897af77b33 Update TunnelKit
- Keychain adjustments
- Revisited package dependencies
2021-11-23 16:54:41 +01:00
Davide De Rosa f0020dfba6 Bump version 2021-11-19 17:31:29 +01:00
Davide De Rosa 7c00263e9a Pull latest API 2021-11-19 17:29:31 +01:00
Davide De Rosa f289296587 Fix script permission 2021-11-18 14:12:54 +01:00
Davide De Rosa fd529752ee Revert iOS target to 12
TunnelKit only requires 12.
2021-11-18 13:10:44 +01:00
Davide De Rosa e76ae927b2 Use versioned TunnelKit 2021-11-18 12:57:46 +01:00
Davide De Rosa f9ab445759 Set beta release 2021-11-18 12:22:02 +01:00
Davide De Rosa 1f0b16f42f Bump version 2021-11-18 12:21:36 +01:00
Davide De Rosa 9338f59f18 Revert PEM caching in TunnelKit 2021-11-18 12:15:21 +01:00
Davide De Rosa 2f1f61e414 Drop removed providers 2021-11-16 13:38:48 +01:00
Davide De Rosa 0754a0f199 Set release date 2021-11-16 12:55:17 +01:00
Davide De Rosa 484061505a Update README 2021-11-16 12:55:00 +01:00
Davide De Rosa bc20d03893 Use versioned TunnelKit
Absolutely same code than 4a47eec041338da8d64ddd5d4d017d2d193017a3

Only updated README.
2021-11-16 12:55:00 +01:00
Davide De Rosa bc31e99082 Fix release script 2021-11-16 12:54:59 +01:00
Davide De Rosa c8f351934c Set beta release 2021-11-14 19:42:14 +01:00
Davide De Rosa b3de7f3a73 Bump build 2021-11-14 19:41:07 +01:00
Davide De Rosa 7a4351faba Run workflow on macOS 11 2021-11-12 14:16:25 +01:00
Davide De Rosa 519430fd87 Update CI scripts 2021-11-12 11:18:43 +01:00