Closed Savio629 closed 1 week ago
[!IMPORTANT]
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Updated existing test and implemented e2e test for docker command
--path
argument in À la Carte setup--docker
FlagREADME.md for Docker Command
stencil docker <services...> [options]
stencil do <services...> [options]
Description
Creates a docker service/container for given command.
<service>
inside docker directory<service>
Arguments
Argument | Description |
---|---|
<service> |
The name of the new project |
Options
Option | Description |
---|---|
--path [path] |
The path where the docker compose will be generated |
Note: Docker command supports multiple services at a time.
Services
Name | Alias | Description |
---|---|---|
logging |
lg |
Generates a docker service for logging |
monitoringService |
ms |
Generates a docker service for monitoring |
temporal |
tp |
Generates a docker service for temporal |
Name | Alias | Description |
---|---|---|
postgres |
pg |
Generate a docker compose for postgres |
hasura |
hs |
Generate a docker compose for hasura |
Stencil-cli
lib/schematics/nest.collection.ts
with its name, alias and description.Schematics
src/lib/docker/nameOfDockerService
src/lib/docker/files/ts/nameOfDockerService
and paste all the necessary files needed to be generated when the service is called.src/lib/docker/nameOfDockerService
by refering existing tooling setup.
src/lib/docker/nameOfDockerService
by refering existing adhoc setup.docker-compose
and .env
content inside of factory file refering existing adhoc setup.Tooling setup
stencil docker temporal
, docker/temporal
will be created.Adhoc Setup
stencil docker postgres
, thendocker-compose
, .env
and docker-start.sh
is generated/updated.minio
and fusionauth
in the docker command
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: https://github.com/SamagraX-Stencil/stencil/issues/135#event-13223410367
schematics link: https://github.com/SamagraX-Stencil/schematics/pull/10
What is the new behavior?
stencil docker <services...>
where<services>
= monitoring logging temporalDoes this PR introduce a breaking change?
Other information