1
0
mirror of https://github.com/lensapp/lens.git synced 2024-11-10 10:36:25 +03:00
Commit Graph

29 Commits

Author SHA1 Message Date
Jari Kolehmainen
05a3494acb
Don't bundle extension with eula on default build (#2542) 2021-04-20 09:35:37 -04:00
Jari Kolehmainen
8b9f645a80
Retry yarn/npm install steps on gh actions (#2533)
* retry yarn/npm install steps on gh actions

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* set timeout_minutes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-15 15:22:55 +03:00
Sebastian Malton
503a49261e
Fix unit tests and make tests fail if a promise rejects after the test harness is finishes (#2034) 2021-03-30 10:14:05 -04:00
Sebastian Malton
1470103fd4
Add lens:// protocol handling with a routing mechanism (#1949)
- Add lens:// protocol handling with a routing mechanism

- document the methods in an extension guide

- remove handlers when an extension is deactivated or removed

- make sure that the found extension when routing a request is currently enabled (as a backup)

- added documentation about the above behaviour to the guide

- tweaked the naming convention so that it is clearer that the router uses extension names as not IDs (which currently are folder paths)

- Convert the extension API to use an array for registering handlers

- switch design to execute both main and renderer handlers simultaneously, without any overlap checking

- change open to be a dev dep

- improve docs, export types for extensions, skip integration tests

- switch to event emitting renderer being ready

- Add logging and fix renderer:loaded send to main

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-25 09:32:40 -05:00
Jari Kolehmainen
27439907b4
makefile: regenerate node_modules if yarn.lock changes (#2041)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-28 19:03:33 +02:00
Jari Kolehmainen
e3ccb9beab
Windows: support only bash for development (#1915)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-01-08 16:45:11 +02:00
Jari Kolehmainen
06041e6169
Test different kube versions (#1806)
* test different kube versions

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* tweak

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* tweak

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

* tweak

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-12-18 12:41:17 +02:00
Jari Kolehmainen
4b4baf2d4b
Add contributing/development pages (#1480)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-23 11:37:30 +02:00
Jari Kolehmainen
5e5bac3264
Cache make build-extensions (#1407)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-17 12:25:27 +02:00
Jari Kolehmainen
596e60a6f3
Generate extension-api .d.ts and .js files using tsc (#1387)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-16 15:09:16 +02:00
Sebastian Malton
648dbfee98
Remove Makefile from all intree extensions (#1312)
* Remove Makefile from all intree extensions

- Makefiles are not really common (rightly so) in JS projects and script
  entries in the package.json are good enough and what they're there
  for.

- Move to using yarn for installing dependencies and running scripts as
  that is what we mostly use for the rest of the project.

- Move from using make syntax to a dedicated script for building and
  testing extensions.

- add jest as extension devDep, go back to using makefile foreach syntax

- add correct exit code

- add yarn check call to install-deps

- add yarn invokation to find deps

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-13 12:32:15 -05:00
Lauri Nevala
eccc502ef2
Exit pipeline if extensions build or tests fail (#1370)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-13 16:42:34 +02:00
Sebastian Malton
d7c7593c0d
Add CI step to run future extension tests (#1214)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-04 12:49:37 +02:00
Jari Kolehmainen
15406c4897
Release v4.0.0-alpha.1 (#1159)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-27 21:54:08 +02:00
Jari Kolehmainen
b765ee11bb
publish npm package via pipeline on release (#1158)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-27 17:06:56 +02:00
Jari Kolehmainen
67b8410a2c
npm package publish preparations (#1150)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-27 13:02:31 +02:00
Jari Kolehmainen
a478143423
Build extensions automatically before app is built (#1093)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-10-19 11:41:07 +03:00
Lauri Nevala
7294c11b38
Remove explicit yarn install call from make build task (#835)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-09 16:16:48 +03:00
Trevor Nichols
38ba9cd383
Change order of init for fresh clone (#797)
Signed-off-by: Trevor Nichols <trevor@nichols.id.au>
2020-09-04 09:33:17 +03:00
Lauri Nevala
40e9a3bece
Download binaries before building the app (#799)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-03 14:40:38 +03:00
Lauri Nevala
533646cba5
Detect invalid bundled kubectl (#778)
* Test bundled kubectl

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-09-01 14:28:59 +03:00
Lauri Nevala
b75cac4546
Fix windows dev env (#722)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

Co-authored-by: Trevor Nichols <trevor@ml.net.au>
2020-08-25 11:08:46 +03:00
Roman
b7974827d2
Lens restructure (#540)
Signed-off-by: Roman <ixrock@gmail.com>
2020-06-30 14:35:16 +03:00
Jari Kolehmainen
c91f608346
Lint dashboard app automatically (#529)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-26 12:05:41 +03:00
Jari Kolehmainen
deb4bf2f7b
Integration tests using spectron (#410)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-09 13:18:24 +03:00
Jari Kolehmainen
5af12bdbbd
Add download-bins target to make (#406)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-05 22:47:30 +03:00
Jari Kolehmainen
4ead24bd9d
Windows build fix (#159)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-26 20:40:36 +02:00
Jari Kolehmainen
1aaa695cfe
Refactor dashboard server logic to electron main (#146)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-24 07:37:47 +02:00
Jari Kolehmainen
1d0815abd2
Lens app source code (#119)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-15 09:52:02 +02:00