-
Notifications
You must be signed in to change notification settings - Fork 171
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
Scripts -> Actions #1144
Scripts -> Actions #1144
Conversation
…nto jeff-doing-stupid-jeff-things
Not sure which IDE that is, but for VSCode at least it is in settings.json. You also may need to restart your IDE after switching branches (at least VS Code requires a restart) |
…nto jeff-doing-stupid-jeff-things
Co-authored-by: Wayne Starr <[email protected]>
Co-authored-by: Wayne Starr <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR has my unbiased approval.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
## Related Issues Related to #939 Fixes #1137, #1022 ### Backwards compatible replacement of simple `scripts` with complex `actions` - [x] Define types - [x] `package create` transparent migration - [x] `package deploy` transparent migration - [x] Introduce deprecation pattern into `src/pkg/packager` - [x] Package`Create` actions: `Before`, `After`, `Success`, `Failure` - [x] Package`Deploy` actions: `Before`, `After`, `Success`, `Failure` - [x] Package`Remove` actions: `Before`, `After`, `Success`, `Failure` ### Other refactors - [x] Expand exec to support env variables, add config struct - [x] Add common cmd defaults - [x] Add set working dir support - [x] Inject deploy-time variables as env variables for `onDeploy` - [x] Expand sha256sum function to support any generic crypto hash type Co-authored-by: Wayne Starr <[email protected]> Co-authored-by: Jon Perry <[email protected]>
Related Issues
Related to #939
Fixes #1137, #1022
Backwards compatible replacement of simple
scripts
with complexactions
package create
transparent migrationpackage deploy
transparent migrationsrc/pkg/packager
Create
actions:Before
,After
,Success
,Failure
Deploy
actions:Before
,After
,Success
,Failure
Remove
actions:Before
,After
,Success
,Failure
Other refactors
onDeploy