Commit Graph

88 Commits

Author SHA1 Message Date
Evan Simkowitz
db3de47def
Use Zig for Windows and ARM64 Linux (#1713)
I'm making steps to simplify our build dependencies, consolidating our C
compiler requirements so we only depend on Zig.

Before, we used Zig for x64 but not for arm64. This meant that users
using an ARM dev machine would need to install `build-essentials` and
Zig. We also required MinGW-w64 on Windows, which is a pain to install
since it can be provided by a bunch of different tools, the smallest of
which is like a 2GB install.
2025-01-10 15:23:56 -08:00
Ian Jennings
0812c6ac27
TestDriver: Checks + Comments (#1698) 2025-01-10 14:56:20 -08:00
Evan Simkowitz
1ff578b3f5
Remove major bumps from dependabot (#1708) 2025-01-10 11:03:24 -08:00
Evan Simkowitz
e0fe6c6e85
Fix dependabot (#1707)
Attempting to fix timeouts in the npm dependabot runs. I noticed that
some of the exclusion patterns were incomplete
2025-01-10 10:52:09 -08:00
Tarun Kumar S
9c8084a063
remove unused cmd (#1628) 2024-12-25 11:58:43 -05:00
Evan Simkowitz
0f1d138f0e
Allow TestDriver to run on outside contributions (#1622) 2024-12-25 11:16:25 -05:00
Evan Simkowitz
5cfbdcab1a
Separate out Yarn major updates into separate Dependabot groups (#1607)
This is annoyingly verbose, but will let us still get PRs for minor and
patch updates separately from major updates, so we can continue to
benefit from bugfixes without having to adopt breaking changes.

Also adds a jotai update group
2024-12-23 09:59:59 -08:00
Mike Sawka
1b8144f452
ignore coderabbit, update for v0.10.3 (#1585) 2024-12-19 18:45:02 -08:00
Evan Simkowitz
ec4f6c01de
Create workspace will always create a saved workspace (#1509)
Also moves icon and color definitions to the backend and makes it so the
new workspaces get created with a different icon color for each index.

If an ephemeral window has more than one tab, always create a new window
when switching workspaces

Also fixes workspace accelerators on macOS
2024-12-12 17:21:09 -08:00
Evan Simkowitz
7df441a389
Wrap yarn install with retry for Testdriver and Build Helper (#1494)
Yarn Install (specifically the `sharp` builds) are flaky on Windows. I'm
adding a retry around this step to prevent unnecessary failures
2024-12-11 11:33:41 -08:00
Evan Simkowitz
cf9d24a834
Separate Snap publish jobs (#1433)
Separating Snap publish jobs so they can be retried individually
2024-12-09 10:13:41 -08:00
Evan Simkowitz
7d21f55b84
Retry the macOS builds in case of notarize failures (#1428)
The notarize operation is flaky so I'm wrapping it in a retry
2024-12-06 17:26:40 -08:00
Evan Simkowitz
8ec3c3f330
Update Go toolchain to 1.23.4 (#1395)
Because Electron now has a macOS 11 minimum supported version, we have
no blockers to adopting the latest Go toolchain. This also lets us use
the new `range` features in Go, among other things.
2024-12-05 12:13:45 -08:00
Evan Simkowitz
24a1ff3b49
Remove separate docs group in dependabot (#1348)
Until we split up the rest of the codebase into workspaces, having a
separate dependabot group for docsite won't work since the root rule
will always conflict
2024-11-22 12:03:17 -08:00
Evan Simkowitz
c1ac66b358
Try changing the order of dependabot rules to enforce docusaurus as separate groups (#1347) 2024-11-22 11:51:53 -08:00
Evan Simkowitz
59c570ddcf
Hopefully last fix to the winget publish job (#1337) 2024-11-21 14:14:32 -08:00
Evan Simkowitz
7c6fa91016
Fix copyfiles for docsite (#1321) 2024-11-19 14:15:11 -08:00
Evan Simkowitz
159c10ee9b
Run deploy-docsite check when Taskfile is modified (#1307)
Now that deploy-docsite depends on the Taskfile, we need to gate
Taskfile changes on it.
2024-11-15 16:16:12 -08:00
Evan Simkowitz
3b117805fe
Move docsite build scripts to Taskfile, make the electron tasks depend on them (#1298)
This adds the new tasks `docsite:start`, `docsite:build:public`,
`docsite:build:embedded`, `storybook:build`, and `copyfiles:*:*` to
Taskfile.

It also updates the "Build Helper" and "Docsite and Storybook CI/CD"
workflows to use these new tasks.

It also makes the docsite embedded build a dependency of the electron
tasks, ensuring that the embedded docsite is included when building
locally.

Tested and confirms this works on Windows
2024-11-15 12:19:31 -08:00
Evan Simkowitz
e5f98c6475
Update our build workflows to use NodeJS 22 (#1285)
NodeJS 20 is almost EOL so I'm updating our workflows to use NodeJS 22.
This does not change anything about our app, which will still use NodeJS
20 until Electron shifts away from it. NodeJS 22 is fully
backwards-compatible with NodeJS 20 so there's no issue from a testing
standpoint.
2024-11-13 21:06:48 -08:00
Evan Simkowitz
6021ef0fd6
Accept package agreements for winget install (#1271) 2024-11-12 10:37:45 -08:00
Evan Simkowitz
28d95878eb
Set testdriver to not run on unnecessary pushes (#1267) 2024-11-11 16:06:16 -08:00
Evan Simkowitz
b24e2d917d
Use merge-gatekeeper (#1245) 2024-11-08 11:29:25 -08:00
Evan Simkowitz
02c8827483
Add dummy workflow so that deploy-docsite is treated as a status check (#1244) 2024-11-08 11:15:37 -08:00
Evan Simkowitz
e478a86bf5
Remove unnecessary copy (#1220) 2024-11-06 11:59:32 -08:00
Evan Simkowitz
ed8d3c179c
Test relative assets for storybook (#1219) 2024-11-06 11:56:49 -08:00
Evan Simkowitz
437e4e8c6e
Set base url for storybook using env var (#1218) 2024-11-06 11:47:46 -08:00
Evan Simkowitz
b306eab0d8
Consolidate docsite/storybook CI/CD workflows (#1217) 2024-11-06 11:36:08 -08:00
Evan Simkowitz
66675fc3e5
Final assets fix? (#1216) 2024-11-06 11:25:35 -08:00
Evan Simkowitz
ea3e12875d
Copy assets from repo into build output (#1215) 2024-11-06 11:17:47 -08:00
Evan Simkowitz
516029e508
Move storybook-static assets to static root (#1214) 2024-11-06 10:57:40 -08:00
Evan Simkowitz
efd8ad7254
Remove bad working directory for docsite CD (#1212) 2024-11-06 10:48:31 -08:00
Evan Simkowitz
edb3290349
Move docsite to main repo (#1204)
## Summary

We are moving our docsite to this repo for better coordination.

## What's changed?

- The docsite codebase is now in docs/
- The docsite will replace storybook as the published GitHub Pages site
for this repo
- Storybook will now be hosted at https://docs.waveterm.dev/storybook
- A new CI workflow will validate any changes to Storybook or the
docsite
- A combined CD workflow will build and deploy Storybook and the docsite
as a single artifact
- The Build Helper workflow will now build an embedded version of the
docsite before building the app, ensuring the docsite version it has is
always the latest
2024-11-06 10:45:21 -08:00
Evan Simkowitz
7476c2f700
Install winget before installing wingetcreate in publish workflow (#1203) 2024-11-05 10:30:44 -08:00
Evan Simkowitz
a170e2c80c
Fix WinGet version bump (#1165)
Use WinGet to install `wingetcreate`, rather than using
Invoke-WebRequest
2024-10-28 22:45:13 -07:00
Evan Simkowitz
97ba467463
Make OS type required for bug reports (#1163) 2024-10-28 14:21:36 -07:00
Mike Sawka
e419b7f99e
fix builder 2 (#1150) 2024-10-26 12:18:27 -07:00
Mike Sawka
76bb374d52
add needs: runbuild (#1149) 2024-10-26 11:40:25 -07:00
Evan Simkowitz
d66380d88b
Remove release creation race in build helper (#1133)
There was a race condition in the Build Helper where if multiple runners
got to the "Create draft release" step at the same time, we could get
duplicate releases created. Now, each of the build runners will upload
the artifacts to the workflow artifact feed. Then, a single runner will
create the draft release.
2024-10-24 18:42:48 -07:00
Evan Simkowitz
2da51d2c22
Remove snapcraft install action that uses deprecated Node version (#1123) 2024-10-24 12:47:11 -07:00
Evan Simkowitz
e6f9ab7336
Fix task naming to avoid conflicts (#1122) 2024-10-24 12:36:55 -07:00
Evan Simkowitz
be8ae0ef51
Use a different action to download release (#1121) 2024-10-24 12:03:40 -07:00
Evan Simkowitz
8d79539a50
Fix bugs in electron-builder and build-helper (#1119) 2024-10-24 11:20:25 -07:00
Evan Simkowitz
3bd9249e81
Add steps to publish to Snapcraft (#1102)
Draft until our Snap package is approved for classic confinement:
https://forum.snapcraft.io/t/classic-confinement-request-for-waveterm/43562
2024-10-23 22:24:33 -07:00
Evan Simkowitz
8b2805b7fb
Add step to bump Winget package version on publish (#1103)
This will only bump the version when we publish a latest release, not a
beta one. It'll automatically create a PR to the [winget-pkgs
](https://github.com/microsoft/winget-pkgs) repo.

Draft until my New Package PR gets merged:
https://github.com/microsoft/winget-pkgs/pull/185133
2024-10-23 14:04:16 -07:00
Evan Simkowitz
fdab5eabd7
Remove extra security policy direction (#1105) 2024-10-22 18:55:44 -07:00
Evan Simkowitz
9cccc585d4
Add config to direct folks to alternative issue sources (#1104) 2024-10-22 18:52:34 -07:00
Evan Simkowitz
81a8a7f3eb
Snap support (#1095)
Adds Snap support, though I'm still waiting to hear back from the
Snapcraft team about getting our package listed.

closes #1092
2024-10-21 18:13:19 -07:00
Evan Simkowitz
6f19a3effa
Update run name for manual dispatch (#1090) 2024-10-21 12:55:24 -07:00
Evan Simkowitz
f41a844a38
Attempt to fix chrome-sandbox permissions issue on Linux (#1089)
Also allows for test runs of build-helper, which will not upload to
staging
2024-10-21 12:52:13 -07:00