1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

25 Commits

Author SHA1 Message Date
Jari Kolehmainen
2657df2293
Restructure to monorepo (#6907)
* wip: restructure to monorepo

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

* refactor create-release-pr to a package

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

* build fixes

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

* github workflow fixes

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

* fix typo

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

* add webpack-env types to core

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

* fix github workflows

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

* refactor/fix integration tests

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

* lint fix

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

* yarn run dev

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

* eslint settings for vscode

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

* move templates to right package

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

* open-lens build fixes

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

* integration test fix

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

* fix nx task dependencies

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

* use bash shell for unit tests in test workflow

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

* fix test:unit for windows

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

* fix win-ca webpack error in open-lens

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

* fix win-ca webpack error in open-lens

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

* fix build:app on windows

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

* remove ELECTRON_BUILDER_EXTRA_ARGS

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

* sync src/ from master

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

* remove Makefile from core

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

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2023-01-24 10:46:26 -08:00
Sebastian Malton
8db81a4731
Remove in-tree extensions to help facilitate a more secure and faster booting lens (#6775)
* Remove kube-object-event-status extension

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Remove cluster-metrics-feature intree extension

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Remove lens-node-menu intree extension

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Remove lens-pod-menu intree extension

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Remove building extensions as part of build

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Remove integration test touching previously bundled code

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-12-20 07:53:33 -05:00
Sebastian Malton
918a984b3f
Replace deprecated github actions ::set-output (#6509)
* Replace deprecated github actions ::set-output

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Update to newer versions to remove notices

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix getting cache dir on windows

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-11-04 09:25:44 -04:00
Sebastian Malton
ce476b4610
Don't run linux integration tests on the unit matrix entry (#6339)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-05 16:32:10 -04:00
Sebastian Malton
1a8f80a5e9
Split integration tests into seperate jobs from unit tests for faster CI (#6310)
* Split integration tests into seperate jobs from unit tests for faster CI

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Add logging

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Simplify the matrix

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Remove steps that are part of Makefile

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix yml decl

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Switch to using single quotes

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Further clarify the test job names

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix invocation

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Attempt to fix traking stdout

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix lint

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* And handling for tests failing to start

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Add check for app early exiting

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Add more logging to help with debugging

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Cleanup attemptStart code

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-10-04 17:20:21 -04:00
Sebastian Malton
5414fc2580
Disable fail-fast on the testing CI jobs (#6080)
- There are several reasons why these might fail that are irrelavent to
  the other pipelines. So we should just let them continue

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-25 09:49:21 -04:00
Sebastian Malton
4771c7755c
Switch ubuntu CI to ubuntu-20.04 (#6078)
Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-08-23 10:15:30 -04:00
Jari Kolehmainen
db65a89ee0
Electron v15.5.7 (#5562)
* electron v15.5.7

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

* change pipelines to use node 16

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

* bump @types/node

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

* update yarn.lock

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

* use fs.ObjectEncodingOptions

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-06-08 09:55:17 +03:00
Sebastian Malton
649ca09d70
Switch to always using latest minikube in CI (#5408) 2022-05-18 14:11:56 -04:00
Sebastian Malton
2d7f89ab48
Fix check for making sure dependency upgrades don't break dev mode (#5318) 2022-05-03 15:46:24 -04:00
Sebastian Malton
e4b1fa2f40
Fix make dev on master (#5282)
- Add CI action to validate that future bump PRs don't break dev mode

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2022-04-26 20:18:18 -07:00
Jim Ehrismann
560ef99080
changed ownership of retry package (#4891)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2022-02-16 11:33:08 -05:00
Jari Kolehmainen
3c55cba40d
use ubuntu 18.04 for builds (#3877)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-09-23 15:14:24 +03:00
Sebastian Malton
e5c9c9a4b5
Fix test GH action to run on all branches (#3822) 2021-09-16 10:38:31 -04:00
Sebastian Malton
1ebb8eedf7
Upgrade all testing linux CI machines to Ubuntu-20.04 (#3799) 2021-09-16 09:02:43 -04:00
Jari Kolehmainen
9d6bed8786
Build and release amd64 & arm64 together (macOS) (#3700)
* build and release amd64 & arm64 together

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

* fixes

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-31 11:00:27 +03:00
Jari Kolehmainen
6d1e6a2c41
Test build on macOS/arm64 (#3695)
* test build on macos arm64

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

* fix syntax

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

* fix syntax

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

* clean first

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

* node-gyp 7.1.2

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

* test

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

* test

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

* cleanup

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-31 08:30:02 +03:00
Sebastian Malton
59933507e4
Upgrade to electron 12 and Node 14 (#3572)
Upgrade to electron 12 and Node 14

- Compute cluster ID for tests
- Switch to temporary appData path while testing

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-08-26 12:13:31 -04:00
Jari Kolehmainen
30bd552322
Run integration tests against real build (#3278)
* run integration tests against real build

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

* add author.email to package.json

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-07-06 15:38:49 +03:00
Jari Kolehmainen
05a3494acb
Don't bundle extension with eula on default build (#2542) 2021-04-20 09:35:37 -04:00
Jari Kolehmainen
0de3bb13ca
Workaround broken reverse name lookup on gh actions (#2545)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-16 13:40:51 +03: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
Jari Kolehmainen
95ebb52f5d
Test also push to branches on gh actions (#2532)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-15 14:40:49 +03:00
Jari Kolehmainen
b852384e85
Cache node_modules on GH actions (#2517)
* cache node_modules on GH actions

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

* tweak

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-13 12:26:36 +03:00
Jari Kolehmainen
ed8d26fe68
Test using GH Actions (#2509)
* test on gh actions

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

* don't run integration test on release pipeline

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-04-12 15:43:45 +03:00