-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: issues with ecs-task-runner during prototyping (#22)
* fix: param names are kebab-case Prior to this change, the parameter name was in camelCase, and this casing appears to transfer over when Buildkite sets up the environment variables for the plugin. This change uses kebab case for the parameter, which is the casing Buildkite expects. In turn, this transforms in UPPER_SNAKE_CASE when the environment variables are set up. * fix: missing newline makes config and Cloudwatch lines look contiguous * fix: dereference the pointer to get the value of the exit code This change fixes a missing pointer dereference so that the exit code of the task is correctly compared, and the correct message is returned based on the comparison. * fix: missing newlines to keep logging legible * chore: task runner isn't specific to migrations Although the primary use of the task runner is for database migrations, there isn't anything specific to the code that indicates it is only capable of doing this. Hence, we will keep the name of the tasks and container generic, and leave the application up to the people who consume the plugin.
- Loading branch information
1 parent
f00405a
commit b8a0e66
Showing
3 changed files
with
10 additions
and
11 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