Comments (6)
@johncblandii ecspresso v2 adds --timeout
cli flag. try it!
from ecspresso.
A configuration file of ecspresso is parsed as a template.
So you can set timeout by the TIMEOUT
environment variable like the following example.
# ecspresso.yml
timeout: '{{ env `TIMEOUT` `10m` }}'
from ecspresso.
In CI, we call init
, jq
some task def changes, then call deploy
. We don't have yq
installed to edit the config.
This is why a default way would be better instead of us doing manual changes to configs in an automated scenario.
from ecspresso.
ecspresso supposes a typical use case as below,
- Run
ecspresso init
manually. Create configuration/definition files. - Modify these files to templates manually and commit to a CI repository.
- CI checkouts these files and runs
ecspresso deploy
with environment variables (defined by runtime).
I did not assume to modify definition files by jq or other tools.
I added typical use case into readme. #600
from ecspresso.
@johncblandii ecspresso's configuration file includes various elements (that are fixed by the environment, or are flexible by runtime).
This situation is confusing, but adding the --timeout
flag makes more confusion.
So, I tried to omit the timeout
element in a configuration file created by ecspresso init
command at #602.
This fix became ecspresso init
does not write timeout
. Therefore you can add any timeout: "xxx"
to the configuration file.
How about #602?
from ecspresso.
I'm fine with it being omitted, but let us supply one so we can control it in our CI/CD process without having to manipulate a file.
This is a very common CLI request. Just give us control over settings.
from ecspresso.
Related Issues (20)
- init multiple services HOT 1
- When the deployment controller type is set to CODE_DEPLOY, the wait for ECS service creation does not complete HOT 8
- cannot parse jsonnet int field with env or tfstate syntax HOT 2
- register --output flag does not work.
- SSO configuration issue
- `ecspress exec` shows STOPPED tasks HOT 2
- `ecspresso verify` cannot validate secret value when using JSON keys in AWS Secrets Manager
- `ecspresso run` doesn't fail when ECS task failed to start HOT 3
- Fix help messages of boolean options. HOT 1
- Supports awslogs-create-group: "true" on verify.
- want update Tags of ECS Services
- GitHub Actions `kayak/ecspresso@v1` failed due to v1 missing in the released list URL HOT 2
- Encountered `panic: runtime error: invalid memory address or nil pointer dereference` HOT 1
- The order of the containers generated at initialization in ecs-task-def.json is random HOT 2
- Add the installation guide with aqua to the document
- Feature Request: Support for Key-Value Pair Extraction from AWS Secrets Manager in ecspresso HOT 2
- Unable to execute 'verify' command with private ECR image when the regions of the ECS cluster and ECR are different HOT 1
- Allow specifying a revision when executing the deploy command HOT 1
- verify subcommand should use ssm:GetParameters to simulate actual ECS' behavior HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecspresso.