Commit Graph

42 Commits

Author SHA1 Message Date
Opender Singh
6403d20be2
Add timeout to spectron steps in github actions (#2774) 2020-10-27 01:10:29 +13:00
Opender Singh
8a6c5cc9b3
Run tests for builds vs packages using env variable (#2660) 2020-09-25 08:14:54 +12:00
Gregory Schier
a1c96fb6ac
Remove whitelist logic for pivot release (#2460)
Co-authored-by: David Marby <david@dmarby.se>
2020-09-18 15:40:30 +02:00
Opender Singh
e521d0651d
Fix hard-coded path in electron mock (#2565)
* Fix hard-coded path in electron mock

* Disable failfast strategy

* Remove path mocking, as it is no longer needed becasuse CI runs on all OSs, and it causes issues with database initialization for unit testing

* Update

* Update packages/insomnia-app/app/sync/git/__tests__/mem-plugin.test.js

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

* Update packages/insomnia-app/app/sync/git/__tests__/mem-plugin.test.js

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

Co-authored-by: David Marby <david@dmarby.se>
2020-08-30 23:17:15 +12:00
Opender Singh
567ee026c4
Add matrix and remove double bootstrapping from insomnia-components (#2550) 2020-08-26 08:45:58 +12:00
Opender Singh
3bcbd24c8a
Add designer smoke tests to CI (#2549) 2020-08-25 11:27:44 +12:00
Opender Singh
deaded4674
Add e2e Core tests to PR workflow (#2536)
Co-authored-by: David Marby <david@dmarby.se>
2020-08-25 08:40:40 +12:00
Gregory Schier
680d28bf83
Switch from GH_TOKEN to default GITHUB_TOKEN (#2472)
* Try GITHUB_TOKEN secret instead of GH_TOKEN

* Bump version

* Revert version

* Revert version
2020-07-31 13:32:16 -07:00
Gregory Schier
93c91ebdbe
Upgrade Electron (#2403)
* Upgrade Electron to 8, bump Node version, fix font-manager

* Specify nodeIntegration as true

* Get <webview> working again

* Get <webview> working again

* Electron 9.0

* Escape parens in plugin install exec path (newer Electron added them)

* Bump versions for first alpha

* Electron 9.1

* Convert all Electron APIs that switched from callback to Promise

* Fix send-and-download feature

* Remove user-agent override hack for OAuth 2 login window

* Bump alpha version

* Fix issue regarding chokidar

* Add package-lock.json

* Upgrade chokidar because @babel/cli uses an older incompatible version of fsevents

* Fix source maps

* Read .nvmrc in GitHub actions

* Address remaining PR feedback
2020-07-27 22:18:26 -07:00
Opender Singh
c21fd21444 Fix workflows 2020-07-02 12:08:17 +12:00
Opender Singh
24630e1873 Fix github workflow 2020-07-02 11:52:49 +12:00
Gregory Schier
487047f843
Add test:pre-release script that excludes CLI tests (#2332)
* Add test:pre-release script that excludes CLI tests

* Less repetition
2020-06-30 13:54:38 -07:00
Gregory Schier
45861b6393
POC to get Insomnia networking available outside of app (#2329)
* Hacked insomnia lib package to get Insomnia's networking in tests

* Some small tweaks

* Got it mostly working

* Tweak

* Fix

* Fix pkg

* Fix some things

* Add comment

* Comment out log

* Some tweaks after doing a self code review

* Fix test

* Update app name for `insomnia-send-request`

* Update package-lock

* Update package-locks

* Fix tests

* Add gitignore

* Fix tests hopefully

* Fix accidental dep deletions

* Fix tests again

* Mock for all tests

* Update tests again

* Don't compile for Electron for tests

* Update release scripts to disable tests
2020-06-30 12:36:15 -07:00
Gregory Schier
ec81568d43
Add Snapcraft release to Core and Designer (#2268)
* Try building snap package

* Custom snap workflow

* Fix names

* Put back node install

* Try moving env

* Add fontconfig lib

* Fix libfontconfig-dev

* Fix git tag priority

* Fix env

* Fix git ref

* Wow, fix ref again

* Remove Node 10 requirement

* Wow I'm silly

* Back to Node 10

* Ditch electron-builder Docker container

* Try apt-get witihout sudo

* Try snapcraft action

* Install snapcraft

* Log into snapcraft

* Install correct version of snapcraft

* Install snapcraft via snap

* Change Designer executable name

* Publish snap to stable

* Try snap store publish overrides

* Fix buildContext reference

* Delete debug release-snap workflow

* Remove electron-builder container

* Remove unnecessary env

* Add back node 10 version check

* Revert non-working snap channel override
2020-06-09 17:32:01 -07:00
Opender Singh
fae26d65ac
Fix windows tests (#2227) 2020-05-29 10:45:37 +12:00
Gregory Schier
6b46faa05a Also run tests on Windows 2020-05-28 15:01:17 -07:00
Gregory Schier
4387381fd1
Upgrade node-libcurl (#2223)
* deps: bump node-libcurl to latest prerelease version

* Add .npmrc, bump Electron to 3.1.13, remove electron-rebuild

* Minor tweaks

* package locks

* Bump version

* Switch to font-manager and fix fsevents rimraf

* Try generating npmrc inside build/

* Try uninstall of fsevents instead

* Bump

* Try npm env vars

* Extra .npmrc

* Try npm env vars in all CI

* Fix insomnia-cookies dependencies

* Fix typo

* Loosen nvmrc version

* Remove npm uninstalls

* Build outside of Docker

* Remove Docker, build all on GH Actions

* Bump Core version

* Disable Snapcraft for now

* Bump

* Disable snap for Designer too

* Update product name for Core

* Update test.yml

* Remove Travis file

* Make userData folder explicit and add Curl types

* Remove old Kong icon

* Remove curl.js adapter

* Revert productName

* Fix release date

* Try remove windows build tools from CI

* Add comment about Snap deploys

* Remove the pane border on Windows (no longer necessary)

Co-authored-by: Jonathan Cardoso Machado <me@jonathancardoso.com>
2020-05-28 10:09:51 -07:00
Opender Singh
877a2a1725
Trigger test workflow on external PR (#2218) 2020-05-27 17:40:46 +12:00
Gregory Schier
8162772dae More linux builds 2020-04-29 11:19:41 -07:00
Gregory Schier
9e7b2401a4 Always run test workflow 2020-04-26 15:03:41 -07:00
Gregory Schier
4cb8e34aef Rename some old things 2020-04-26 14:08:50 -07:00
Gregory Schier
c6a7c4d682 Initial designer merge 2020-04-26 13:33:39 -07:00
Gregory Schier
6932cf6dc6 Fix Windows build GitHub Action 2019-11-27 13:37:24 -05:00
Gregory Schier
db9925165a Try update windows-build-tools 2019-10-30 10:58:16 -04:00
Gregory Schier
b531dfbd9c Fix package script env var reference 2019-10-30 10:39:00 -04:00
Gregory Schier
2d03e9f170 Remove Mac builds from GitHub Actions 2019-10-18 10:54:04 -04:00
Gregory Schier
f554425d13 Add travis back for macOS builds 2019-10-18 10:48:39 -04:00
Gregory Schier
d8d2398c81 Add SNAPCRAFT_LOGIN_FILE secret 2019-10-17 16:32:09 -04:00
Gregory Schier
c33c7c0363 Use snapcraft Docker image 2019-10-10 16:28:04 -07:00
Gregory Schier
51d16a9fca CI fixes 2019-10-10 11:34:43 -07:00
Gregory Schier
ff976ed074 Fix Ubuntu 16 version 2019-10-10 10:49:59 -07:00
Gregory Schier
53a603052e Specify Linux build targets 2019-10-10 10:40:44 -07:00
Gregory Schier
2153af7ab9 Fix owner and repo in release code 2019-10-10 10:29:49 -07:00
Gregory Schier
54a524a55c Fix linux? 2019-10-09 17:54:44 -07:00
Gregory Schier
6c67a82383 Ubuntu 14 and 16 builds 2019-10-09 17:46:41 -07:00
Gregory Schier
358791abd2 Code signing GH Actions attempt 2019-10-09 14:09:16 -07:00
Gregory Schier
153b10c209
Better Github Actions builds (#1718)
* Try some things

* Try docker

* Specify bash in Dockerfile

* Fix?

* Fix dockerfile version

* Fix bootstrap.sh path

* Use GITHUB_WORKSPACE in docker script

* Fix permissions again

* Fix missing bootstrap.sh

* Try again

* Fix entrypoint.sh permissions

* Remove Linux2
2019-10-09 13:31:42 -07:00
Gregory Schier
7888030971 Try setting GYP_MSVS_VERSION=2017 2019-10-09 10:36:58 -07:00
Gregory Schier
eb19b2b1bc Try msvs 2017 2019-10-09 10:21:42 -07:00
Gregory Schier
cad520a1db Fix deprecated version param in GH Action 2019-10-08 16:47:53 -07:00
Gregory Schier
46373fda2e Try fix CI 2019-10-08 16:46:17 -07:00
Gregory Schier
773eefc059
Initial try at creating GitHub actions (#1646)
* Initial try at creating GitHub actions

* Fix Git checkout

* Just Mac for now

* Add Windows back

* Try change run for WIndows

* Configure msvs

* Try again

* Try again

* Try downgrading windows

* Change msvs version

* Separate Windows steps

* Try adding Ubuntu

* Linux packages

* SUdo?

* Try something else

* Make test more robust
2019-08-21 23:59:06 -07:00