-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Jobs for Product Creation, Builds, and Publishing (#1060)
* Add jobs for product creation, build, and publish * Hook into jobs * Add product creation to frontend * Delete Product from BuildEngine * Imitate correct build/publish failure output * Handle post-build artifact creation * Fix database write for artifacts * Handle special artifact types in build * Update ProductPublications in publish * Move workflow creation call to products.create Fix product validation * Update Project DateActive * Fix product form closing * Handle no available product definitions * Properly handle GOOGLE_PLAY_UPLOADED - Tighten typing of environment - Create bullmq job to get versionCode for GOOGLE_PLAY_UPLOADED, because XState won't properly handle asynchronous actions (ugh) * Add environment population functions from DWKit * Assign targets and env for build * Assign targets and env for publish * Add PWA properties to workflow definitions * Fix environment merging * remove async from workflow send why was this async in the first place??? yes, it was my fault, but still, why??? * Add missing writes to WorkflowType * Fix getWorkflowParameters with null Properties * Use transitions for Project.DateActive * Product icon in selector * Remove unneeded TODO * Investigate blank activity name at startup The activityName was sometimes showing up blank. After investigating further, I was able to narrow it down to existing just at the start of a new product. This issue was sometimes persisting when the jobs backend was incorrect. * Preserve artifact history Had been deleting previous artifacts based on logic from S1 backend. This was determined to be unneeded, as the relevant code in S1 was determined to be unreachable after talking with @chrisvire * Rename WorkflowContextBase to WorkflowInstanceContext * Fix product creation workflow options init * Create WorkflowInstance in database on create * Log artifacts in build * Fix lint errors in getWorkflowParameters * Fix null description bug * Fix check errors * Fix errors in publish job * Add close button to modal * Don't close modal when going back from store * Prevent cancel button from submitting form * Fix styling in creation form * Fix storeLanguage check in Product validation * Remove store language from UI product creation * Bump dev tsconfig for node-server to NodeNext * Remove check for 'expired' status * Switch updateProjectDateActive back Switch updateProjectDateActive back to expected functionality based on S1. I still don't fully understand under which conditions we would want to be running this. Right now I just have it to where it will execute each time a product is created, updated, or deleted. * Remove duplicate function call * Fix check errors with updateProjectDateActive * Fix background color for visibility * Add copy icon to copy project url * Add link styling to console text * Add close button to details modal * Redirect to parent project on task submission * More concise query for redirect * Remove unnecessary IDs from task display * Add background color to table header, and border to cells * Create db wrappers for workflowInstances Moved updateProjectDateActive to be handled by workflowInstances rather than products * Configure option on SortTable to handle row click Open artifact link in new tab when row is clicked. * Add noStoresAvailable message to modal * Make scope argument mandatory for get parameters * Return params and env for debugging * Rename targets and channel with "default" prefix This is for clarification when looking at the job parameters * Open console text in new tab * Include Artifacts in Synchronize Data
- Loading branch information
Showing
27 changed files
with
1,524 additions
and
202 deletions.
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
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
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
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.