copilot-cli: Release v0.4.0
Bug fixes
- Environment variable strings in the manifests are now escaped (#1322)
- Test command values in the pipeline manifests are now escaped (#1327)
- The
svc logs
command does not skip log events anymore when you have multiple tasks running (#1328) - GitHub URL input for
pipeline init
now works on Windows (#1326) - Color only error strings for
svc logs
(#1350)
Features and enhancements
-
Support manual approvals in pipeline manifests (#1273)
You can now addrequires_approval: true
topipeline.yml
to add a manual approval button to your pipeline stage. -
Enable filtering service logs on particular task IDs (#1334)
Thesvc logs
command now supports a--tasks
flag to filter on task IDs. -
Support autoscaling for services (#1355)
Add a new option to service manifests to do automatic scaling of your services with target scaling policies.
You can now update thecount
field in service manifests from a number to the following map to enable autoscaling.count: range: 1-10 # Specify a range for how many tasks you'd like to run in your service. cpu_percentage: 70 # To scale on average CPU. memory_percentage: 80 # Or, to scale on average Memory.
During deployments, Copilot maintains your desired count while autoscaling is active.
-
Display autoscaling alarms when running
svc status
(#1384) -
Prompt for Dockerfile path if we cannot detect it in your git repository (#1341)
-
Support sticky sessions for load balanced web services (#1378)
Add a newstickiness: true
option under thehttp
field for load balanced web services to enable sticky sessions.
Contributions
Thank you so much for the contributions 🙏 ❤️
@git823 (#1273, #1305, #1344, #1378)
@efimenkop (#1326)
@corykitchens (#1350)