Compare commits

...

152 Commits
v6.2.0 ... main

Author SHA1 Message Date
Jan-Otto Kröpke a7d44fba75
Update README.md (#197) 2024-05-03 08:30:46 +02:00
Muhammed Kalkan 03b3f94661
Merge pull request #191 from MuhammedKalkan/MuhammedKalkan-patch-1
Update README.md
2024-02-05 15:22:42 +03:00
Muhammed Kalkan ea015ca86f
Update README.md 2024-02-05 15:22:26 +03:00
Muhammed Kalkan 69e11a872e Cancel builds 2024-02-01 16:24:41 +00:00
MuhammedKalkan 583a606ee3 Version updated to: 2024.1.300751-latest 2024-01-31 12:35:57 +00:00
MuhammedKalkan 46e3bfe503 Version updated to: 2024.1.170738-latest 2024-01-25 18:28:16 +00:00
Jan-Otto Kröpke 0f102c4f64
Use electron-builder beforeBuild (#164) 2023-06-30 19:33:12 +02:00
Jan-Otto Kröpke 32fca4b84b
Update main.yml (#162) 2023-06-16 07:37:42 +02:00
Jan-Otto Kröpke 8cb4107664
Fix linux arm64 builds (#160) 2023-06-15 23:46:06 +02:00
Muhammed Kalkan c4b099462f
Merge pull request #158 from YossiTamari/patch-1
Update README.md
2023-06-09 14:06:23 +03:00
YossiTamari ed93e90606
Update README.md
The Extensions UI is not in Settings page.
Mentioned how to solve the issue described in https://github.com/alebcay/openlens-node-pod-menu/issues/65#issuecomment-1570385052.
2023-06-07 12:21:34 +03:00
Jan-Otto Kröpke 391c2cd111
fix auto updater (again) (#157) 2023-06-06 21:41:07 +02:00
Jan-Otto Kröpke a2d9d20044
fix auto updater (#156) 2023-06-06 09:15:05 +02:00
Jan-Otto Kröpke 7c226405b1
Mention binary application builds (#153) 2023-06-05 18:18:01 +02:00
Jan-Otto Kröpke d87072ab17
Build MSI and Portable packages for windows (#150) 2023-06-05 09:03:32 +02:00
Jan-Otto Kröpke d66845b79f
Implement Build Number (#149) 2023-05-31 00:02:48 +02:00
MuhammedKalkan eeecbfe469 Version updated to: 6.5.2 2023-05-30 18:25:38 +00:00
Muhammed Kalkan 2ef129c6d5
Merge pull request #147 from MuhammedKalkan/switch-to-nx
Run nx instead yarn
2023-05-30 00:25:27 +03:00
Jan-Otto Kröpke 4062b09783
Run nx instead yarn 2023-05-29 22:40:41 +02:00
MuhammedKalkan 77a6205469 Version updated to: 6.5.1 2023-05-29 18:24:56 +00:00
Muhammed Kalkan db82d7353f
Update main.yml 2023-05-29 16:10:44 +03:00
Muhammed Kalkan bb3e3245bf
Update main.yml 2023-05-29 15:34:16 +03:00
Muhammed Kalkan 0d68d0275b
Update main.yml 2023-05-26 23:04:30 +03:00
Muhammed Kalkan a8463b1e3c
Update main.yml 2023-05-26 22:42:17 +03:00
Muhammed Kalkan 390c75a6d1
Update main.yml 2023-05-26 21:55:15 +03:00
Muhammed Kalkan de52306024
Update update.js 2023-05-26 21:38:49 +03:00
Muhammed Kalkan 8a2ff66739
Update main.yml 2023-05-26 21:29:20 +03:00
MuhammedKalkan 85b2c63936 Version updated to: 6.5.0 2023-05-26 18:25:05 +00:00
MuhammedKalkan 1e013bcea4 Version updated to: 6.4.15 2023-04-13 01:37:42 +00:00
MuhammedKalkan 94d491e892 Version updated to: 6.5.0-alpha.4 2023-04-12 18:27:21 +00:00
MuhammedKalkan b7a14074bf Version updated to: 6.4.15 2023-04-06 12:39:58 +00:00
MuhammedKalkan e1265aefdd Version updated to: 6.4.14 2023-04-03 18:25:56 +00:00
MuhammedKalkan 59e0d047cb Version updated to: 6.4.13 2023-04-01 01:41:15 +00:00
MuhammedKalkan a49df3890e Version updated to: 6.4.12 2023-03-31 12:42:14 +00:00
MuhammedKalkan 0ea6c64f32 Version updated to: 6.4.11 2023-03-27 13:49:39 +00:00
MuhammedKalkan b16de96f2a Version updated to: 6.4.10 2023-03-22 18:28:02 +00:00
Muhammed Kalkan 0738110e12
Update main.yml 2023-03-17 21:32:17 +03:00
MuhammedKalkan ecfdd70eb2 Version updated to: 6.4.7 2023-03-17 18:27:58 +00:00
Muhammed Kalkan d7dd484f39
Merge pull request #135 from MuhammedKalkan/fix-build-error
Fix npmrc file and build commands
2023-03-16 11:47:51 +03:00
Muhammed b9a2e4871a Fix path 2023-03-16 11:21:08 +03:00
Muhammed c7fa4c2e9e Fix npmrc file and build commands 2023-03-16 11:17:26 +03:00
MuhammedKalkan 0c24991f21 Version updated to: 6.5.0-alpha.3 2023-03-15 18:29:45 +00:00
MuhammedKalkan 7c19442866 Version updated to: 6.5.0-alpha.2 2023-03-15 01:47:19 +00:00
MuhammedKalkan 885d105946 Version updated to: 6.5.0-alpha.1 2023-03-14 15:57:32 +00:00
MuhammedKalkan 99493f1f0a Version updated to: 6.4.6 2023-03-09 12:48:46 +00:00
MuhammedKalkan 2124ec74d0 Version updated to: 6.4.5 2023-03-08 14:58:13 +00:00
MuhammedKalkan 2f8d579856 Version updated to: 6.4.4 2023-03-07 18:30:45 +00:00
MuhammedKalkan 901f3fff57 Version updated to: 6.4.3 2023-03-07 02:03:38 +00:00
MuhammedKalkan bc2f587807 Version updated to: 6.4.2 2023-03-06 12:47:36 +00:00
MuhammedKalkan 1966c0b255 Version updated to: 6.4.1 2023-03-03 18:30:35 +00:00
MuhammedKalkan 95f71026ad Version updated to: 6.4.0 2023-03-01 18:30:47 +00:00
Muhammed Kalkan 205dd5d729
Update README.md 2023-03-01 14:29:34 +03:00
MuhammedKalkan f165f30fdd Version updated to: 6.4.0-beta.17 2023-02-25 01:54:58 +00:00
MuhammedKalkan 651fb9430b Version updated to: 6.4.0-beta.16 2023-02-24 01:52:41 +00:00
MuhammedKalkan 9b0687467f Version updated to: 6.4.0-beta.15 2023-02-23 01:51:53 +00:00
MuhammedKalkan 3ec2eec39f Version updated to: 6.4.0-beta.14 2023-02-22 18:30:17 +00:00
MuhammedKalkan e9b22dc678 Version updated to: 6.4.0-beta.13 2023-02-03 16:15:55 +00:00
jkroepke 494dbb60f9 Version updated to: 6.4.0-beta.12 2023-02-01 23:36:29 +00:00
Muhammed Kalkan d9d863785c
Create stale.yml 2023-01-31 15:10:22 +03:00
Muhammed Kalkan 5bfd4accc9
Merge pull request #116 from virtualex-itv/main
Update README.md
2023-01-30 17:38:59 +03:00
Alex López 87cffb25c8
Update README.md 2023-01-30 09:20:56 -05:00
MuhammedKalkan aa23c86b85 Version updated to: 6.4.0-beta.9 2023-01-30 12:47:26 +00:00
Muhammed Kalkan 7fc7af78d0
Update version 2023-01-30 15:20:13 +03:00
Muhammed Kalkan 960a6054f5
Update README.md 2023-01-30 12:51:54 +03:00
Muhammed Kalkan 804705ab62
Update README.md 2023-01-30 10:22:39 +03:00
Muhammed Kalkan dc28f4e6e6
Merge pull request #114 from lujiajing1126/main
Update hack script to adapt monorepo structure from upstream
2023-01-30 09:41:56 +03:00
Megrez Lu 04d185692d remove ls 2023-01-29 20:20:16 +08:00
Megrez Lu b6defb6220 update action-gh-release 2023-01-29 18:45:16 +08:00
Megrez Lu d211bacf5c fix lates*yaml 2023-01-29 18:44:10 +08:00
Megrez Lu 0048e42e30 remove ls 2023-01-29 18:38:33 +08:00
Megrez Lu a0f59473f2 fix workdir 2023-01-29 18:13:43 +08:00
Megrez Lu 1f8cc2139b hack for multiarch build 2023-01-29 17:45:06 +08:00
Megrez Lu 389a75b3a8 remove dependence on the EXTRA env 2023-01-29 16:15:04 +08:00
Megrez Lu 8729abbcf8 run build before run build:app 2023-01-29 15:01:11 +08:00
Megrez Lu 71fc287e56 avoid copy update.js and fix dist dir 2023-01-29 14:05:36 +08:00
Megrez Lu 6fd8e8d4cb use checkout@v3 to check upstream source and fix update.js 2023-01-29 13:52:31 +08:00
MuhammedKalkan d0046a87e9 Version updated to: 6.4.0-beta.9 2023-01-27 18:27:53 +00:00
MuhammedKalkan c19666fc56 Version updated to: 6.4.0-beta.6 2023-01-27 01:52:26 +00:00
Muhammed Kalkan 256731df94
Update main.yml 2023-01-26 21:59:49 +03:00
Muhammed Kalkan 5a82210195
Update main.yml 2023-01-26 21:55:11 +03:00
Muhammed Kalkan fa3e264357
Update update.js 2023-01-26 21:45:25 +03:00
MuhammedKalkan 7578dced4b Version updated to: 6.4.0-beta.5 2023-01-26 18:28:27 +00:00
MuhammedKalkan 3c306523f8 Version updated to: 6.4.0-alpha.4 2023-01-19 18:29:49 +00:00
MuhammedKalkan 20dd4894ea Version updated to: 6.3.0 2023-01-17 18:28:38 +00:00
MuhammedKalkan 1e654d6911 Version updated to: 6.4.0-alpha.3 2023-01-14 01:43:53 +00:00
MuhammedKalkan a6c8a92643 Version updated to: 6.4.0-alpha.2 2023-01-11 20:13:50 +00:00
Muhammed Kalkan b644c344d1
Merge pull request #90 from atsu85/patch-1
Add installation notes for linux
2023-01-03 17:46:09 +03:00
Ats Uiboupin b90c9fd0ef
Add installation notes for linux
Closes #89
2023-01-03 14:35:21 +02:00
Muhammed Kalkan 94567ab744
Update README.md 2023-01-01 20:47:54 +03:00
Muhammed Kalkan 25be590b8b
Update check.yml 2022-12-22 08:07:54 +03:00
MuhammedKalkan f01b3cefe3 Version updated to: 6.3.0 2022-12-22 05:02:55 +00:00
MuhammedKalkan 85f6e1e212 Version updated to: 2022-12-22 01:45:13 +00:00
Muhammed Kalkan c5d2196392
Update check.yml 2022-12-21 21:33:25 +03:00
MuhammedKalkan f5efe0651f Version updated to: 6.3.0 2022-12-21 18:32:10 +00:00
MuhammedKalkan b041792ef9 Version updated to: 2022-12-21 18:28:23 +00:00
MuhammedKalkan 6a8174823a Version updated to: 6.2.5 2022-12-21 06:28:46 +00:00
MuhammedKalkan 6284a110e7 Version updated to: 2022-12-21 01:42:54 +00:00
MuhammedKalkan b647a8d651 Version updated to: 6.2.5 2022-12-20 06:43:41 +00:00
MuhammedKalkan b894351931 Version updated to: 2022-12-20 06:29:58 +00:00
Muhammed Kalkan d4b48fb9e5
Merge pull request #77 from MuhammedKalkan/revert-76-windows-msi
Revert "Windows builds MSI file"
2022-12-15 12:58:42 +03:00
Muhammed Kalkan dc31c1400b
Revert "Windows builds MSI file" 2022-12-15 12:58:33 +03:00
Muhammed Kalkan 58e13820b9
Merge pull request #76 from gdlx/windows-msi
Windows builds MSI file
2022-12-15 12:28:47 +03:00
Gauthier Delacroix 58f59debd9 Windows builds MSI file 2022-12-15 09:55:24 +01:00
Muhammed Kalkan 3d8f2ec657
Update main.yml 2022-12-15 11:50:15 +03:00
Muhammed Kalkan ab745bab0d
Merge pull request #75 from MuhammedKalkan/revert-74-windows-msi
Revert "Windows builds MSI file"
2022-12-15 09:02:19 +03:00
Muhammed Kalkan e3bff48668
Revert "Windows builds MSI file" 2022-12-15 09:02:10 +03:00
Muhammed Kalkan 2ab47a0819
Merge pull request #74 from gdlx/windows-msi
Windows builds MSI file
2022-12-15 08:20:47 +03:00
Gauthier Delacroix 3667498565 Windows builds MSI file 2022-12-14 11:18:47 +01:00
Muhammed Kalkan 89c5ebccd7
Update main.yml 2022-12-14 08:35:53 +03:00
Muhammed Kalkan 70931a4063
Merge pull request #73 from MuhammedKalkan/ebbypeter-patch-1
Add Winget installation steps
2022-12-14 08:33:42 +03:00
MuhammedKalkan b0620e3885 Version updated to: 6.2.5 2022-12-14 05:33:18 +00:00
Muhammed Kalkan 4313042585
Update check.yml 2022-12-14 08:31:49 +03:00
MuhammedKalkan 9d0f3821b2 Version updated to: 2022-12-14 01:54:01 +00:00
Ebby Peter 4b9aecbbec
Add Winget installation steps
OpenLens can be installed using Winget. 
Adding the commands to make it easier for users to discover
2022-12-14 12:21:30 +13:00
Muhammed Kalkan 064ce92cc9
Update main.yml 2022-12-07 09:14:32 +03:00
MuhammedKalkan 404da92607 Version updated to: 6.2.5 2022-12-07 01:55:57 +00:00
Muhammed Kalkan af84aff153
Update README.md 2022-11-30 18:42:04 +03:00
MuhammedKalkan fca6ccfde2 Version updated to: 6.2.4 2022-11-30 15:32:41 +00:00
Muhammed Kalkan ab4d6557ef
Update README.md 2022-11-28 14:13:33 +03:00
Muhammed Kalkan edcf6bf113
Update main.yml 2022-11-27 13:11:18 +03:00
Muhammed Kalkan 8250dced8b
Merge pull request #67 from MuhammedKalkan/MuhammedKalkan-patch-1
Show Changelog for ppl who are too lazy to trace back it to source repo
2022-11-27 12:59:49 +03:00
Muhammed Kalkan 4a04d5b336
Update main.yml 2022-11-27 12:05:52 +03:00
Muhammed Kalkan 3a660bc599
Update main.yml 2022-11-27 11:28:54 +03:00
MuhammedKalkan 4955f02db6 Version updated to: 6.2.3 2022-11-25 16:30:39 +00:00
MuhammedKalkan c774ff504b Version updated to: 6.2.2 2022-11-24 16:45:25 +00:00
Muhammed Kalkan bb96a6abba
Merge pull request #65 from MuhammedKalkan/fix-windows-binary-name
Fix windows binary name
2022-11-22 22:16:31 +03:00
Muhammed Kalkan 4dc40be8ab
Update main.yml 2022-11-22 21:47:33 +03:00
Muhammed Kalkan 0ff1c7f2e0
Merge pull request #63 from MuhammedKalkan/Fix-latest-tag-releases
Fix latest tag releases
2022-11-22 17:01:08 +03:00
Muhammed Kalkan fe9ac1a56b
Update main.yml 2022-11-22 16:16:02 +03:00
Muhammed Kalkan 81e4d5afa9
Update main.yml 2022-11-22 14:10:41 +03:00
Muhammed Kalkan aecd9d2c97
Update main.yml 2022-11-22 12:53:46 +03:00
Muhammed Kalkan edd9af5ebd
Update main.yml 2022-11-22 12:13:29 +03:00
Muhammed Kalkan 444f000179
Merge pull request #62 from MuhammedKalkan/fix-missing-builds-files
Fix missing build files
2022-11-22 11:25:20 +03:00
Muhammed Kalkan 8c78ef89a4
Update main.yml 2022-11-22 10:49:15 +03:00
Muhammed Kalkan dccdceba66
Update main.yml 2022-11-22 09:16:54 +03:00
Muhammed Kalkan 67938d0d93
Update main.yml 2022-11-22 08:48:06 +03:00
MuhammedKalkan c6fcbb650b Version updated to: 6.2.1 2022-11-22 02:17:36 +00:00
Muhammed Kalkan 0d76a4ce62
Update README.md 2022-11-20 15:01:27 +03:00
Muhammed Kalkan ba7b9787b0
Update README.md 2022-11-20 09:13:54 +03:00
Muhammed Kalkan 383ed3d661
Update README.md 2022-11-20 09:09:27 +03:00
Muhammed Kalkan 5d6c21498c
Update README.md 2022-11-20 09:09:04 +03:00
Muhammed Kalkan ed0bb009b8
Merge pull request #59 from MuhammedKalkan/windows-code-sign
Closes #4
2022-11-20 08:49:19 +03:00
Muhammed Kalkan deb5e3f900
Update main.yml 2022-11-20 07:57:54 +03:00
Muhammed Kalkan 6f5cbba592
Update main.yml 2022-11-20 00:11:53 +03:00
Muhammed Kalkan ceed87ad07
Update main.yml 2022-11-19 23:26:56 +03:00
Muhammed Kalkan a011edea7f
Update main.yml 2022-11-19 10:23:05 +03:00
Muhammed Kalkan 21ccd93a45
Update main.yml 2022-11-19 09:49:38 +03:00
Muhammed Kalkan beaa792713
Update main.yml 2022-11-19 08:43:16 +03:00
Muhammed Kalkan 3ecd771dc9
Update main.yml 2022-11-18 07:56:52 +03:00
Muhammed Kalkan c49cc7bd54
Update main.yml 2022-11-18 07:18:56 +03:00
Muhammed Kalkan 33e6a8c9f0
Update main.yml 2022-11-17 23:36:54 +03:00
Muhammed Kalkan 3d815757ae
Update main.yml 2022-11-17 23:12:54 +03:00
12 changed files with 259 additions and 152 deletions

View File

@ -1,139 +0,0 @@
name: Build Lens
on:
workflow_dispatch:
push:
branches: [ main ]
paths-ignore:
- '**/README.md'
pull_request:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 360
steps:
- name: Checkout
uses: actions/checkout@v3.0.2
- name: Export version to variable
run: |
export LENS_VERSION=$(cat version)
echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV
shell: bash
- uses: actions/setup-node@v3
with:
node-version: 16.16.0
- name: Update Lens
run: |
git clone https://github.com/lensapp/lens.git
cp update.js lens/update.js
cd lens
git checkout v${{ env.LENS_VERSION }}
node update.js
- name: Build Lens
run: |
mkdir releasefiles
if [ "$RUNNER_OS" == "Windows" ]; then
choco install visualstudio2019buildtools visualstudio2019-workload-vctools
fi
if [ "$RUNNER_OS" == "macOS" ]; then
if [ "${CSC_LINK}" = "" ]; then
unset CSC_LINK
fi
if [ "${CSC_KEY_PASSWORD}" = "" ]; then
unset CSC_KEY_PASSWORD
fi
env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64 --config.dmg.sign=false" make build
for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.dmg; do
if [[ "$file" == *"arm64"* ]]; then
cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.dmg
else
cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.dmg
fi
done
for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.zip; do
if [[ "$file" == *"arm64"* ]]; then
cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.zip
else
cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.zip
fi
done
elif [ "$RUNNER_OS" == "Linux" ]; then
env ELECTRON_BUILDER_EXTRA_ARGS="--x64 --arm64" make build
cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage
cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb
cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm
cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.arm64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.arm64.AppImage
cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.arm64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.arm64.deb
cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.aarch64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.arm64.rpm
else
# Disable code sign on windows
unset CSC_LINK
unset CSC_KEY_PASSWORD
make build
cp dist/OpenLens*.exe releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe
fi
shell: bash
working-directory: lens
env:
APPBUNDLEID: "io.kontena.lens-app"
APPLEID: ${{ secrets.APPLEID }}
APPLEIDPASS: ${{ secrets.APPLEIDPASS }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
- name: Calculate SHA256 checksum
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
certutil -hashfile OpenLens-${{ env.LENS_VERSION }}.exe SHA256 | tee OpenLens-${{ env.LENS_VERSION }}.exe.sha256
else
for filename in OpenLens-${{ env.LENS_VERSION }}*; do shasum -a 256 ${filename} | tee ${filename}.sha256 ; done
fi
shell: bash
working-directory: lens/releasefiles
- uses: actions/upload-artifact@v3
if: github.ref != 'refs/heads/main'
with:
name: OpenLens-${{ matrix.os }}
retention-days: 5
path: |
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.AppImage
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.deb
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.rpm
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256
- name: Release
uses: softprops/action-gh-release@v0.1.14
if: github.ref == 'refs/heads/main'
with:
tag_name: v${{ env.LENS_VERSION }}
files: |
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.AppImage
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.deb
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.rpm
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe
lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256
- name: Latest
uses: softprops/action-gh-release@v0.1.14
if: github.ref == 'refs/heads/main'
with:
tag_name: Latest
files: |
lens/dist/OpenLens*.dmg
lens/dist/OpenLens*.AppImage
lens/dist/OpenLens*.deb
lens/dist/OpenLens*.rpm
lens/dist/OpenLens*.exe
lens/dist/OpenLens*.zip
lens/dist/lates*.yml

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.DS_Store
README.md
/lens/

View File

@ -1,9 +1,15 @@
> [!CAUTION]
> Lens Closed its source code. So please do not expect any more updates.
# OpenLens Build Repo
[![Build Lens](https://github.com/MuhammedKalkan/OpenLens/actions/workflows/main.yml/badge.svg)](https://github.com/MuhammedKalkan/OpenLens/actions/workflows/main.yml)
## Build Repo Only
This is repo **only provides binaries** for the OpenLens repo. For software issues regarding OpenLens or the Lens IDE, go to the [Lens repo](https://github.com/lensapp/lens/issues) and open an issue there.
This repo **ONLY PROVIDES SIGNED BINARIES AND DOES NOT ALTER SOURCE CODE** for the OpenLens repo. For software issues regarding OpenLens or the Lens IDE, go to the [Lens repo](https://github.com/lensapp/lens/issues) and open an issue there.
## Extensions
Starting with 6.3.0 some extensions are removed from Lens. To install these most used extensions simply type **@alebcay/openlens-node-pod-menu** into the Extensions page in the OpenLens menu and it should install automatically. If you see the extension rapidly toggling between `enabled` and `disabled`, restart OpenLens and enable it in the Extension page.
For sources please refer [here](https://www.npmjs.com/package/@alebcay/openlens-node-pod-menu)
## Overview
@ -32,8 +38,36 @@ Go to [Releases](https://github.com/MuhammedKalkan/OpenLens/releases) and downlo
```
brew install --cask openlens
```
### Linux
Download and install appropriate package
(`.rpm`, `.deb` or `.AppImage`)
and install based on available package manager.
### Windows
#### Scoop
```
scoop bucket add extras
scoop install openlens
```
#### Winget
```
winget install openlens
```
#### Chocolatey
```
choco install -y openlens
```
For alpha/beta builds:
```
choco install -y openlens --pre
```
## Thanks
Big Thanks to
[Ebby Peter](https://github.com/ebbypeter)
,
[Xaver Lohmüller](https://github.com/xavierLowmiller)
and those who all supported to raise funds, for their contributions to sign the app for the community

View File

@ -0,0 +1,17 @@
const archMap = {
"amd64": "x86_64",
"arm64": "aarch64",
}
module.exports = async (buildContext) => {
if (buildContext.platform.name !== "linux") return true
if (buildContext.arch in archMap) {
process.env.CC = `${archMap[buildContext.arch]}-linux-gnu-gcc`
process.env.CXX = `${archMap[buildContext.arch]}-linux-gnu-g++`
} else {
process.env.CC = "gcc"
process.env.CXX = "g++"
}
return true
}

61
github/stale.yml Normal file
View File

@ -0,0 +1,61 @@
# Configuration for probot-stale - https://github.com/probot/stale
# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 60
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 7
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels: []
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- pinned
- security
- "[Status] Maybe Later"
# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false
# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: false
# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: false
# Label to use when marking as stale
staleLabel: wontfix
# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when removing the stale label.
# unmarkComment: >
# Your comment here.
# Comment to post when closing a stale Issue or Pull Request.
# closeComment: >
# Your comment here.
# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30
# Limit to only `issues` or `pulls`
# only: issues
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
# pulls:
# daysUntilStale: 30
# markComment: >
# This pull request has been automatically marked as stale because it has not had
# recent activity. It will be closed if no further activity occurs. Thank you
# for your contributions.
# issues:
# exemptLabels:
# - confirmed

View File

@ -10,15 +10,14 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3.0.2
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }}
- name: Get the latest version of Lens
run: |
curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r 'select(.prerelease == false) | .tag_name[1:]' > version
export LENS_VERSION=$(cat version)
echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV
curl -s https://api.github.com/repos/lensapp/lens/releases | jq -r '[.[] | select(.prerelease == false)][0] | .tag_name[1:]' > version
echo "LENS_VERSION=$(cat version)" >> $GITHUB_ENV
- name: Add & Commit
uses: EndBug/add-and-commit@v9.0.0
uses: EndBug/add-and-commit@v9.1.1
with:
message: 'Version updated to: ${{ env.LENS_VERSION }}'

120
github/workflows/main.yml Normal file
View File

@ -0,0 +1,120 @@
name: Build Lens
on:
workflow_dispatch:
push:
branches: [main]
paths-ignore:
- "**/README.md"
pull_request:
jobs:
build:
strategy:
matrix:
os: [ ubuntu-20.04, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
timeout-minutes: 360
env:
BUILD_ID: ${{ github.run_number }}
steps:
- name: Checkout OpenLens
uses: actions/checkout@v3
- name: Export version to variable
run: echo "LENS_VERSION=$(cat version)" >> $GITHUB_ENV
shell: bash
- uses: actions/setup-node@v3
with:
node-version: "16.x"
- name: Checkout Upstream Lens
uses: actions/checkout@v3
with:
repository: lensapp/lens
path: lens
ref: v${{ env.LENS_VERSION }}
fetch-depth: 1
- name: Patch Upstream Lens
run: node update.js
- name: Build Lens
run: |
npm run all:install
# Avoid npm install from electron-builder
# ref: https://github.com/electron-userland/electron-builder/blob/80a3ae857b9305aff1774e1b2b932601af50231b/packages/app-builder-lib/src/util/yarn.ts#L11-L16
mkdir -p open-lens/node_modules
if [ "${CSC_LINK}" = "" ] || [ "${CSC_KEY_PASSWORD}" = "" ]; then
unset CSC_LINK
unset CSC_KEY_PASSWORD
fi
if [ "$RUNNER_OS" == "Windows" ]; then
npx nx run open-lens:build:app --win nsis msi portable
elif [ "$RUNNER_OS" == "Linux" ]; then
sudo apt update
sudo apt install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu -y
npx nx run open-lens:build:app --x64 --arm64
find . -name '*pty.node' -print0 | xargs -0 file
else
npx nx run open-lens:build:app --x64 --arm64
find . -name '*pty.node' -print0 | xargs -0 file
fi
rm -f open-lens/dist/*blockmap{,*}
shell: bash
working-directory: lens
env:
APPBUNDLEID: "io.kontena.lens-app"
APPLEID: ${{ secrets.APPLEID }}
APPLEIDPASS: ${{ secrets.APPLEIDPASS }}
CSC_LINK: ${{ runner.os == 'macos' && secrets.CSC_LINK || secrets.CSC_LINK_WIN }}
CSC_KEY_PASSWORD: ${{ runner.os == 'macos' && secrets.CSC_KEY_PASSWORD || secrets.CSC_KEY_PASSWORD_WIN }}
CSC_LINK_WIN: ${{ secrets.CSC_LINK_WIN }}
CSC_KEY_PASSWORD_WIN: ${{ secrets.CSC_KEY_PASSWORD_WIN }}
WIN_CSC_LINK: ${{ secrets.CSC_LINK_WIN }}
WIN_CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD_WIN }}
CSC_FOR_PULL_REQUEST: true
DOWNLOAD_ALL_ARCHITECTURES: ${{ runner.os != 'Windows' }}
- name: Calculate SHA256 checksum
run: |-
if command -v shasum 2>/dev/null 1>&2; then
for filename in OpenLens*; do shasum -a 256 "${filename}" | tee "${filename}.sha256" ; done
else
for filename in OpenLens*; do certutil -hashfile "${filename}" SHA256 | tee "${filename}.sha256" ; done
fi
shell: bash
working-directory: lens/open-lens/dist
- uses: actions/upload-artifact@v3
if: github.ref != 'refs/heads/main'
with:
name: OpenLens-${{ matrix.os }}
retention-days: 5
path: lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_ID }}*.*
- name: Generate Changelog
run: curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r 'select(.prerelease == false) | .body[0:]' > ${{ github.workspace }}-CHANGELOG.txt
- name: Release
uses: softprops/action-gh-release@v0.1.15
if: github.ref == 'refs/heads/main'
with:
tag_name: v${{ env.LENS_VERSION }}-${{ env.BUILD_ID }}
body_path: ${{ github.workspace }}-CHANGELOG.txt
files: lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_ID }}*.*
- name: Latest
uses: softprops/action-gh-release@v0.1.15
if: github.ref == 'refs/heads/main'
with:
tag_name: Latest
files: |
lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_ID }}*.*
#lens/open-lens/dist/lates*.yml

View File

@ -1,12 +1,26 @@
const fs = require('fs');
var packagejson = require('./package.json');
const packageJsonOpenLens = require('./lens/open-lens/package.json');
packagejson.build.publish = [{
packageJsonOpenLens.build.publish = [{
url: "https://github.com/MuhammedKalkan/OpenLens/releases/download/Latest",
provider: "generic"
}];
packagejson.build.win.artifactName = "OpenLens.Setup.${version}.${ext}";
packageJsonOpenLens.version = `${packageJsonOpenLens.version}-${process.env.BUILD_ID}`;
packageJsonOpenLens.build.npmRebuild = true;
packageJsonOpenLens.build.detectUpdateChannel = false;
packageJsonOpenLens.build.beforeBuild = '../../build-hooks/beforeBuild';
fs.writeFileSync('package.json', JSON.stringify(packagejson));
delete packageJsonOpenLens.scripts.postinstall;
packageJsonOpenLens.copyright = [
packageJsonOpenLens.copyright,
'',
'Binary application builds @ MuhammedKalkan/OpenLens',
'by Muhammed Kalkan, Jan-Otto Kröpke, Ebby Peter, Xaver Lohmüller'
].join("\r\n")
console.log(`Set build version: ${packageJsonOpenLens.version}`)
fs.writeFileSync('./lens/open-lens/package.json', JSON.stringify(packageJsonOpenLens, null, 2));

View File

@ -1 +1 @@
6.2.0
2024.1.300751-latest