Commit Graph

52 Commits

Author SHA1 Message Date
sawka
b2493880c7 fix another instance of staging-legacy 2024-09-18 18:41:29 -07:00
Ian Jennings
2c3dab6ee9
upgrade to v3.9.0 () 2024-08-27 18:13:38 -07:00
Evan Simkowitz
b0f8de5331
Forgot one env var for the arm builds () 2024-08-07 11:44:53 -07:00
Henrique Goncalves
3c81eae8af
Add Linux arm64 build ()
Closes 

---------

Co-authored-by: Evan Simkowitz <esimkowitz@users.noreply.github.com>
2024-08-07 11:42:37 -07:00
Ian Jennings
d0c0a7fd96
upgrade to 3.6.5 () 2024-07-22 18:10:38 -05:00
Ian Jennings
3d72e97831
WIP: TestDriver: Update to v3 ()
**Action Required:**
We've moved to an authenticated system and you must now provide an
authentication key within our script.

1. Create an account or log into https://app.dashcam.io. 
2. Copy the API key from https://app.dashcam.io/team. You must be the
team "owner"
3. Add the API key as `DASHCAM_API_KEY` within GitHub actions by
following the guide
[here](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions).

This PR moves to our v3 system which includes

- Faster and more stable tests. Notice we're using a `yml` file to guide
the test rather than open prompts. This means the AI will follow the
same steps every time.
- Smarter AI. Better text matching, and more commands. We optimized how
the AI matches text and images, making it way faster and more
fault-tolerant.
- Better summaries. The AI will summarize the full test execution as
well as errors
- Assertions. We can now explicitly ask the AI to verify things on
screen
- Embedded tests. We can nest scripts for reusable components.

---------

Co-authored-by: orliesaurus <orliesaurus@users.noreply.github.com>
2024-07-02 14:38:05 -05:00
orliesaurus
cd15beba26
fix: yml formatting issues ()
looks like there were some issues to the yml format before that caused
the workflow to not run.
2024-05-21 16:02:30 -07:00
Ian Jennings
d07068c09d
TestDriver v2.12.12 () 2024-05-08 11:10:17 -07:00
Ian Jennings
2772c76728
Upgrade TestDriver to v2.12.5 () 2024-05-06 14:17:25 -07:00
Evan Simkowitz
67544c9a0f
Fix Build Helper for Yarn Modern ()
I am removing the Yarn cache from our Build Helper. The
actions/node-setup cache option is not compatible with Yarn Modern. With
Yarn Modern, the `yarn install` command that sets up our
project-specific yarn config will also install all the module
dependencies, meaning we don't need a separate call to resolve these.
Altogether, even without the cache, it only takes 21s for Yarn Modern to
install and resolve dependencies.
2024-05-02 17:53:47 -07:00
orliesaurus
5afe233381
Introduce corepack dependency ()
This Pull Request introduces the corepack dependency, necessary for the
Testdriver infrastructure to run.

## Rationale:

Corepack enables faster installations and is required for `yarn`
By default, corepack is not installed on the testdriver infrastructure,
necessitating this addition.

## Benefits:

Allows better handling of `yarn` installation.

