veezor / maestro Goto Github PK
View Code? Open in Web Editor NEWAWS CodeBuild Cloud Native Buildpacks Docker Image for Pack CLI
AWS CodeBuild Cloud Native Buildpacks Docker Image for Pack CLI
#project.toml
[project]
id = "com.meu.site"
name = "site"
version = "1.0"
[build]
builder = "heroku/buildpacks:18"
[[build.buildpacks]]
uri = "heroku/nodejs"
[[build.buildpacks]]
uri = "heroku/ruby"
[[build.buildpacks]]
uri = "heroku/procfile"
#Procfile
web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb
jobs: bundle exec sidekiq -C config/sidekiq.yml
console: bundle exec unicorn -p $PORT -c ./config/unicorn.rb
improve the verification of cache variables, don't create and clear cache only if the Codebuild variables value is true.
Currently pack build
is hard coded to a --pull-policy if-not-present
flag and that would eventually prevent downloading a newer buildpacksio/lyfecycle
image when available. While this behavior is useful to expedite builds, if there is a need to update it we currently must remove the image from ECR which is not ideal. Adjusting this flag to follow MAESTRO_NO_CACHE
environment variable would allow end users to benefit from it.
Check the syntax of the ECS_SERVICE_TASK_PROCESSES variable that is used in the codebuild. If possible, issue an alert to warn the user that it is wrong and it will perform the default configuration for it.
Implement the feature to create more than one web service on ECS cluster for a workload with it's own target group and ALB (It can be a shared ALB too).
Revoke/disable access through AWS CLI to other tasks there are not "Console"
Create a single task for "Console" (created with a command and auto-killed when user exits)
We need a comprehensive set of defaults for each environment variable that makes sense. For instance those that have true
or false
as options and maybe others that could be set to a default in case they are not explicitly set. @HaseoBoss could you please come up with a draft PR of the docs with those defaults considering the way which the majority of our workloads are currently set?
When AWS credentials exist in secrets manager, it override the AWS Role permissions and try to use AWS credentials, and this broke the build.
Scheduledtask are set through config file added to repository using the following format:
name rate(## minutes)/(cron expression) command
To enable or disable a task it should accept the following format:
name enable/disable rate(## minutes)/(cron expression) command
If a task is removed from file this task must be removed from eventbridge/ecs.
It's possible implement a feature, utilizing a workflow file, to build a "pre-image" when a pull request is open for test the made changes?
Allow when the user so needs to make the container root filesystem read-only. Leave the read and write option as default.
Parameter can be found here: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-readonlyrootfilesystem
In some specific cases, use {4096:8192}
size isn't a good choice. It's possible set a different size to an individual a task?
For example, change this parameter on config/run_tasks.conf:
ss_my_simple_task{512:1024} rate(20 minutes) bundle exec rake simple_task
ss_my_heavy_task{4096:8192} rate(20 minutes) bundle exec rake heay_task
Add to documentation information about variables that can be used by the workload like AWS_ACCESS_KEY and SECRET_ACCESS_KEY.
Even if I set the auto scaling for memory metric in the envs as described in readme it's not created in the service as expected.
Allow modifying circuit breaker behavior during build, so that the default behavior (which currently is enable=true,rollback=true) can be changed to other possible settings.
Running a new build parameters modified directly on ECS service for auto scaling policies are being overwritten with default values.
E.g.: Scale-out/in coodown period is always set to 300.
If there is an AS policy manually created build fails with the following error:
"An error occurred (ValidationException) when calling the PutScalingPolicy operation: Only one TargetTrackingScaling policy for a given metric specification is allowed."
Is it the expected behavior?
Implement and use VPC endpoint on this services, ECR, ECS and cloudwatch to reduce cost with traffic of data.
Here some documentation:
https://docs.aws.amazon.com/pt_br/AmazonECR/latest/userguide/vpc-endpoints.html
In some cases it is required that one or more env variable set on secrets manager be override for a service task definition. This can be really useful for web services sharding strategy to specify specific parameters for each sharding (E.g., separate shardings as app in New Relic or other monitoring system).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.