Commit Graph

2134 Commits

Author SHA1 Message Date
Davide De Rosa d55fb5dc0f Attempt beta release 2022-01-04 09:26:55 +01:00
Davide De Rosa 9ecb90b8f9 Handle --keepalive option 2022-01-04 09:25:13 +01:00
Davide De Rosa 549cd17dbd Delete frameworks from all .appex 2021-12-17 14:47:45 +01:00
Davide De Rosa ff9dc3f340 Remove URL from CHANGELOG 2021-12-17 14:47:45 +01:00
Davide De Rosa 05a460d55f Attempt beta release 2021-12-08 16:11:38 +01:00
Davide De Rosa ab2aa03c62 Optimize release workflow
- Enforce 1h keychain lock timeout

- Disable xcpretty again for better debugging

- Drop redundant names of boilerplate actions

- Limit scope of release env variables

- Split release pull and tagging

- Generate markdown release notes in standalone script
2021-12-08 16:10:27 +01:00
Davide De Rosa 4f9bbac178 Attempt beta release 2021-12-04 11:53:51 +01:00
Davide De Rosa ca7de6d6ae Unlock keychain after creation
Might be the reason behind build hanging up in CI, arguably
waiting for a keychain password prompt.

Now, the issue never happened while prepping #207.

When testing the PR though, the testing step was omitted. This
drastically reduced the time between keychain creation and the
build to reach the codesigning phase. By restoring tests in
between, the increase in time would likely incur in keychain
auto-locking up.

- Convert action to keychain creation only

- Restore xcpretty as irrelevant (2a5c231)
2021-12-04 11:52:59 +01:00
Davide De Rosa 97c6a6f356 Attempt beta release 2021-12-03 15:35:44 +01: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 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