-
-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New updater/installer #1698
Open
vlabo
wants to merge
63
commits into
v2.0
Choose a base branch
from
feature/new-installer
base: v2.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
New updater/installer #1698
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
5002567
[desktop] Minor tauri fixes and improvments
vlabo 9472a1f
[desktop] Add update tauri process README
vlabo 4c340f7
[desktop] Fix all clippy warning. Add clippy to CI.
vlabo 556e5dd
[desktop] tauri remove some global variables.
vlabo abf4446
[WIP] New updater
vlabo 9bae1af
[WIP] New updater first working prototype
vlabo f7abb70
[WIP] Fix SELinux permissions
vlabo 701505a
[WIP] working download and replace.
vlabo 8c6eb04
[desktop] Fix merge issues
vlabo 83ec18f
[WIP] Updater support for windows
vlabo 84a15b5
[WIP] updater rafactoring, minor improvments
vlabo 1a86658
[WIP] Refactoring and bug fixes
vlabo 072d7e6
[WIP] Minor improvments
vlabo b3ff6f1
[WIP] Error and state handleing improvments, better logs
vlabo 89b533f
[WIP] Refactoring
vlabo 1b6ee72
[WIP] Fix edge upgrade edge cases
vlabo 08830f2
[WIP] Fix ui api authentication
vlabo 7cf20b2
[WIP] Remove old code
vlabo c9631da
[WIP] Add update notifications
vlabo 61babe2
[WIP] Add restart command to instance
vlabo f027276
[WIP] Add restart service command for windows
vlabo 97ce3c0
[WIP] Fix uninstaller deletion bug.
vlabo a452f0c
[WIP] Add RecoverIPTables command on linux
vlabo 3411e08
[WIP] Fix cargo clippy lint build
vlabo 8e1f3c0
[WIP] Add CI for building deb,rpm installers
vlabo 71f67a8
[WIP] Improve CI build
vlabo 1942272
[WIP] Improve windows installer build script
vlabo a79be8b
[WIP] Improve downloader resilience
vlabo a8517cd
[WIP] Fix minor bugs
vlabo a874ec9
[WIP] Fix unit tests
vlabo 8b68243
[WIP] Add update from custom url functionality
vlabo 5d9088f
[WIP] Improve bundle generation
dhaavi a1a4bf6
[WIP] Use cobra for updatemgr
dhaavi 02791a4
[WIP] Add fallback on corrupted install
vlabo dd643a2
[WIP] Github workflow for the installers
vlabo a74720b
[WIP] Update release.yml
vlabo 61a5b80
[WIP] Update release workflow
vlabo a7d97fe
[WIP] Update release workflow
vlabo 7a28e40
[WIP] Update release workflow
vlabo 96b1280
[WIP] Fix tauri compile issue
vlabo 2958a0e
[WIP] Trigger release workflow
vlabo 6b45c8a
[WIP] Fix earthly build
vlabo 35cc0c3
[WIP] Fix windows release CI
vlabo 993505b
[WIP] Fix CI artifact upload
vlabo 5127cdb
[WIP] Fix CI build
vlabo 7192d3b
[WIP] Fix windows CI build
vlabo 3502eb2
[WIP] Fix windows CI
vlabo 6be7330
[WIP] Fix windows installer CI
vlabo eb74b6c
[WIP] Fix path of the windows installers
vlabo d6669ff
Remove unpack suffixes when generating an index bundle
dhaavi 68f5bf7
[github] Remove push from release workflow
vlabo d6812bb
[WIP] Remove updater index filename setting
vlabo 68e3746
[WIP] Download real intel data while building
vlabo 0f3f3c3
[WIP] Simplify update system
dhaavi 7bc1c3b
Replace dataroot module with BinDir and DataDir on instance, adapt mo…
dhaavi 1bd3b88
Merge concurrent changes
dhaavi 9f148f9
Improve updater notifications
dhaavi c22814e
Improve start and shutdown controls and flow
dhaavi 34894ea
Add sign command to updatemgr
dhaavi 2d0d711
Improve starting and stopping
dhaavi ddf7ba1
Fix tests and issues
dhaavi 8b1bdc7
WIP
dhaavi f91003d
[service] Move logging to the core, remove pkg level logs
dhaavi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release-prep: | ||
name: Prep | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: earthly/actions-setup@v1 | ||
with: | ||
version: v0.8.0 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Log in to the Container registry | ||
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build all artifacts | ||
run: earthly --remote-cache=ghcr.io/safing/build-cache --push +release-prep | ||
|
||
- name: Upload Dist | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist | ||
path: ./dist/ | ||
if-no-files-found: error | ||
|
||
installer-linux: | ||
name: Installer linux | ||
runs-on: ubuntu-latest | ||
needs: release-prep | ||
steps: | ||
- uses: earthly/actions-setup@v1 | ||
with: | ||
version: v0.8.0 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Log in to the Container registry | ||
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build linux installers | ||
run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +installer-linux | ||
# --ci include --no-output flag | ||
|
||
installer-windows: | ||
name: Installer windows | ||
runs-on: windows-latest | ||
needs: release-prep | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Download Dist | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: dist | ||
path: dist/ | ||
|
||
- name: Build windows artifacts | ||
run: powershell -NoProfile -File ./packaging/windows/generate_windows_installers.ps1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
+tauri-lint Target Missing in Earthfile
The
+tauri-lint
target referenced in.github/workflows/tauri.yml
does not exist in your Earthfile. Please define the+tauri-lint
target with the necessary linting commands to ensure the linting job executes correctly.🔗 Analysis chain
Verify the +tauri-lint target in the Earthfile.
The use of a separate +tauri-lint target for the linting job is a good practice. However, please ensure that this target is properly defined in your Earthfile with the appropriate linting commands.
Run the following script to verify the +tauri-lint target:
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 431
Script:
Length of output: 551