Skip to content
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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

Tranduy1dol
Copy link
Member

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

@Tranduy1dol Tranduy1dol self-assigned this Oct 18, 2024
@Tranduy1dol Tranduy1dol linked an issue Oct 18, 2024 that may be closed by this pull request
3 tasks
@Tranduy1dol Tranduy1dol force-pushed the feat/madara-orchestrator branch 5 times, most recently from 9199445 to d0c541e Compare October 23, 2024 09:51
args = apply_default(args)
ports = {}
ports["http"] = PortSpec(
number=args["number"], application_protocol="http", wait=None
Copy link
Contributor

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(
Copy link
Contributor

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",
Copy link
Contributor

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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix this

@@ -60,6 +62,15 @@ def run(
else:
plan.print("Skipping the deployment of madara_explorer")

# Deploy Madara Orchestrator
Copy link
Contributor

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",
Copy link
Contributor

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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True ?

Copy link
Member Author

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.

Comment on lines +11 to +20

MADARA_ENV_DBS = {
"madara_orchestrator_db": {
"name": "madara_orchestrator_db",
"user": "madara_orchestrator_user",
"password": "redacted",
}
}

DATABASES = MADARA_ENV_DBS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding Madara Orchestrator
2 participants