## Testing:
Local testing has confirmed successful corepack installation and
functionality within the testdriver infrastructure.
2024-05-02 16:08:31 -07:00
Evan Simkowitz
cd855762cd
Migrate package manager to Yarn Modern ()
We were using Yarn Classic. While this is not deprecated, Yarn is moving
in a different direction with Yarn Modern (read more
[here](https://yarnpkg.com/migration/overview)) and we should align with
that. The migration mainly requires rebuilding our lockfile. We will
still use `node_modules` for now, though in the future we may want to
adopt the new [Plug'n'Play model](https://yarnpkg.com/features/pnp).
2024-05-02 14:13:32 -07:00
Ian Jennings
397d4d7369
Update TestDriver to v2.11.2 () 2024-05-02 12:54:45 -07:00
Ian Jennings
8cea209823
TestDriver.ai: Validate that overlapping text does not appear in UI () 2024-04-30 16:43:27 -07:00
Ian Jennings
c53e0a99f6
TestDriver.ai: Add comments to PRs () 2024-04-30 12:37:22 -07:00
Ian Jennings
22c5d224bd
TestDriver: Update to 2.9.4 ()
* update to 2.9.4

* move prerun to action file

* update v

* migrate prompt

* bunk update to trigger re-run
2024-04-26 11:11:30 -07:00
Evan Simkowitz
c546464751
Add scripthaus to path for Build Helper workflow () 2024-03-14 12:23:35 -07:00
Evan Simkowitz
fd05e11d3a
Fix CodeQL checks for Go ()
* Fix CodeQL checks for Go

* add scripthaus checkout

* fix

* fix

* add scripthaus to path

* test go setup before init
2024-03-14 12:12:51 -07:00
Evan Simkowitz
358ffb6d50
Add pacman artifact and update product tagline ()
This adds support for Arch Linux via pacman. It also updates the product tagline in package.json and the "About" modal. It also removes the unused "Help" menu and updates the copyright year in About and fixes the window icon display on Linux.
2024-03-08 14:05:21 -08:00
Evan Simkowitz
3a119ae575
Update go version in build helper () 2024-03-06 17:41:01 -08:00
Evan Simkowitz
72a5d18d0d
remove upload step () 2024-03-06 17:22:43 -08:00
Evan Simkowitz
33fc3518c0
Sign and notarize directly in build-helper ()
* Sign and notarize in CI

* add dmg

* remove flag

* fix env var

* add team id

* conditionally set apple specific env vars

* publish to a staging location

* upload unzipped

* add script to publish to staging, update publish url

* turn off autodiscovery again

* update scripts

* deprecate old method

* move stuff

* remove autodiscovery
2024-03-06 16:07:48 -08:00
Evan Simkowitz
4ef921bdd1
Support Linux packaging via electron-builder ()
* Add linux makers

* missed some

* remove eu-strip

* blah

* add description

* remove v from version

* add exec name

* use bin

* add bin to both

* test flatpak

* test adding dev dependencies

* remove flatpak for now

* add command to flatten directory structure

* update package info

* save rpm info

* save work

* add bin to packagerConfig

* save work

* okay let's see what happens

* iterate array

* test more

* remove large

* test

* test

* remove linux arm

* test addl targets

* add quiet to zip

* revert dir flatten

* remove pacman

* add s3 bucket to electron-builder config

* make dir

* only copy artifacts

* don't merge

* zip recurse

* blah

* replace with electronupdater

* make generic

* fix

* fix stuff

* Update build-helper.yml

* test fix

* fix path

* remove tree

* messed up comment

* remove touch

* add platform name to artifact

* remove license

* remove forge

* cleanup builder config

* switch artifact name order

* Remove darwin restriction on autoupdate

* try adding back pacman

* fix license

* remove pacman again

* rewrite scripts

* add binary paths to builder

* clean up

* Update scripts

* update interval and readme

* remove flatpak and snap dependencies for now

* upload with a wildcard

* fix paths for addl binaries

* add back blockmap

* update release path

* add newline

* remove forge config

* 2 small fixes - remove double cd for waveshell building, and remove GOARCH for wavesrv binary in dev mode
2024-03-04 22:03:53 -08:00
Ian Jennings
b8b4dc20f5
add initial testdriver config ()
* add initial testdriver config

* remove slack
2024-02-27 19:38:16 -08:00
Evan Simkowitz
f85067998f
Get version for build-universal from the build-helper output, use package.json for all versioning ()
* store version for build in txt file

* get version from version.txt

* remove quotes

* Use version.js for Go version too

* test

* test

* simplify things more

* rename zips to consistent waveterm name

* remove newline

* always use v

* always use Wave rather than waveterm
2024-02-23 17:44:00 -08:00
Evan Simkowitz
7e21b80af0
Update to latest checkout action in CodeQL pipeline () 2024-02-23 16:43:32 -08:00
Evan Simkowitz
0c3766c67b
Set build version programmatically in build-helper, fix broken build-universal script ()
* Set build version programmatically in build-helper

* remove env var definition

* fix paths in helper scripts

* missing import

* missed some more relative paths
2024-02-23 15:14:25 -08:00
Evan Simkowitz
b7539a26c7
Make build-helper more generic ()
* Make build-helper more generic

* fix

* fix brew

* remove brew requirement since the instructions are the same

* oops

* fix

* simplify matrix
2024-02-22 18:24:28 -08:00
Evan Simkowitz
4aa3309c83
Update to latest Go action in build-helper
* Update to latest Go action in build-helper
2024-02-22 16:31:49 -08:00
sawka
ea3f744d93 bump to v0.6.1 2024-01-29 09:39:36 -08:00
sawka
6ea70ff788 build-universal updates to work with new aws s3 version of build-helper 2024-01-17 20:04:27 -08:00
sawka
f8e2aadf98 update build-helper (quotes) 2024-01-17 19:49:00 -08:00
sawka
f21a9e2aa1 update to build-helper (debug aws) 2024-01-17 18:32:17 -08:00
sawka
13d3d3a180 upload build-helper builds to aws s3 as github artifacts are painfully slow to download 2024-01-17 17:51:50 -08:00
sawka
781ed2e57e updated build-helper.yml 2024-01-17 14:52:49 -08:00
sawka
a7afefc340 update build-helper.yml (single artifact with all builds) 2024-01-16 22:35:17 -08:00
sawka
fc12dcac2f update build-helper.yml (use local scripthaus) 2024-01-16 22:05:45 -08:00
sawka
aeacfb094e update build-helper.yml (go workspace) 2024-01-16 22:02:20 -08:00
sawka
14da9b76e0 update build-helper.yml 2024-01-16 21:56:40 -08:00
sawka
2f32d89b85 update build-helper.yml 2024-01-16 21:47:05 -08:00
Evan Simkowitz
2e3e07d24b
Update to latest CodeQL workflow actions () 2024-01-16 21:34:22 -08:00
sawka
e2d0664901 split workflow steps 2024-01-16 21:27:49 -08:00
sawka
5638e7857b add go mod download 2024-01-16 21:09:02 -08:00
sawka
6c9dbabd56 reorder job steps 2024-01-16 21:01:36 -08:00
sawka
13cd9dfe50 bump to version v0.6.0, testing linux in build workflow 2024-01-16 20:37:46 -08:00
sawka
0bb80b6a74 run both mac builds 2024-01-08 00:35:38 -08:00
sawka
631a0867aa fix go cache dependency 2024-01-08 00:28:54 -08:00
sawka
5bd7f73746 updates to build workflow 2024-01-08 00:12:07 -08:00
sawka
ed1dff320d upload build artifact 2024-01-07 23:58:46 -08:00
Mike Sawka
7f91efc314
working on a macos x86 build workflow ()
must check in to main to test
2024-01-07 23:48:10 -08:00