Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3018 commits
Select commit Hold shift + click to select a range
e90ac8b
Merge remote-tracking branch 'public/fix-symlink-mounting' into base-…
Sploder12 Nov 27, 2024
6abe129
[smb] Fix failing tests
Sploder12 Nov 26, 2024
320fceb
[cpack] filter out "ci" from version string
sharder996 Nov 28, 2024
8a5fb2e
Merge pull request #691 from canonical/fix-symlink-mounting
ricab Nov 28, 2024
4b0c616
Merge pull request #693 from canonical/filter-msi-version-str
ricab Nov 28, 2024
ca40567
Merge pull request #692 from canonical/force-stop-daemon
georgeliao Nov 28, 2024
9ec3292
[hyperv][unit test] fixed the failed unit tests which was incurred by…
georgeliao Nov 28, 2024
3300e7e
Merge remote-tracking branch 'public/main' into full
ricab Nov 28, 2024
b2d34a1
[hyperv] applied the top_catch_all wrapper to hyper destructor to pre…
georgeliao Nov 29, 2024
7ec4d3b
[virtualbox] apply the top_catch_all to the virtualbox destructor.
georgeliao Nov 29, 2024
d9d37b0
[hyperv][virtualbox] changed the category to vm_name
georgeliao Nov 29, 2024
90a6c8e
Merge pull request #676 from canonical/clone_polishing
ricab Nov 29, 2024
1b90519
Merge remote-tracking branch 'public/main' into full
ricab Nov 29, 2024
cf6073a
Merge remote-tracking branch 'public/main' into full
ricab Nov 29, 2024
51bc5cb
Update lukka/get-cmake action to v3.31.0
renovate[bot] Dec 2, 2024
ef79d42
Merge remote-tracking branch 'public/issues/3739' into base-issues-3739
ricab Dec 2, 2024
1d5e0b7
[osx] Move backend checks to compile time
ricab Nov 28, 2024
31a8647
Merge remote-tracking branch 'public/main' into full
andrei-toterman Dec 3, 2024
62dab4b
Merge pull request #695 from canonical/issues/3739
ricab Dec 3, 2024
1341afc
Merge remote-tracking branch 'public/main' into full
ricab Dec 3, 2024
09c2c3d
Merge remote-tracking branch 'public/main' into full
ricab Dec 4, 2024
e0f4231
Merge pull request #667 from canonical/renovate/lukka-get-cmake-3.x
andrei-toterman Dec 5, 2024
cfac6a4
[ci] macos-12 is deprecated, so update to 13 for combining packages
andrei-toterman Dec 5, 2024
a1b501f
[macOS] Require macOS 13 as minimum version
ricab Dec 5, 2024
7d72289
Merge pull request #697 from canonical/publish-on-macos-13
ricab Dec 5, 2024
ff9f7c1
[ci] try to get windows adk with winget
andrei-toterman Dec 5, 2024
a933e88
Merge pull request #698 from canonical/wiget-windows-adk
ricab Dec 5, 2024
19b2158
Merge remote-tracking branch 'public/check-whitespace' into base-chec…
ricab Dec 9, 2024
94964b4
[format] Fix missing newline in rtf file
ricab Dec 9, 2024
f9542c2
[ci] Generalize action name
ricab Dec 9, 2024
f809951
Merge remote-tracking branch 'public/main' into full
Sploder12 Dec 9, 2024
9afe018
Merge remote-tracking branch 'public/main' into full
andrei-toterman Dec 10, 2024
19651e4
Merge pull request #701 from canonical/check-whitespace
andrei-toterman Dec 10, 2024
1230474
Merge remote-tracking branch 'public/fix-console-creation-logic' into…
Sploder12 Dec 10, 2024
720a4e9
[win] Fix console creation
Sploder12 Dec 9, 2024
f28caf4
Merge remote-tracking branch 'public/main' into full
ricab Dec 11, 2024
d5b055d
Merge remote-tracking branch 'public/main' into full
andrei-toterman Dec 12, 2024
348a986
Merge remote-tracking branch 'public/main' into full
andrei-toterman Dec 13, 2024
4684ec0
Merge remote-tracking branch 'public/main' into full
ricab Dec 16, 2024
663e085
Merge remote-tracking branch 'public/main' into full
andrei-toterman Dec 16, 2024
d5c2d0d
Update lukka/get-cmake action to v3.31.2
renovate[bot] Dec 16, 2024
7d539cd
Merge pull request #704 from canonical/renovate/lukka-get-cmake-3.x
andrei-toterman Dec 17, 2024
c23026d
Merge branch 'main' into full
ricab Dec 18, 2024
5429b30
Merge pull request #702 from canonical/fix-console-creation-logic
ricab Dec 18, 2024
b03afde
[gui] specify gui version as cli arg on mac
andrei-toterman Dec 3, 2024
46566c1
[gui] specify gui version as cli arg on win
andrei-toterman Dec 3, 2024
371de52
Merge pull request #696 from canonical/automatic-gui-version
sharder996 Dec 18, 2024
ace4a20
Replace multipass.run with canonical.com/multipass
ricab Dec 12, 2024
819c7ce
Replace remaining occurrences of multipass.run
ricab Dec 12, 2024
04b7bed
Merge pull request #703 from canonical/update-url
sharder996 Dec 18, 2024
62816a7
[ci] get windows adk with choco instead of winget
andrei-toterman Dec 18, 2024
2951a8e
[cmake] sync cmake req with project level cmake
sharder996 Dec 18, 2024
e60e185
[packaging] verify the validity of signature on top of checking for s…
sharder996 Dec 18, 2024
225636d
Merge remote-tracking branch 'public/main' into full
ricab Dec 18, 2024
170bd80
Merge pull request #707 from canonical/choco-windows-adk
ricab Dec 18, 2024
22b3ae5
Merge remote-tracking branch 'public/main' into full
ricab Jan 8, 2025
65f1fb2
Merge remote-tracking branch 'public/main' into full
Sploder12 Jan 14, 2025
8056b28
Merge remote-tracking branch 'public/daemon-cpu-disk-usage' into daem…
levkropp Jan 15, 2025
7e46c53
implement get_cpus and get_total_ram in platform_win.cpp
levkropp Jan 13, 2025
f882abb
Merge remote-tracking branch 'private/daemon-cpu-disk-usage' into full
ricab Jan 16, 2025
b1b70b9
Merge remote-tracking branch 'public/main' into full
ricab Jan 16, 2025
d513d74
Merge remote-tracking branch 'public/update-libssh' into base-update-…
Sploder12 Jan 17, 2025
b642945
[ssh] Update windows watchdog to handle thread exit
Sploder12 Oct 18, 2024
54a08c4
[ssh] Fix win watchdog lambda
Sploder12 Oct 18, 2024
6fb3b64
[sshfs] Fix windows watchdog not intercepting SIGINT
Sploder12 Nov 6, 2024
72d4574
[Windows] Address PR review comments
Sploder12 Jan 16, 2025
c6cfdf8
[win] Fix the cursor color on Windows Terminal
ricab Dec 18, 2024
ccdb0a3
Merge pull request #672 from canonical/update-libssh
ricab Jan 20, 2025
519aa15
Merge remote-tracking branch 'public/main' into full
ricab Jan 20, 2025
52caf37
[win] Patch existing profiles too
ricab Jan 20, 2025
36567be
[win] Fix WT tests
ricab Jan 20, 2025
73fd1b5
Merge pull request #710 from canonical/fix-cursor-color-wt
sharder996 Jan 21, 2025
296966f
Update lukka/get-cmake action to v3.31.5
renovate[bot] Jan 24, 2025
e692fc6
Merge remote-tracking branch 'public/main' into full
Sploder12 Jan 24, 2025
1277c6b
Merge remote-tracking branch 'public/fix-platform-specific-functions-…
Sploder12 Jan 24, 2025
d2b4bce
[win] Remove chmod
Sploder12 Nov 18, 2024
5bb43aa
[win] Set DOS permissions too
Sploder12 Nov 18, 2024
c606da0
Fix stray setPermissions call
Sploder12 Dec 18, 2024
808f377
Fix stray setPermissions in macOS tests
Sploder12 Dec 18, 2024
c39363f
[macOS] Fix a test
Sploder12 Dec 19, 2024
270de64
[win] Update to std permissions
Sploder12 Jan 6, 2025
637ff22
[macOS] Change Qt permissions to std in platform_osx
Sploder12 Jan 7, 2025
4193e03
[macOS] Fix permission function in test
Sploder12 Jan 8, 2025
454b87e
[Windows] Replace _strdup with std string
Sploder12 Jan 21, 2025
9c710aa
[Windows] Use data instead of c_str (for LPSTR)
Sploder12 Jan 22, 2025
d57643b
Merge remote-tracking branch 'private/fix-platform-specific-functions…
ricab Jan 27, 2025
baa5146
Merge remote-tracking branch 'public/main' into full
ricab Jan 27, 2025
d951384
Merge pull request #712 from canonical/renovate/lukka-get-cmake-3.x
xmkg Jan 31, 2025
b9daac1
Merge remote-tracking branch 'public/main' into full
georgeliao Feb 7, 2025
37c7a1b
Merge remote-tracking branch 'public/main' into full
ricab Feb 7, 2025
5424e73
Merge remote-tracking branch 'public/main' into full
ricab Feb 12, 2025
eb1bd4d
Merge pull request #708 from canonical/verify-sign-validity
ricab Feb 14, 2025
01637c2
Merge remote-tracking branch 'public/main' into full
Sploder12 Feb 20, 2025
e5553d4
Update canonical/has-signed-canonical-cla action to v2
renovate[bot] Feb 24, 2025
63fffb4
Merge pull request #721 from canonical/renovate/canonical-has-signed-…
levkropp Feb 25, 2025
f30fd57
Merge remote-tracking branch 'public/main' into full
xmkg Mar 4, 2025
eb9e209
Merge remote-tracking branch 'public/main' into full
xmkg Mar 7, 2025
1f50332
Merge remote-tracking branch 'public/main' into full
xmkg Mar 10, 2025
4540219
Merge remote-tracking branch 'public/main' into full
xmkg Mar 11, 2025
065b8db
[BUILD.windows.md]: Add instructions for using VS Developer PowerShel…
xmkg Jan 31, 2025
6bbb63c
Merge remote-tracking branch 'public/main' into full
xmkg Mar 11, 2025
ef4de83
Update lukka/get-cmake action to v3.31.6
renovate[bot] Mar 11, 2025
0a67d67
Merge pull request #718 from canonical/enhancement/alternate-windows-…
ricab Mar 11, 2025
d2e22b9
Merge pull request #728 from canonical/renovate/lukka-get-cmake-3.x
Sploder12 Mar 12, 2025
6d570f2
[Actions] rename "Install specific cmake" to "Install cmake"
Sploder12 Mar 12, 2025
18d0a8a
Merge pull request #731 from canonical/rename-gha-cmake-windows-step
ricab Mar 13, 2025
8990a32
Merge remote-tracking branch 'public/main' into full
xmkg Mar 19, 2025
b4c0094
Merge remote-tracking branch 'public/enhancement/replace-cstring-with…
xmkg Mar 21, 2025
30de4e9
[logging] make the required changes for windows EventLogger
xmkg Mar 7, 2025
550d067
Merge pull request #727 from canonical/enhancement/replace-cstring-wi…
ricab Mar 21, 2025
7824278
Merge remote-tracking branch 'public/main' into full
ricab Mar 21, 2025
5488018
[process/win] re-implement graceful shutdown of process
xmkg Mar 21, 2025
3db0533
[process/win] move windows specific code to WindowsProcess.
xmkg Mar 26, 2025
da7262e
[test/assert] fixed Windows debug build test/assert problems
xmkg Mar 26, 2025
62db2c3
Merge remote-tracking branch 'public/main' into full
Sploder12 Mar 26, 2025
8d739e2
Merge remote-tracking branch 'public/change-permissions-on-instances'…
Sploder12 Mar 26, 2025
c90d449
[win] Implement set_root_as_owner for windows
Sploder12 Oct 4, 2024
2af413d
[win] Fix some failing tests
Sploder12 Oct 8, 2024
a48f57e
[win] Fix setting owner and permission inheritance
Sploder12 Oct 10, 2024
d35758e
[win] Update to take_ownership
Sploder12 Dec 4, 2024
40c827c
[win] Change to std path
Sploder12 Jan 7, 2025
57dd674
[win] Implement inheritance
Sploder12 Jan 7, 2025
84fa8c6
[win] Fake implement setup_permission_inheritance
Sploder12 Jan 7, 2025
12e02f4
[win] Fix use-after-free in permission setting
Sploder12 Jan 8, 2025
3e4f4ed
[win] Fix takeown (#3866)
Sploder12 Jan 9, 2025
fb8a96c
[Windows] Replace free with std string
Sploder12 Jan 21, 2025
7d3c648
[Windows] Use WinAPI for takeown
Sploder12 Feb 10, 2025
dab647a
[Windows] Preserve HyperV ACEs
Sploder12 Mar 25, 2025
1c0ea60
Merge pull request #736 from canonical/change-permissions-on-instances
ricab Mar 27, 2025
5ccc3e3
Merge remote-tracking branch 'public/main' into full
ricab Mar 27, 2025
7fadba7
Merge remote-tracking branch 'public/standard_grpc_mTLS' into base-st…
georgeliao Mar 27, 2025
3251b86
[platform] added the windows root_cert_path storage location.
georgeliao Feb 7, 2025
662a6f3
[platform] added mac os root certificate path.
georgeliao Feb 7, 2025
db4b5e7
[platform][windows] fixed the windows storage location.
georgeliao Feb 10, 2025
ce70954
[platform][macos] fixed the root certificate sharing directory.
georgeliao Feb 11, 2025
e64ce30
[platform][windows] fixed the windows root certificate path.
georgeliao Feb 11, 2025
3a267ce
[uninstall][macos] added root certificate removal in the case of user…
georgeliao Feb 12, 2025
94eb0a5
[platform][windows] use a shared folder to store the root certificate…
georgeliao Feb 12, 2025
4cae58c
[packaging] added the removal of folder C:\Program Files\Common Files…
georgeliao Feb 13, 2025
38ce3c1
[macos][build doc] update required openssl version to 3, because of t…
georgeliao Feb 13, 2025
57f8ab7
[platform win] changed the root cert storage back to certificates fol…
georgeliao Mar 3, 2025
0f83d66
Revert "[packaging] added the removal of folder C:\Program Files\Comm…
georgeliao Mar 3, 2025
228de36
Merge pull request #719 from canonical/standard_grpc_mTLS
ricab Mar 31, 2025
00b94b6
Merge remote-tracking branch 'public/main' into full
ricab Mar 31, 2025
603ad3e
Merge remote-tracking branch 'public/main' into full
georgeliao Apr 3, 2025
3839333
Merge remote-tracking branch 'public/main' into full
ricab Apr 7, 2025
e862331
Update lukka/get-cmake action to v4
renovate[bot] Apr 7, 2025
a84fee8
Merge pull request #741 from canonical/renovate/lukka-get-cmake-4.x
ricab Apr 7, 2025
45aed59
Merge remote-tracking branch 'public/skip-linux-ci-on-unrelated'
ricab Apr 8, 2025
2d93182
Merge remote-tracking branch 'public/main' into full
xmkg Apr 9, 2025
1b0f1ab
Merge pull request #742 from canonical/skip-linux-ci-on-unrelated
ricab Apr 9, 2025
e0d553e
Merge remote-tracking branch 'public/main' into full
ricab Apr 9, 2025
4bb653e
Merge pull request #733 from canonical/enhancement/child-process-grac…
xmkg Apr 9, 2025
0ac8e74
Merge remote-tracking branch 'public/main' into full
xmkg Apr 11, 2025
ce96660
[gh/wf/windows-macos] upgrade install-qt-action to v4
xmkg Apr 16, 2025
36f1b40
Merge remote-tracking branch 'public/main' into full
ricab Apr 17, 2025
c088304
Merge remote-tracking branch 'public/revert-3993-skip-linux-ci-on-unr…
ricab Apr 17, 2025
6c91b15
Merge pull request #745 from canonical/enhancement/workflows-install-…
xmkg Apr 18, 2025
9d05b02
Update lukka/get-cmake action to v4.0.1
renovate[bot] Apr 21, 2025
aae11b0
Merge pull request #748 from canonical/renovate/lukka-get-cmake-4.x
xmkg Apr 21, 2025
92ed6f5
Merge pull request #747 from canonical/revert-3993-skip-linux-ci-on-u…
ricab Apr 21, 2025
79c72fa
Merge remote-tracking branch 'public/main' into full
ricab Apr 21, 2025
85d4d39
Merge remote-tracking branch 'public/main' into full
ricab Apr 22, 2025
9189df5
Merge remote-tracking branch 'public/enhancement/migrate-fmt-to-vcpkg…
xmkg Apr 24, 2025
5394518
[3rd-party/vcpkg] CMakeLists.txt changes for the private side
xmkg Mar 4, 2025
b96aabf
Merge pull request #729 from canonical/enhancement/migrate-fmt-to-vcpkg
ricab Apr 24, 2025
bbffb91
Merge remote-tracking branch 'public/main' into full
ricab Apr 24, 2025
fd5d597
Merge remote-tracking branch 'public/main' into full
ricab May 5, 2025
6856948
Merge remote-tracking branch 'private/full' into merger-base
ricab May 5, 2025
c559146
[ci] Continue triggering workflows as in `main`
ricab Dec 21, 2024
80316bf
[ci] Remove bogus environment line from `full`
ricab Dec 21, 2024
c57ca22
[cmake] Remove VirtualBox backend from Linux
ricab Dec 21, 2024
f27997d
[various] Revert to `main` in a few small respects
ricab Dec 21, 2024
6f65870
[format] Fix white space errors
ricab Jan 8, 2025
b7bf1e2
[format] Remove carriage returns from licence file
ricab Jan 8, 2025
7ef06d2
[format] Fix formatting on new files
ricab Jan 8, 2025
a0bc74b
[linux] Fix HOST_ARCH define on Linux build
ricab Jan 10, 2025
a3edacd
[platform] Unlock blueprint URL overriding
ricab Jan 22, 2025
6fc37ad
Merge pull request #711 from canonical/merge-full
ricab Apr 22, 2025
7b5278a
[tests] Remove obsolete tests for blueprints URL
ricab Jan 22, 2025
45dcff3
[tests] Adapt remaining tests to removed function
ricab Jan 22, 2025
1db73c9
[config] Replace UTF-16 unfriendly `qgetenv`
ricab Jan 22, 2025
ba965b1
[config] Extract constant for environment variable
ricab Jan 22, 2025
5a0d8c0
[platform] Unlock alias, remote, and URL support
ricab Jan 22, 2025
e4cdd26
[platform] Remove unlock code
ricab Jan 22, 2025
90565ca
[platform] Remove feature-lock-checking functions
ricab Jan 23, 2025
99426d5
[tests] Adapt or remove locked-feature tests
ricab Jan 23, 2025
a611436
[except] Remove obsolete exceptions
ricab Jan 23, 2025
f4f834c
[image-hosts] Remove a couple of leftovers
ricab Jan 23, 2025
2804146
[vault] Remove obsolete unlock parameter
ricab Jan 23, 2025
4cc8101
[platform] Remove now useless platform_shared.h
ricab Jan 23, 2025
d6cadea
[platform] Remove platform_proprietary.h
ricab Jan 24, 2025
ad7c433
[image-hosts] Extract a remote accessor
ricab Jan 24, 2025
9237002
[image-hosts] Relocate snapcraft image filtering
ricab Jan 24, 2025
666d2fe
[image-hosts] Drop obsolete include
ricab Jan 24, 2025
f8ba489
[config] Improve snapcraft image filtering
ricab Jan 24, 2025
6cce687
[image-hosts] Revert attribute visibility
ricab Jan 24, 2025
339e319
[image-hosts] Constrain method visibility
ricab Jan 24, 2025
7247448
[image-hosts] Stick to consistent nomenclature
ricab Jan 24, 2025
d80bcba
[image-hosts] Skip excluded images in all_info_for
ricab Jan 24, 2025
3982378
[hyper-v] Un-sparse VHDX images before resizing
ricab Feb 25, 2025
6592d94
[hyper-v] Streamline instance image prep
ricab Feb 25, 2025
251382b
Merge pull request #715 from canonical/unlock-all-features
ricab Apr 8, 2025
82c431c
[hyper-v] Use single PS process to prepare image
ricab Feb 25, 2025
0bbed67
[ci] Homogenize workflow triggers across platforms
ricab Mar 28, 2025
5b252a3
Merge pull request #724 from canonical/fix-file-launch-hyper-v
ricab Apr 8, 2025
3ba32d1
[ci] Always run Lint jobs
ricab Mar 28, 2025
9d1d538
[ci] Extract Lint to a separate workflow
ricab Apr 23, 2025
c32e215
[ci] Skip building on lint-check timeout
ricab Mar 29, 2025
a8e1854
[ci] Fail lint checking on unexpected conclusion
ricab Mar 29, 2025
1a0992c
[ci] Extract check-lint action
ricab Mar 29, 2025
0f5d5c9
[ci] Stop gating windows builds on draft PRs
ricab Mar 27, 2025
a4ebe68
[ci] Improve step description
ricab Mar 27, 2025
615a731
[ci] Improve variable name
ricab Mar 27, 2025
5bd9d9d
[ci] Stop dispatching jobs from public
ricab Apr 1, 2025
08b031d
[ci] Remove integration workflow
ricab Apr 1, 2025
80dd617
[ci] Remove handling for dispatching in private
ricab Apr 1, 2025
0ea9b9b
[ci] Remove integration dispatching from full
ricab Apr 1, 2025
6d39104
[ci] Remove handling for dispatched build label
ricab Apr 1, 2025
95f4cac
[ci] Increase timeout to check for lint result
ricab Apr 1, 2025
cd16b8b
[ci] Skip Coverage outside of the public repo
ricab Apr 9, 2025
90b209e
[ci] Stop publishing windows check on public
ricab Apr 9, 2025
d773fd6
[ci] Stop updating mac checks on public
ricab Apr 9, 2025
bc99db5
[ci] Drop a couple more unused outputs
ricab Apr 10, 2025
9caaee6
[ci] Update job and step names
ricab Apr 10, 2025
a2162bb
[ci] Restrict snap upload to public repo
ricab Apr 11, 2025
f43c604
[ci] Drop obsolete cleanup step
ricab Apr 11, 2025
108e21b
[ci] Improve job and step naming
ricab Apr 11, 2025
d87a280
[ci] Use a standard checkout in mac/win workflows
ricab Apr 11, 2025
60cc6b7
[ci] Drop custom checkout action
ricab Apr 11, 2025
14420e0
[ci] Correct comment
ricab Apr 11, 2025
9b01a9c
[ci] Remove artifact download for repository
ricab Apr 11, 2025
58e3afb
[ci] Remove obsolete HEAD_REF environment variable
ricab Apr 11, 2025
8714bf6
[ci] Remove obsolete cleanup scheduling
ricab Apr 11, 2025
d4ac36c
[ci] Use main instead of full for cache-key
ricab Apr 11, 2025
c26e609
[ci] Improve var naming
ricab Apr 11, 2025
3253cfd
[ci] Split long YAML lines
ricab Apr 11, 2025
52603b5
[ci] Remove obsolete environment variables
ricab Apr 12, 2025
5701149
[ci] Remove obsolete output variable
ricab Apr 14, 2025
cb5fcb1
[ci] Move variable to step's environment
ricab Apr 14, 2025
db1daf8
[ci] Improve job name
ricab Apr 23, 2025
dffc4ea
[ci] Set safer shell options when deriving matrix
ricab Apr 23, 2025
4d97126
Merge pull request #738 from canonical/merge-ci
ricab Apr 24, 2025
aabeceb
[cmake] Abbreviate hash with 8 chars for version
ricab Apr 24, 2025
486f087
[licence] Update mac package with GPL-3.0
ricab Apr 24, 2025
8113570
[licence] Update win package with GPL-3.0
ricab Apr 24, 2025
a49186d
[licence] Reduce font of windows licence file
ricab Apr 24, 2025
35569cc
Merge pull request #751 from canonical/limit-version-size
ricab Apr 28, 2025
2f30447
Merge pull request #750 from canonical/open-source
ricab May 5, 2025
b49e021
[platform] Add doc for platform_proprietary.cpp
ricab May 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/actions/build-params/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,8 @@ runs:
id: build-params
shell: bash
run: |
# Respect build parameters of the dispatch.
if [ ${{ github.event_name }} == "repository_dispatch" ]; then
echo "label=${{ github.event.client_payload.label }}" >> $GITHUB_OUTPUT

# If it's a pull request or `trying` push, annotate with `pr#` and publish to `edge/pr#`.
elif [ ${{ github.event_name }} == "pull_request" ]; then
if [ ${{ github.event_name }} == "pull_request" ]; then
echo "label=pr${{ github.event.number }}" >> $GITHUB_OUTPUT
echo "channel=edge/pr${{ github.event.number }}" >> $GITHUB_OUTPUT

Expand Down
40 changes: 40 additions & 0 deletions .github/actions/check-lint/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: 'Check Lint'
description: 'Waits for and verifies whether the Lint workflow completes successfully'

inputs:
sha:
description: 'The SHA to check for lint results'
required: false
default: ${{ github.event.pull_request.head.sha || github.sha }}

outputs:
conclusion:
description: 'Conclusion of the lint check'
value: ${{ steps.wait-lint.outputs.conclusion }}

runs:
using: 'composite'
steps:
- name: Wait for Lint workflow
uses: fountainhead/action-wait-for-check@v1.2.0
id: wait-lint
with:
token: ${{ github.token }}
checkName: Lint
ref: ${{ inputs.sha }}
timeoutSeconds: 120
intervalSeconds: 5

- name: Fail on timeout
if: ${{ steps.wait-lint.outputs.conclusion == 'timed_out' }}
shell: bash
run: |
echo "##[error] Timed out checking for linting result"
exit 1
- name: Fail on unexpected conclusion
shell: bash
if: ${{ steps.wait-lint.outputs.conclusion != 'success' && steps.wait-lint.outputs.conclusion != 'failure' }}
run: |
echo "##[error] Unexpected conclusion: ${{ steps.wait-lint.outputs.conclusion }}"
exit 1
19 changes: 0 additions & 19 deletions .github/actions/checkout/action.yml
Original file line number Diff line number Diff line change
@@ -1,19 +0,0 @@
name: Checkout
description: Get tags and submodules for the Multipass repository

runs:
using: composite
steps:
- name: Check out submodules
shell: bash
run: |
git submodule sync
# This repository can't do depth.
git -c protocol.version=2 submodule update --init 3rd-party/xz-decoder/xz-embedded
git -c protocol.version=2 submodule update --init --force --depth=1 --recursive
git -C 3rd-party/vcpkg fetch --unshallow

- name: Fetch tags
shell: bash
run: |
git fetch --recurse-submodules origin +refs/tags/*:refs/tags/*
6 changes: 4 additions & 2 deletions .github/actions/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ runs:
set -e -o pipefail
git submodule update --init 3rd-party/flutter
if [ ! -f "3rd-party/flutter/bin/dart" ]; then
echo "##[error] Flutter submodule not initialized. Run 'git submodule update --init 3rd-party/flutter' to fix this issue."
echo -n "##[error] Flutter submodule not initialized. "
echo "Run 'git submodule update --init 3rd-party/flutter' to fix this issue."
exit 1
fi

Expand All @@ -61,6 +62,7 @@ runs:
run: |
set -e -o pipefail
if ! 3rd-party/flutter/bin/dart format --output=none --set-exit-if-changed src/client/gui; then
echo "##[error] Flutter code is not properly formatted. Run '3rd-party/flutter/bin/dart format' to fix formatting."
echo -n "##[error] Flutter code is not properly formatted. "
echo "Run '3rd-party/flutter/bin/dart format' to fix formatting."
exit 1
fi
226 changes: 0 additions & 226 deletions .github/workflows/integration.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Lint

on:
push:
branches:
- main
- release/[0-9]+.[0-9]+
tags:
- v[0-9]+.[0-9]+.[0-9]+
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
merge_group:
types: [checks_requested]

jobs:
Lint:
name: Lint
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Lint the code
uses: ./.github/actions/lint
Loading
Loading