Commit Graph

192 Commits

Author SHA1 Message Date
Filipe Freire
7b3d04c830
chore: smoketests ubuntu only (#6255)
* chore: smoketests ubuntu only

* rename screenshot to traces

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-08-10 17:53:18 +02:00
Filipe Freire
61ef20c469 fix release-build trigger 2023-08-10 10:51:45 +01:00
Filipe Freire
c7aa710b94 fix release-build trigger 2023-08-10 10:46:19 +01:00
Filipe Freire
311908c427 fix release pipeline 2023-08-10 10:34:50 +01:00
Filipe Freire
2ceaa1ef71
fix release-build trigger (#6246) 2023-08-10 10:22:19 +01:00
Filipe Freire
001a88af11
setup new versioning for release-start (#6244)
* setup new versioning for release-start

* delete bump version
2023-08-10 11:04:28 +02:00
Filipe Freire
9800ad5aee
chore: use npm workspaces (herecles) (#6193)
* chore: use npm workspaces

* edit workspaces

* fix

* fix

* force workspace order

* fix lock?

* define max_old_space_size on CI

* rm unnecessary bootstrap

* fix

* cleanup package.json

* bump vite and re-add build to bootstrap

* define paths on tsconfig

* fix some things

* add mocha to vite config

* bump mocha

* remove tsconfigs and project refs

* cache npm install

* fixed types

* assing repo root

* merge lint configs

* fix clean

* fix tests

* setup node

* lockfile

* fix bump

* fix lint markdown

* temporary disable inso tests

* dont use rimraf

* simplify clean

* fix version

* lockfile

* inso build

* fix lint

* lock file

* remove cleans

* remove unused

* tslib hack

* redownload node-libcurl

* rm version from scripts

* fix extrainfo bug

* use npm version

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-08-10 00:14:16 +02:00
Filipe Freire
c2c228fa37
fix release-publish (#6143) 2023-07-12 14:18:08 +00:00
Isa Farnik
fe63357a93
fix(ci): entrypoint path for pkg upload (#6129)
* fix(ci): entrypoint path for pkg upload

* feat(ci): upload prerelease .deb internally
2023-07-11 14:47:29 +00:00
James Gatz
36a5635bd5
Revert "exclude macos release (#6056)" (#6061)
This reverts commit 033b74871c.
2023-06-27 18:16:03 +00:00
James Gatz
033b74871c
exclude macos release (#6056)
* exclude macos release

* more exclusion
2023-06-26 12:41:30 +00:00
Isa Farnik
bc1fef2b71
fix(ci): standardize release-script usage (#6033) 2023-06-14 09:14:20 +00:00
Filipe Freire
d3b917a15f
chore: Add merge-group on workflow dispatch (#5872) 2023-03-31 10:51:31 +00:00
Filipe Freire
4ddd0288f6
Enable publishing beta builds on snapcraft (#5675)
* Enable publishing beta builds on snapcraft

* fix edit
2023-01-16 10:06:19 +00:00
Filipe Freire
7a80ec095a
Fix GH actions changelog warnings (#5653) 2023-01-13 10:46:44 +01:00
Jack Kavanagh
3765ad2373
use electron-build notarize config (#5635)
* use electron-build notarize config

* update electron-builder.config

* Re-add snapcraft fix done in #5555

* update electron-builder

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-01-12 10:42:13 +00:00
Filipe Freire
d03932040c
Fix Windows code signing paths (#5508) 2022-12-12 17:53:48 +00:00
Filipe Freire
9fa5fe5f2e
Enable Windows Code-signing using ssl.com esigner (#5506)
* Revert previous change

* add code signing steps on release-publish

* rename secret

* fix path
2022-12-12 13:13:35 +00:00
Filipe Freire
b3ce4ece0a
Revert Code Signing workaround (#5438) 2022-12-12 11:01:21 +00:00
Filipe Freire
21cbab54f2 keep NODE_OPTIONS 2022-11-17 15:08:14 +00:00
Filipe Freire
919c017e14 proper fix hopefully 2022-11-17 15:06:26 +00:00
Filipe Freire
81133fc31f fix 2022-11-17 14:43:04 +00:00
Filipe Freire
d3c42da82e fix 2022-11-17 14:25:21 +00:00
Filipe Freire
4c5e78830b forgive me father 2022-11-17 14:12:06 +00:00
Filipe Freire
67f1be735c
Fix changelog.yml deprecation warning (#5374) 2022-11-04 12:36:44 +01:00
Filipe Freire
ee90c5c06b
[INS-2105] Fix release-publish deprecation warnings (#5359) 2022-11-02 08:40:36 +00:00
Filipe Freire
ffaa74e88b
Bump version of release-build dependency (#5342) 2022-10-31 08:54:01 +00:00
Jack Kavanagh
d270573444
remove tag pushing (#5345) 2022-10-28 12:49:45 +00:00
Jack Kavanagh
2bdd84ad22
make all packages private (#5339)
* make all packages private

* remove lerna json and publish scripts

* clean up npmignores

* remove major npm github ci logic
2022-10-27 17:55:30 +02:00
Filipe Freire
8e0c2042b2
Update actions/cache on homebrew.yml (#5313) 2022-10-21 15:39:10 +00:00
Filipe Freire
23760ab24b
Fix for set-ouput deprecation (#5292)
* Fix for set-ouput deprecation

Related to https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

* rm extra space
2022-10-17 13:14:47 +01:00
David Fluck
dbf597c2d8
INS-1785: Add Inso NPM package test (#5116)
* Add Inso NPM package test.

* PR changes

* Delete shell script.

* Rename script

* PR changes

* Try cross-env on test:bundled-inso to fix Windows

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-10-14 08:27:10 +00:00
Filipe Freire
5bba2e9545
[INS-2022] Initial exploration multiple test projects (#5244)
* Initial exploration multiple test projects

* Replace duplicate scenario with one to be filled in

* Simplify number of playwright project configs

* Fix testMatch setting on playwright config

* Edit github actions to distinguish between CI and Release runs
2022-10-11 08:56:12 +00:00
David Marby
df9a48e010
Upload sourcemaps to Sentry on publish (#4909) 2022-06-28 11:29:28 +02:00
David Marby
040113891c Revert "Temporarily disable github release tag/create"
This reverts commit 672599e0f5.
2022-06-15 19:10:42 +02:00
David Marby
4a707c3b3d Fix file name 2022-06-15 18:54:40 +02:00
David Marby
0f368b7b12 Use correct snapcore/action-publish version 2022-06-15 18:44:41 +02:00
David Marby
672599e0f5 Temporarily disable github release tag/create 2022-06-15 18:28:48 +02:00
David Marby
c5f9b77cbd Update snapcraft publish method 2022-06-15 17:41:51 +02:00
Filipe Freire
4b5b78fa9d
Use DOCKER_BUILDKIT=1 for inso docker build (#4764) 2022-05-09 15:40:04 +01:00
Filipe Freire
e34e80e569
Publish Inso CLI docker images (INS-1238) (#4722)
* Add inso docker on build & publish workflows

* Pin alpine image to 3.15.4

* Rename kongcloud/insomnia-inso to kong/inso
2022-05-09 12:37:33 +01:00
David Marby
a037a3b844
Fix incrementing npm package versions for pre-release revisions (#4741) 2022-05-02 12:06:52 +02:00
David Marby
1ee7c198f1 Merge branch 'release/2022.3.0' into develop 2022-04-28 15:05:00 +02:00
David Marby
150842c213 Fix updating the package-lock.json files on release start 2022-04-22 13:48:38 +02:00
David Marby
589c1207be Allow incrementing the major npm version 2022-04-22 13:48:38 +02:00
Dimitri Mitropoulos
213e1dd1c8
rename insomnia-app/app to insomnia/src (#4491) 2022-04-20 17:42:19 +00:00
David Marby
864ac9f0c2 Fix bumping the app version 2022-04-20 17:14:33 +02:00
David Marby
641cdc83d4
Fix lerna version bumps (#4712) 2022-04-20 16:56:25 +02:00
Filipe Freire
608fb30bf3
Re-add the changelog workflow changes from #4655. (#4662) 2022-04-01 10:10:00 +00:00
Filipe Freire
d0d86f9bc5
Add git merge info to release-build. (#4628)
* Add git merge info to release-build.

* Improve spacing
2022-03-24 12:20:24 +00:00
Filipe Freire
dee0b47039
Changelog generation for the automated releases (#4574)
* Create changelog workflow

* Change env variables.

* Add TODOs.

* Update changelog generator workflow.

* Fix copy-paste typo :)

* Print changelog inside code snippet

* Update comment changes.

* Add --onlyShowMissing support.

* Fix typo

* Create CHANGELOG_TOKEN secret

* Revert GITHUB_TOKEN

* Fix typo

* Fix HEAD

* Use Kong as OWNER

* Update .github/workflows/changelog.yml

Co-authored-by: David Marby <david@dmarby.se>

* Add support for PR trigger & always run onlyShowMissing.

* Fix text

* Fix ref and if clauses

* Fix ref and if clauses

* Add notice in case changelogs fail.

* Change get latest release.

* Fix typo

* Remove unnecessary TODO

Co-authored-by: David Marby <david@dmarby.se>
2022-03-23 11:57:51 +00:00
David Marby
ba785e6731 Merge branch 'release/2022.2.0' into develop 2022-03-17 17:09:19 +01:00
David Marby
ef7773a292
Simplify the test workflow (#4599) 2022-03-17 11:05:37 +01:00
Jack Kavanagh
4c657d4e5b
remove :smoke (#4597) 2022-03-16 09:36:41 +00:00
David Marby
e62d70286a Run lerna version for stable builds as well 2022-03-15 12:13:00 +01:00
David Marby
0bfb097676
Fix lerna version bumps and release-recurring skipping, again (#4583) 2022-03-10 17:45:11 +00:00
David Marby
d3b4322bf2
Fix lerna version bumps and don't run release recurring for release PRs (#4576) 2022-03-10 16:58:42 +01:00
David Marby
50df8c1a93
Stop creating tags for lerna on release-start (#4573) 2022-03-10 12:37:17 +01:00
David Marby
6d2ddbb635
Stop pulling test-bot tap, and update all taps before checking for updates (#4569) 2022-03-09 20:43:37 +00:00
John Chadwick
e3b30c26f4
Change "Release recurring" to "Release Recurring" (#4567) 2022-03-09 19:03:14 +00:00
David Marby
17e2aefd3e
Stop setting npm env variables (#4565) 2022-03-09 18:11:07 +01:00
Filipe Freire
23f8a201c0
Specify --repo in suggested publish workflow run. (#4564) 2022-03-09 16:21:01 +00:00
Filipe Freire
b3aa6b9cec
Easier Alpha/Beta/Stable releases (INS-1435) (#4516)
Co-authored-by: David Marby <david@dmarby.se>
2022-03-09 16:06:53 +01:00
Jack Kavanagh
1f05683fad
Chore/upgrade-electron-17 (#4529)
* bump node, electron, libcurl

* bump electron-builder

* stub performance, because inso imports react

* bump @types/node

* match up builder versions

* Disable consent prompts for oidc server

* bump electron and libcurl to latest

* waitForCookies for oauth tests

* Bump NodeJS to 16.13.0

* removes node 14 hack for BufferEncoding

* Replace oidc-provider html interaction pages with a simple html form

* make document cookie wait explicit

Co-authored-by: David Marby <david@dmarby.se>
2022-03-07 13:10:35 +00:00
David Marby
82c37d7f96
Set the git user for homebrew PRs (#4536) 2022-03-01 22:37:34 +01:00
Isa Farnik
6024d1ecdf
fix(brew): de-duplicate --open-pr flag in GHA (#4503) 2022-02-24 15:57:17 +00:00
Filipe Freire
bcad07b9aa
Fix BUILD_REF for develop and other non-PR triggers (#4496) 2022-02-14 18:56:07 +00:00
Filipe Freire
d68ad33f2b
Change build ref of recurring build if PR (#4490)
* Change build ref of recurring build if PR

* Add PR_NUMBER env var

* Edit the BUILD_REF to <commit>.pr-<number>
2022-02-14 17:21:45 +00:00
David Marby
1389dd4696
Cancel currently running test workflows for a branch if new commits are added (#4476) 2022-02-10 16:07:11 +00:00
Filipe Freire
1160b4a09c
Recurring releases of insomnia app (INS-1429) (#4474)
* Update default electron-builder targetgs

* Allow setting a build ref

Changes the default version to `0.0.1-dev+unknown`, so that build/packaging can be easily ran locally without setting any environment variables.

* Adds recurring release workflow

New workflow that'll pre-bake artifacts when there's changes on PRs or on develop.

Artifacts can be used for all platforms to test out a PR or latest develop without the need to build locally.

Co-Authored-By: David Marby <david@dmarby.se>

* Make recurring flow independent from Test flow

Co-Authored-By: David Marby <david@dmarby.se>

* Use setup-node@v2

Co-Authored-By: David Marby <david@dmarby.se>

* Update .github/workflows/release-recurring.yml

Co-authored-by: David Marby <david@dmarby.se>

* It's always the single quotes 🙏 😚

* Use bash shell

* Disable fail-fast

* Add cancel-in-progress setting to recurring releases

If someone pushes a new commit, triggering a new recurring job on a PR or develop, we cancel ongoing workflow.

Co-Authored-By: David Marby <david@dmarby.se>

* Change concurrency setting to workflow level

Co-Authored-By: David Marby <david@dmarby.se>

Co-authored-by: David Marby <david@dmarby.se>
2022-02-10 15:32:33 +00:00
David Marby
cdeb4debc6
Use setup-node@v2 (#4473) 2022-02-09 17:35:34 +01:00
Isa Farnik
109eababcf
feat(ci): bump homebrew formulae (#4412)
* feat(ci): bump homebrew formulae

* swap GITHUB_TOKEN for HOMEBREW_PR_GH_TOKEN
2022-02-07 16:49:56 +00:00
David Marby
aa2dc2e2de
Speed up the tests workflow (#4430) 2022-02-02 12:11:13 +01:00
Jack Kavanagh
21ab3dd081
Chore/upgrade-electron-12 (#4232)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-12-21 13:03:36 -05:00
Jack Kavanagh
8cea5edc26
Chore: replace spectron with playwright (#4305)
* add smoke test fixture

* respect INSOMNIA_DATA_PATH override in CI

* add playwright

* remove spectron

* move CLI tests after app smoke tests in CI

* remove onboarding skip

* random path feedback

* npx feedback

* remove DATA_PATH override

* remove step from import process

* cleanup

* restore readme

* move specs to tests

* feedback on DESIGNER_DATA_PATH

* remove skipLibCheck

* last mention of spectron

* fix windows npm run test:smoke:build

* DATA_PATH override is required

* github CI is slow sometimes
2021-12-17 13:05:14 +01:00
Opender Singh
dc4bc1ae48
Remove NPM build dependency for lerna packages (#4306) 2021-12-16 01:08:45 +01:00
Dimitri Mitropoulos
fa4cf3f7b7
componentize settings renderers (#4266) 2021-12-14 09:26:36 -05:00
James Gatz
681ee649ee
enable running test workflows manually (#4245) 2021-11-25 14:18:29 +01:00
Jack Kavanagh
28378dc3fd
spike: use babel preset typescript to transpile app (#4142)
* use babel-preset-typescript

* run type-check in release process
2021-11-03 08:06:52 +00:00
Opender Singh
5694bb841c uncomment tests in test workflow 2021-10-15 12:00:06 +13:00
Opender Singh
71f8393fba
Notarize raw binary (#4108) 2021-10-14 22:16:30 +00:00
Dimitri Mitropoulos
177d6adf38
Insomnia Config, controlled settings (#4031)
Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-10-14 10:59:45 -04:00
Opender Singh
c3465204aa
Rename "compress" terminology to "artifacts" to be more representative (#4091) 2021-10-12 21:23:25 +00:00
Opender Singh
e1597dd87d
Update release workflow to sign, notarize and staple macos inso binary (#4090) 2021-10-12 20:52:16 +00:00
Opender Singh
210db0dd01
Allow specifying a custom version for Inso (#4086) 2021-10-12 00:35:59 +00:00
Opender Singh
3b7b505c74
Inso binaries codesign & notarize on macOS (#4082) 2021-10-12 13:10:09 +13:00
Opender Singh
615287ccfc
Create single inso executable using pkg (#4049)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-10-06 22:01:43 +00:00
Dimitri Mitropoulos
422d5a809c
adds markdown linting (#3931) 2021-08-27 15:44:01 +12:00
David Marby
a51700fbe6
Use the latest kong/release-script version (#3943) 2021-08-25 13:56:13 +02:00
John Chadwick
b07cd1cf16
Upgrade Electron to 11.2.3. (#3798)
* Upgrade Electron from 9.3.5 to 11.2.3.

* bump version

* update preid to alpha

* version packages lib@2.3.1-alpha.0

* Downgrade electron-builder to 22.11.3.

We tried to upgrade electron-builder to 22.11.7, but this fails
because electron-builder 22.11.4 introduces imports into fs/promises.
This module is only available in Node 14+, so we have to stick to
22.11.3 until we update to Electron 12.

* Revert npm script changes from alpha release.

Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-07-16 13:35:32 -07:00
David Marby
8f604dcedc Use the Designer certificate for Windows signing 2021-06-24 19:12:37 +02:00
Opender Singh
25ac42eb23
Skip apt repo publish if not stable tag (#3423) 2021-05-27 13:00:07 +12:00
Opender Singh
be59ef1e3b
GH release workflow improvements (#3406) 2021-05-21 08:43:07 +12:00
Opender Singh
1271f5a925
Publish NPM packages through CI (#3311)
* chore: update CI to publish npm packages during a release

* chore: test on all OSs prior to publishing npm packages and running a release

* auth with npm before publish
2021-05-15 09:09:11 +12:00
Dimitri Mitropoulos
5f4c19da35
[TypeScript] Phase 1 & 2 (#3370)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-05-12 18:35:00 +12:00
David Marby
8d79631e59
Add github action for publishing to the apt repository (#3315) 2021-04-23 09:10:02 +02:00
Yunyu Lin
04d04850e8
Upgrade Electron to 9.3.5 (#3000)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-03-16 09:23:56 +13:00
Opender Singh
f654f49dfb
Onboarding flow ent to end tests and automatic screenshots on failure (#3106)
Co-authored-by: David Marby <david@dmarby.se>
2021-02-26 09:39:59 +13:00
Opender Singh
26fb78ab99
Remove Core and Designer specific cases (#3034) 2021-02-03 12:19:22 +13:00
Opender Singh
fa4306c5d8
Introduce E2E tests for inso run test (#2917) 2020-12-08 13:03:06 +13:00