-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: madara orchestrator #6
base: main
Are you sure you want to change the base?
Conversation
9199445
to
d0c541e
Compare
args = apply_default(args) | ||
ports = {} | ||
ports["http"] = PortSpec( | ||
number=args["number"], application_protocol="http", wait=None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
args["number"]?
"SQS_SNOS_JOB_PROCESSING_QUEUE_URL": "http://sqs.{}/000000000000/madara_orchestrator_snos_job_processing_queue".format( | ||
aws_endpoint | ||
), | ||
"SQS_SNOS_JOB_VERIFICATION_QUEUE_URL": "http://sqs.us-east-1.localhost.localstack.cloud:4566/000000000000/madara_orchestrator_snos_job_verification_queue".format( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sqs.us-east-1.localhost.localstack.cloud
env_vars={ | ||
"ME_CONFIG_MONGODB_SERVER": "mongo", | ||
"ME_CONFIG_MONGODB_PORT": "{}".format(mongo_port), | ||
"ME_CONFIG_MONGODB_ENABLE_ADMIN": "False", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
False?
image=args["image"], | ||
ports=ports, | ||
env_vars={ | ||
"ME_CONFIG_MONGODB_SERVER": "mongo", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix this
d0c541e
to
ad7b88e
Compare
@@ -60,6 +62,15 @@ def run( | |||
else: | |||
plan.print("Skipping the deployment of madara_explorer") | |||
|
|||
# Deploy Madara Orchestrator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix line 23
ports=ports, | ||
env_vars={ | ||
"DEFAULT_REGION": "us-east-1", | ||
"AWS_ACCESS_KEY_ID": "test", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
configurable keys
env_vars={ | ||
"ME_CONFIG_MONGODB_SERVER": mongo_service.name, | ||
"ME_CONFIG_MONGODB_PORT": "{}".format(mongo_port), | ||
"ME_CONFIG_MONGODB_ENABLE_ADMIN": "True", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This value should be set to true to enable access to the Mongo Express site.
|
||
MADARA_ENV_DBS = { | ||
"madara_orchestrator_db": { | ||
"name": "madara_orchestrator_db", | ||
"user": "madara_orchestrator_user", | ||
"password": "redacted", | ||
} | ||
} | ||
|
||
DATABASES = MADARA_ENV_DBS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
ad7b88e
to
487903b
Compare
487903b
to
0520ef1
Compare
Description
Deploy the Madara orchestrator module and its dependencies, and enable the ability to turn the Madara orchestrator on or off.
References (if applicable)
#4