Skip to content
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

Test mac and windows executables scripting #210

Merged
merged 23 commits into from
Mar 26, 2024

Conversation

tkmcmaster and others added 19 commits March 15, 2024 14:19
* adding files to dynamically show latest
pewpew version on Toaster

* cleaning up code for lintter to pass

* refactoring code to use tags in S3

* removing files from tsconfig

* fixing lint rules

* fixing spacing as local linter didnt catch those but the build did

* missed one space

* adding tests, cleaning up files

* removing trailing spaces failing on build

* adding DS_Store - make specific file to gitignore

* updating storybook to show pewpew latest version output
- To differentiate Mac in S3, we'll use pewpew.mac as the file name.
- These constants will be used by common, agent, and controller
- The agent will now use os specific versions of the pewpew executable: pewpew (Linux), pewpew.exe (Windows), and pewpew.mac (Mac)
- Updated the README to add instructions for Mac and Windows Users on how to add an OS specific file and where
…rences

- The controller will now use os specific versions of the pewpew executable: pewpew (Linux), pewpew.exe (Windows), and pewpew.mac (Mac)
- Updated the README to add instructions for Mac and Windows Users on how to add an OS specific file(s) and where
- Removed fs and logger calls from util so it can be used by client functions
- Added default exports of common util functions and constants
- POST /pewpew tests need to run before the GET tests to make sure the data is there
- After the deletes are completed we need to put back any versions we deleted
- Symlinks do not work on Windows for compiling so we have to copy the file
- Just like the integration tests, we must wait for the unzip to release the lock before we can access the files
@tkmcmaster tkmcmaster self-assigned this Mar 25, 2024
* Added common constants for the different os executables to common

- To differentiate Mac in S3, we'll use pewpew.mac as the file name.
- These constants will be used by common, agent, and controller

* Updated the agent to remove hardcoded pewpew references

- The agent will now use os specific versions of the pewpew executable: pewpew (Linux), pewpew.exe (Windows), and pewpew.mac (Mac)
- Updated the README to add instructions for Mac and Windows Users on how to add an OS specific file and where

* Updated the controller to remove hardcoded pewpew and pewpew.zip references

- The controller will now use os specific versions of the pewpew executable: pewpew (Linux), pewpew.exe (Windows), and pewpew.mac (Mac)
- Updated the README to add instructions for Mac and Windows Users on how to add an OS specific file(s) and where

* Updated pewpew to the 0.5.13 release

* Removed deprecated fs and log calls from util

- Removed fs and logger calls from util so it can be used by client functions
- Added default exports of common util functions and constants

* Fixed issue with import from common bringing in fs into controller

* Added fixes for filtering out pre-release versions

* Fixed test that was only ignoring one pewpew executable

* Added sleep on windows to avoid race condition after unzipping files

* Fixed issue with integration tests

- POST /pewpew tests need to run before the GET tests to make sure the data is there
- After the deletes are completed we need to put back any versions we deleted

* Added fix for compiling next.js on Windows

- Symlinks do not work on Windows for compiling so we have to copy the file

* Added fix for acceptance tests on Windows

- Just like the integration tests, we must wait for the unzip to release the lock before we can access the files

* Fixed warning during Next.js build on invalid config

* Fixed security vulnerabilities

* Removed additional hard-coded latest and pewpew strings
@tkmcmaster tkmcmaster marked this pull request as ready for review March 26, 2024 18:32
* Fixed the getTags call to get the latest tags

- Unit and Integration tests were not catching the bug, fixed the tests, then fixed the code

* Cleaned up the logging of currentLatestVersion
@tkmcmaster tkmcmaster marked this pull request as draft March 26, 2024 19:50
@tkmcmaster tkmcmaster marked this pull request as ready for review March 26, 2024 19:50
@tkmcmaster tkmcmaster requested a review from a team March 26, 2024 19:52
@tkmcmaster tkmcmaster merged commit 48d31d2 into 0.6.0-scripting-dev Mar 26, 2024
2 checks passed
@tkmcmaster tkmcmaster deleted the testMacAndWindowsExecutablesScripting branch March 26, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants