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

Step fails with no error message #6

Open
DuncanTormey opened this issue Nov 28, 2023 · 0 comments
Open

Step fails with no error message #6

DuncanTormey opened this issue Nov 28, 2023 · 0 comments

Comments

@DuncanTormey
Copy link

I am using this action to run Django migration prior to deployment. It worked great the first time, but now the step is erroring out with an empty error message. I am not seeing the task show up in AWS console.

Here is the output I see:

Run muya/amazon-ecs-run-task@v1
  with:
    task-definition: /home/runner/work/_temp/task-definition--1908-YPaJWQ3ujiyu-.json
    cluster: redacted
    count: 1
    started-by: github-actions-DuncanTormey
    wait-for-finish: true
    subnets: redacted
    security-groups: redacted
    launch-type: FARGATE
  env:
    AWS_DEFAULT_REGION: redacted
    AWS_REGION: redacted
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
Warning: Ignoring property 'status' in the task definition file. This property is returned by the Amazon ECS DescribeTaskDefinition API and may be shown in the ECS console, but it is not a valid field when registering a new task definition. This field can be safely removed from your task definition file.
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
All tasks have stopped. Watch progress in the Amazon ECS console: https://console.aws.amazon.com/ecs/home?region=redacted#/clusters/redacted/tasks
Error: 

Any ideas on what the empty Error might mean? At first I thought it might be a permissions issue, but the task worked great the first time.

Thanks for the great work on this GHA, really appreciate keeping this around when AWS should have implemented it 3 years ago.

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

No branches or pull requests

1 participant