Commit Graph

194 Commits

Author SHA1 Message Date
Davide De Rosa 57a041ca7c Add manual workflow for private beta
Tolerate dirty repo (for tweaking Info.plist).

Should refactor later to reuse build tasks from release workflow
as local actions.
2022-04-13 22:28:00 +02:00
Davide De Rosa 1532e8808b [ci skip] Address CI and ASC validation issues
- Skip tests until fixed wg-go issue

- Add golang step

- Set "Apple Development" at project level

- Set Catalyst platform for gym

- Drop TARGET env variable clashing with WireGuardKit

- Disable SwiftGen script phase

- Fix TunnelKit segfault on archive

- Xcode 13.2.1 compatibility
    Fix some issues with @MainActor
    Use #available instead of #unavailable

- Raise timeout from 10 to 15 minutes

- Update beta description

- Tunnel bundle ids cannot have periods

- CFBundleDisplayName required in tunnels
2022-04-13 10:00:29 +02:00
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 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 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 519430fd87 Update CI scripts 2021-11-12 11:18:43 +01:00
Davide De Rosa ae1aa1a268 Reorganize project with SwiftPM
- Drop CocoaPods completely
- Make PassepartoutCore a Swift package
- Enable Bitcode to fix OpenSSL linkage (iOS)
- Update CI scripts without CocoaPods
2021-11-06 11:18:55 +01:00
Davide De Rosa 58a22f8c37 Update API 2021-10-18 12:02:24 +02:00
Davide De Rosa 8e63a3ae05 Fix CHANGELOG generation 2021-10-16 15:44:45 +02:00
Davide De Rosa db95bda84a Update fastlane to pick API key from env 2021-10-14 10:44:21 +02:00
Davide De Rosa 75d8c78fe1 Restore use of bash in scripts
Source inclusion may break otherwise.
2021-10-11 23:32:07 +02:00
Davide De Rosa 90523395d3 Fix build number 2021-10-11 20:36:13 +02:00
Davide De Rosa 16e83bf990 Fix version/build number scripts 2021-10-11 19:34:08 +02:00
Davide De Rosa 6b7ab9a33b Strip DIST_PATH 2021-10-11 17:34:31 +02:00
Davide De Rosa 881904ae61 Update fastlane templates 2021-10-11 17:22:25 +02:00
Davide De Rosa cedd1e9442 Add testing into beta workflow
Only run tests on master branch.
2021-10-11 11:12:16 +02:00
Davide De Rosa 0133589c1e Provide review with IDFA information 2021-10-09 16:54:48 +02:00
Davide De Rosa 79f078ec3e Run non-build jobs on ubuntu-latest
- Change build/version readers to use raw plist (vs agvtool)
- Former env issue should be related to non-bash shell
2021-10-09 16:46:46 +02:00
Davide De Rosa cdf5ba6b48 Fix git reset in create_archive 2021-10-08 09:26:24 +02:00
Davide De Rosa 59f0bd5c32 Move a few extra steps into lanes
- Rename some lanes
- Use explicit fastlane commands for metadata
2021-10-08 09:26:24 +02:00
Davide De Rosa 17b17fa255 Add job to submit for App Review 2021-10-08 09:26:24 +02:00
Davide De Rosa 12e8570fcb Split upload and TestFlight jobs 2021-10-08 09:26:21 +02:00
Davide De Rosa 894116269a Move CHANGELOG preface to env 2021-10-05 19:27:02 +02:00
Davide De Rosa de829b094e Set beta release 2021-10-04 23:21:05 +02:00
Davide De Rosa 9d22fb28c6 Fix commit release script 2021-10-04 22:59:08 +02:00
Davide De Rosa 0a6894d82c Rewrite beta local/remote flow
- Merge envs
- Explicit lanes in workflow
2021-10-04 22:54:50 +02:00
Davide De Rosa a41abb8274 Fix beta release changelog 2021-10-01 19:42:02 +02:00
Davide De Rosa 72414afe5e Reorganize beta metadata
- Move templates into repository
- Move beta parameters to environment
2021-10-01 19:42:02 +02:00
Davide De Rosa f22916f1d0 Deploy beta via GitHub Actions
- Disassemble deploy scripts inside workflow
- Update gitignore to avoid dirty status
- No readonly
- Create additional certs for macOS
2021-10-01 10:48:56 +02:00
Davide De Rosa a90cf31974 Update API 2021-09-27 17:45:10 +02:00
Davide De Rosa 52b3d31299 Fix bogus country codes in ProtonVPN 2021-07-30 17:53:51 +02:00
Davide De Rosa 77846de9e7 Add Oeck provider 2021-07-30 01:44:01 +02:00
Davide De Rosa 4b5fa5f43c Revert "Downgrade API temporarily"
This reverts commit 2728c0aa4b.
2021-07-18 21:49:41 +02:00
Davide De Rosa 2728c0aa4b Downgrade API temporarily
Fixes #188
2021-07-14 15:56:43 +02:00
Davide De Rosa 8736a22763 Add SurfShark provider
Push force manual API.
2021-06-26 10:40:19 +02:00
Davide De Rosa 74d5b6bb8f Update API 2021-04-14 15:43:21 +02:00
Davide De Rosa 64299cbade Fix CHANGELOG and script to generate it 2021-02-12 10:32:37 +01:00
Davide De Rosa a140ffca7f Update pods and API 2021-02-12 02:22:19 +01:00
Davide De Rosa 5a7211132e Split submission to AppCenter and App Store
Tag at the end.
2021-01-30 10:19:05 +01:00
Davide De Rosa 61f5cc7eb4 Set beta release 2021-01-28 12:34:18 +01:00
Davide De Rosa 77c041e37e Fix platform env for match 2021-01-18 20:42:02 +01:00
Davide De Rosa 2588101efa Compose some env variables 2021-01-18 17:43:56 +01:00
Davide De Rosa 2e8d742333 Set release date 2021-01-07 21:59:51 +01:00
Davide De Rosa 8d31bdc22f Fix Xcode version in CI
Xcode was 12 instead of 12.2 and therefore OpenSSL was failing on
Apple Silicon arch (MacOSX arm64).
2021-01-06 17:36:00 +01:00
Davide De Rosa ed1bd7ee69 Fix env in scripts 2021-01-04 00:15:56 +01:00
Davide De Rosa e60aa12bd1 Fix removal of old Core submodule 2021-01-03 23:07:24 +01:00
Davide De Rosa 2561a40ee6 Update submodules 2021-01-03 22:28:11 +01:00
Davide De Rosa d4b7d47498 Merge macOS app and Core into repository
Temporarily drop env and fastlane.
2021-01-03 22:28:07 +01:00
Davide De Rosa 5a1b86e9d5 Fix non-optional MTU in network settings
May break parsing of ConnectionService.

Fixes #163
2021-01-02 11:06:19 +01:00
Davide De Rosa 1a988ce0be Set release date 2020-12-30 08:31:55 +01:00