Skip to content

Add initial Nomad configuration for Metabase deployment#286

Open
godwiniheuwa wants to merge 1 commit into
mainfrom
feature/nomad-metabase-deploy
Open

Add initial Nomad configuration for Metabase deployment#286
godwiniheuwa wants to merge 1 commit into
mainfrom
feature/nomad-metabase-deploy

Conversation

@godwiniheuwa

Copy link
Copy Markdown

Summary
This PR introduces the initial Nomad configuration required to deploy Metabase for internal reporting. It includes a job specification that enables local deployment, with the intention of expanding this setup for production use.

Changes Introduced

  • Added Nomad job file for deploying Metabase locally.
  • Configured necessary resources (e.g., ports, task driver, image).
  • Verified local deployment and UI accessibility.

Next Steps

  • Evaluate persistent storage setup.
  • Configure environment-specific variables for production.

Reference
Internal issue: #238

Nomad Docs: https://developer.hashicorp.com/nomad

@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Health
src 65% 50%
src.api.applicant.content-types.applicant 25% 0%
src.api.applicant.controllers 100% 100%
src.api.applicant.routes 100% 100%
src.api.applicant.services 100% 100%
src.api.category.controllers 100% 100%
src.api.category.routes 100% 100%
src.api.category.services 100% 100%
src.api.comment.content-types.comment 92% 50%
src.api.comment.controllers 100% 100%
src.api.comment.routes 100% 100%
src.api.comment.services 100% 100%
src.api.dl-tal-community.controllers 100% 100%
src.api.dl-tal-community.routes 100% 100%
src.api.dl-tal-community.services 100% 100%
src.api.event.content-types.event 88% 100%
src.api.event.controllers 100% 71%
src.api.event.routes 100% 100%
src.api.event.services 100% 100%
src.api.github-repo.controllers 20% 100%
src.api.github-repo.routes 100% 100%
src.api.github-repo.services 15% 0%
src.api.google-meet.content-types.google-meet 33% 100%
src.api.google-meet.controllers 100% 100%
src.api.google-meet.routes 100% 100%
src.api.google-meet.services 100% 100%
src.api.idea-card.content-types.idea-card 100% 100%
src.api.idea-card.controllers 100% 100%
src.api.idea-card.routes 100% 100%
src.api.idea-card.services 100% 100%
src.api.interest.controllers 100% 100%
src.api.interest.routes 100% 100%
src.api.interest.services 100% 100%
src.api.like.controllers 100% 100%
src.api.like.routes 100% 100%
src.api.like.services 100% 100%
src.api.member.controllers 100% 100%
src.api.member.routes 100% 100%
src.api.member.services 100% 100%
src.api.newsletter.controllers 100% 100%
src.api.newsletter.routes 100% 100%
src.api.newsletter.services 100% 100%
src.api.notification.controllers 100% 100%
src.api.notification.policies 100% 88%
src.api.notification.routes 100% 100%
src.api.notification.services 100% 100%
src.api.opportunity.controllers 100% 100%
src.api.opportunity.routes 100% 100%
src.api.opportunity.services 100% 100%
src.api.profile.content-types.profile 12% 0%
src.api.profile.controllers 100% 100%
src.api.profile.routes 100% 100%
src.api.profile.services 100% 100%
src.api.project.controllers 100% 100%
src.api.project.routes 100% 100%
src.api.project.services 100% 100%
src.api.save-idea.controllers 100% 100%
src.api.save-idea.routes 100% 100%
src.api.save-idea.services 100% 100%
src.api.sendmail.controllers 100% 100%
src.api.sendmail.routes 100% 100%
src.api.sendmail.services 67% 100%
src.api.subscription.controllers 100% 100%
src.api.subscription.routes 100% 100%
src.api.subscription.services 100% 100%
src.api.team-membership.controllers 100% 100%
src.api.team-membership.routes 100% 100%
src.api.team-membership.services 100% 100%
src.api.user-recommendations.controllers 10% 0%
src.api.user-recommendations.routes 100% 100%
src.extensions.users-permissions 100% 100%
src.extensions.users-permissions.controllers 33% 100%
src.extensions.users-permissions.routes.content-api 100% 100%
src.extensions.users-permissions.server.bootstrap 100% 62%
src.extensions.users-permissions.server.middlewares 70% 59%
src.extensions.users-permissions.server.services 10% 0%
src.migrators 60% 50%
Summary 57% (303 / 536) 34% (52 / 153)

Comment thread types/package-lock.json

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think deploying to Nomad requires changes to the package lock.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think deploying to Nomad requires changes to the package lock.

Comment thread nomad-metabase/nomad.hcl

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is this file for?

}
}

task "metabase" {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How do we configure metabase to connect to strapi database?

@dbradham

Copy link
Copy Markdown
Contributor

Is this PR still needed? @chungthuang @godwiniheuwa

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.

3 participants